473,322 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Running MS Access Application From VB.net 2003

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
2 1745
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
* "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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Jonathan Heath | last post by:
Hi all, I have created an ASP script that enters data into an Access Database. My problem is that I'd like this script to run when the computer is shutdown or the user logs off. I think...
5
by: Jesper Carstensen | last post by:
We are running an ASP application. That is fairly simple. It selects from one table (15.000 records), and updates into another table. But when we execute the ASP script, it reports the...
10
by: ThunderMusic | last post by:
Hi, How can I get if the Windows running is a server version? Is there a property somewhere that can tell me if the Windows version is a server edition (including server, advanced server, web...
1
by: Stinky Pete | last post by:
Hi, I've got two users needing to look at the same database, but both are running differnent versions of access. One is running running Win 98 / Access 97 and the other is running Win XP /...
12
by: John | last post by:
Hi When I try to run access 97 I get the message 'Microsoft Access couldn't find file c:\windows\system32\system.mdw'. When I try to create the system.mdw file using workgroup administrator, I...
10
by: Mandy | last post by:
I have a command line tool that I would like to run from my .NET web application using System.Diagnostics.ProcessStartInfo. I run cmd.exe with this and then pass the command to run the tool as an...
16
by: TB | last post by:
Hi all: If you think that the following comments are absolute amateurish, then please bear with me, or simply skip this thread. A couple of months back I made the decision to initiate a...
8
by: Nate | last post by:
I am running on Window 2003. I have a website built in ASP.NET 2.0. I need to have a Virtual Directory running an application in 1.1. I have configured each in its own Application Pool. The 1.1...
0
by: hermbagger | last post by:
I wrote a windows application in C# (using visual studio 2003) which I am running as an executable on a Windows Server 2003 machine. The application runs smoothly for days. Then out of nowhere,...
1
by: hermbagger | last post by:
I wrote a windows application in C# (using visual studio 2003) which I am running as an executable on a Windows Server 2003 machine. The application runs smoothly for days. Then out of nowhere,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.