why does the acadApp need to be visible?
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
why does the acadApp need to be visible?

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





Posted: Tue May 03, 2005 6:01 am    Post subject: why does the acadApp need to be visible? Reply with quote

I'm wondering if there is a reason for why when manipulating the AutoCAD
application via COM is it necessary to have it's window be visible:

acadApp.Visible = true;

If it is not visible this ocurrs:

An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in ConvertDWG.exe
Additional information: AutoCAD main window is invisible

Any insight:

Thanks,

Alex

Back to top
Wyatt Earp
Guest





Posted: Sun May 08, 2005 4:10 pm    Post subject: Re: why does the acadApp need to be visible? Reply with quote

What API call does the exception occur on? I have done quite a bit of
stuff with c# (looks like the language you are using) without any bit
of AutoCAD visible (though I did have my form visible).
Back to top
 
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