Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: ChengTing Tsai
  Where is ChengTing Tsai?
 Kaohsiung
 Taiwan
 ChengTing Tsai
 Tags
Subject: AutoCAD
Thread ID: 299138 Message ID: 299138 # Views: 36 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Other
Date: Tuesday, March 22, 2011 4:57:43 AM         
   


Hi VFP Experts ~~

I use the code to check AutoCAD installed in computer or not.
If (File("c:\Program Files\AutoCAD R14\acad.exe");
		Or File("c:\Program Files\AutoCAD LT 2000\aclt.exe");
		Or File("c:\Program Files\AutoCAD LT 2006\acLT.exe"))
		
	MESSAGEBOX("YES")
ELSE
	MESSAGEBOX("NO")
ENDIF 


Is there smart way to check it?
I don't want to key all version in code.

Thanks in advance.




COMPLETE THREAD

Tip: click here to scan for Windows Registry Errors and Optimize PC performance
AutoCAD Posted by ChengTing Tsai @ 3/22/2011 4:57:43 AM
RE: AutoCAD Posted by Jun Tangunan @ 3/22/2011 6:25:06 AM
RE: AutoCAD Posted by Yousfi Benameur @ 3/22/2011 10:48:23 AM
RE: AutoCAD Posted by Mike Gagnon @ 3/22/2011 11:00:29 AM
RE: AutoCAD Posted by Yousfi Benameur @ 3/22/2011 11:10:44 AM