AboutScott Cook Expertise I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!
Experience Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com.
PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.
Question I want to launch an access database program .mdb or .mde file from a pop-up dialog I've create in LISP (AutoCAD 2002). I can open access.exe and I've been able to open a specific word document using the startapp command. However I can't seem to get it to work on opening an access database. Any ideas you may have would be appreciated. The database is a MS Access 2000 database. I'm running Windows 2000.
Answer I've seen this before, not with access but a different app we were working with.
I think we did something like this:
(command "shell" "fullpath_to_program.exe fullpath_to_file")
whatever the method, I think the trick was to put a space between the program and filename to open - not as a seperate argument.
try whatever you are wanting to do at a dos command line first to make sure the program accepts arguments like you expect.