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

Opening a new instance (Shell) of Extra from Access

Status
Not open for further replies.

CautionMP

Programmer
Dec 11, 2001
1,516
US
Du2good,
[tt]Shell("C:\Program Files\E!PC\extra.exe C:\Program Files\e!pc\SESSIONS\somesession.EDP")[/tt]
Where the first path is the executable Extra and the second path is a valid session (*.edp)


The usage in a funtion or sub would be
Code:
Dim dblExtra as Double
dblExtra = Shell("C:\Program Files\E!PC\extra.exe C:\Program Files\e!pc\SESSIONS\S0400-1.EDP")

The assignment to [tt]dblExtra[/tt] will allow two things:[ol][li]Code execution stops until Extra is up and running[/li][li]You can check the value of dblExtra to see if you had sucess before continuing (see Shell() in help for return values)[/li][/ol]

Hope this helps,
CMP

Instant programmer, just add coffee.
 
Thanks CMP

That appears to be pretty straitforward.
I think I'll be able to use that easily.

Thank you
dbw
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top