Open the Database w/o the startup form via VB.NET

G

Guest

Hello everyone,

Am working on a project which as the following VB.NET code:

Sub OpenAccess()

Dim oAccess As Access.Application

dbPath = txtPath.Text
oAccess = New Access.ApplicationClass()
oAccess.OpenCurrentDatabase(dbPath)
…………
…………
End Sub

When running the above code the Access application is shown in the Taskbar
only when the database has a startup form otherwise the Access apps does not
show and the code runs fine.

Is there a way to open the Access database via .net code so that it is shown
hidden, just like it does for the database that does not have a startup form.

Regards
Claton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top