Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alias' In Directory

Status
Not open for further replies.

bobsmallwood

Programmer
Aug 9, 2001
38
0
0
US
With the help of Tek-Tips users I've successfully developed Parodox button code that launches Excel. On our network we have different versions of Miscrosoft Office so that code works when the path is c:\Program Files\Micorsoft Officer\Office 10 (as programed) on those computers with that version but not on those that have Office 11. It's probably not a good idea to change the directories that are Office 11 to 10. What does anyone recommend on how to work around this so a single button program will work with all. If this involves creating some kind of alias, how would I do that and how would I represent that in the execute command in my button program.
 
Use the API call that launches the default program for the type of file, rather than trying to figure out every users' install path.

Search here or google for shellexecute() or shellexecuteA()

Tony McGuire
"It's not about having enough time. It's about priorities.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top