By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,310 Members | 1,466 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,310 IT Pros & Developers. It's quick & easy.

Running MS Access Application From VB.net 2003

P: n/a
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...

@
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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..

Nov 20 '05 #2

P: n/a
* "Atley" <at*****@homtmail.com> scripsit:
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)
..
..
..
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.