Running external app

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

How can I run a vb.net exe app from within access, while passing a parameter
to the vb.net app?

Thanks

Regards
 
take a look at the Shell command.

Might also want to search the newsgroup on that command. The challenge is
always building the string with the quotes in the right places.
 
John said:
Hi

How can I run a vb.net exe app from within access, while passing a
parameter to the vb.net app?

You can run any registered file using the ShellExecute api:

http://www.mvps.org/access/api/api0018.htm

If you can use automation, you can pass the parameter from VBA. If not, the
vb.net app will need to pull the parameter from an Access table or query.
 
keep your parameters in the database ;)

I prefer SQL Server because it is a natively supported database for
Access, VB6, VB.net, etc
 

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

Similar Threads

Running an executable 1
Talking to a .net app 9
Converting to vb/vb.net 2
Access License with VB.Net Apps 1
Shared acces in MS Access mdb's 8
Running exe 2
What are these please? 2
Exiting app with a code 1

Back
Top