Launch a VB.Net app from its shortcut from an Access mdb?

R

Rich

I have a VB2005 app that I deploy using the "Click Once" deployment feature
of VS2005. Now I need to be able to start/Launch the VB2005 app from an
Access mdb.

Using the Process object, I can do this in a VB2005 app to launch another
..Net app that I have deployed using "Click Once"

Dim p1 As Process = System.Diagnostics.Process.Start("C:\Documents and
settings\paulac\start menu\programs\Publisher's
Assistance\vb1proj2005.appref-ms")

I need to be able to do something like this from Access. Any suggestions
appreciated. I tried Shell, but that requires an exe file.

Thanks,
Rich
 
R

Rich

I have been able to launch the .net app from the command line like this:

CMD /C "C:\Documents and Settings\paulac\Start Menu\Programs\Publisher's
Assistance\SubscriberDataEntry.appref-ms"

and then store this in a .bat file and use Shell to run .bat

The only issue here is that I have to create the .bat file at runtime
because Click Once will install in the User's directory and not the All Users
directory. So I have to see who the user is and then create the .bat file.

Does anyone know how to install an app that has been deployed from "Click
Once" to the All Users directory (in Documents and settings)?
 

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