A little VB help please

Termnl

Junior Member
Nov 12, 2002
5
0
0
Im creating a set of documentation for users at work, and i need to simplify things down to a VERY non-geeky level. Since these guys dont understand much, i want to create a DesktopX environment with JUST the word documentation listed and a button inside the document to open the application that the doc is for.

So the question is, what is the syntax to call an application to be run. I have the button working fine, im just a bit out of touch on the other. It seems like it would just be a simple, 3 line module. Thx.
 

bunker

Lifer
Apr 23, 2001
10,572
0
71
In the onClick event of the button use the following:

Call Shell("word.exe")

Simple as that as long as the system knows where word is. Otherwise you'll have to use the full path name of the executable. If these are standard corporate machines it will be running on I would assume the installations are standard so you could use the full path name.