Running MS Access Application From VB.net 2003

  • Thread starter Thread starter Atley
  • Start date Start date
A

Atley

What is the best way to run the following file:

\\myAppSvr\MyShare\MyFolder\MyAccessDBApp.mdb

from my VB.net 2003 App?

I tried Shell, but I keep getting a 'File Not Found Error' even though the
file exist and if I debug.write the path and then copy it into the Run on
the Start Menu, it runs fine.

Thanks for the help...

@
 
Tr

Dim p As New Proces
p.Start("\\myAppSvr\MyShare\MyFolder\MyAccessDBApp.mdb"


----- Atley wrote: ----

What is the best way to run the following file

\\myAppSvr\MyShare\MyFolder\MyAccessDBApp.md

from my VB.net 2003 App

I tried Shell, but I keep getting a 'File Not Found Error' even though th
file exist and if I debug.write the path and then copy it into the Run o
the Start Menu, it runs fine

Thanks for the help..
 
* "Atley said:
What is the best way to run the following file:

\\myAppSvr\MyShare\MyFolder\MyAccessDBApp.mdb

from my VB.net 2003 App?

I tried Shell, but I keep getting a 'File Not Found Error' even though the
file exist and if I debug.write the path and then copy it into the Run on
the Start Menu, it runs fine.

Try this:

Opening a file:

\\\
Imports System.Diagnostics

..
..
..
Dim psi As New ProcessStartInfo()
psi.UseShellExecute = True
psi.FileName = "C:\bla.html"
Process.Start(psi)
..
..
..
///
 
Back
Top