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

Access 2000 and Access 2002 Call Shell

Status
Not open for further replies.

JesseH

MIS
Aug 9, 2001
63
US
We have the code(below) that works in Access 2000. When we try to execute in Access 2002 we can get an error "Expected Expression".

Any ideas?

Thanks In Advance
Jesse


Dim MDString As String
MDString = "cmd.exe /c \\Drawing\d\Progra~1\AutoCA~1\aclt.exe \\drawing\d\acadwork\37075.dwg /b \\Drawing\D\ACAD.scr"
Call Shell(MDString, 0)
 
I dunno for sure, but when I use shell, I just put Shell ("Blah"), and not the Call.

This is in 2000, so maybe same works for 2002.

ChaZ

"When religion and politics ride in the same cart...the whirlwind follows."
Frank Herbert
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top