Too slow VB6
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Too slow VB6

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
NYacad



Joined: 23 Aug 2005
Posts: 2

Posted: Tue Sep 20, 2005 3:07 am    Post subject: Too slow VB6 Reply with quote

Does anybody know how to improve VB6 performance in communications with AutoCAD? The problem: the same program written first in ACAD VBA and transferred then in standing alone VB6 works about 3 to 5 times slower. At the same time communications of MS Office applications with AutoCAD (e.g. MS Access) are not bad (fast).
To connect VB or other application to AutoCAD I’m using the declarations and function:

Public acadapp As AcadApplication
Public ACADDOC As AcadDocument

Function CCACAD1()
Set acadapp = GetObject(, "Autocad.Application")
Set ACADDOC = acadapp.ActiveDocument

AppActivate acadapp.Caption
End Function

Alex Borodulin


_________________
Alex Borodulin
www.nyacad.com
alex@nyacad.com
Back to top
View user's profile Send private message Send e-mail
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB