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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing a program with Paramters

Status
Not open for further replies.

tuccokeith

Technical User
Dec 11, 2002
58
US
Hello,

I want use a command button in Word to execute a FoxPro program with parameters.

What would be the correct syntax?

In dos the parameter is:

s:\datadi~1\DEV>datadictionary+sainfo.dbf
 
This should really be posted in a VBA forum, but if I remeber you can use SHELL in VBA. So the command would be.

SHELL "s:\datadi~1\DEV>datadictionary+sainfo.dbf" Craig, mailto:sander@cogeco.ca

Si hoc legere scis, nimis eruditionis habes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top