AllExperts > AutoCAD 
Search      
AutoCAD
Volunteer
Answers to thousands of questions
 Home · More AutoCAD Questions · Answer Library  · Encyclopedia ·
More AutoCAD Answers
Question Library

Ask a question about AutoCAD
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Scott 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.
 
   

You are here:  Experts > Computing/Technology > Computer-Aided Design > AutoCAD > Launch Access DB from ACcad with LISP

AutoCAD - Launch Access DB from ACcad with LISP


Expert: Scott Cook - 2/28/2006

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.


Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.