Switch to - Retry

Switch to - Retry

Anonymous
Not applicable
368 Views
3 Replies
Message 1 of 4

Switch to - Retry

Anonymous
Not applicable
Hi,
at a certain point of my application, I ask the user to click on the open
AutoCAD document to select two points of a line.
Well, when the user tries to click on the document, it appears the message:

Component request pending...An action cannot be completed,
because the component Draw.dwg is not responding.
Choose "Switch to" to activate the component and correct the
problem.
Switch to Retry

How can I solve this problem?

Thanks in advance


Emanuele
0 Likes
369 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
why not just use the "active drawing" ??

Jaime


Marco wrote in message
news:F9C29AD1BF3CC9D0A23C35DEFC6C16C4@in.WebX.maYIadrTaRb...
> Hi,
> at a certain point of my application, I ask the user to click on the open
> AutoCAD document to select two points of a line.
> Well, when the user tries to click on the document, it appears the
message:
>
> Component request pending...An action cannot be completed,
> because the component Draw.dwg is not responding.
> Choose "Switch to" to activate the component and correct the
> problem.
> Switch to Retry
>
> How can I solve this problem?
>
> Thanks in advance
>
>
> Emanuele
>
>
>
>
>
0 Likes
Message 3 of 4

Anonymous
Not applicable
I think you're suggesting me to do something like this: acdDoc.active
but the document Activation by the "active" property, correctly works only
in VBA,
but not in VB (which I must use...).
Is it there such a similar property to do the same in VB?
Which?


Thanks

Emanuele



Jaime wrote in message
66C79D595019CAABE3B63869A1263E1C@in.WebX.maYIadrTaRb...
> why not just use the "active drawing" ??
>
> Jaime
>
>
> Marco wrote in message
> news:F9C29AD1BF3CC9D0A23C35DEFC6C16C4@in.WebX.maYIadrTaRb...
> > Hi,
> > at a certain point of my application, I ask the user to click on the
open
> > AutoCAD document to select two points of a line.
> > Well, when the user tries to click on the document, it appears the
> message:
> >
> > Component request pending...An action cannot be completed,
> > because the component Draw.dwg is not responding.
> > Choose "Switch to" to activate the component and correct the
> > problem.
> > Switch to Retry
> >
> > How can I solve this problem?
> >
> > Thanks in advance
> >
> >
> > Emanuele
> >
> >
> >
> >
> >
>
>
0 Likes
Message 4 of 4

Anonymous
Not applicable
no..im sugesting you use the current drawing that is open
and everything you can do in vba you can do in VB i have used acdboc.active
in vb

Jaime


Marco wrote in message
news:F7BFA1887340B11BB28335751C4484CF@in.WebX.maYIadrTaRb...
> I think you're suggesting me to do something like this: acdDoc.active
> but the document Activation by the "active" property, correctly works only
> in VBA,
> but not in VB (which I must use...).
> Is it there such a similar property to do the same in VB?
> Which?
>
>
> Thanks
>
> Emanuele
>
>
>
> Jaime wrote in message
> 66C79D595019CAABE3B63869A1263E1C@in.WebX.maYIadrTaRb...
> > why not just use the "active drawing" ??
> >
> > Jaime
> >
> >
> > Marco wrote in message
> > news:F9C29AD1BF3CC9D0A23C35DEFC6C16C4@in.WebX.maYIadrTaRb...
> > > Hi,
> > > at a certain point of my application, I ask the user to click on the
> open
> > > AutoCAD document to select two points of a line.
> > > Well, when the user tries to click on the document, it appears the
> > message:
> > >
> > > Component request pending...An action cannot be completed,
> > > because the component Draw.dwg is not responding.
> > > Choose "Switch to" to activate the component and correct
the
> > > problem.
> > > Switch to Retry
> > >
> > > How can I solve this problem?
> > >
> > > Thanks in advance
> > >
> > >
> > > Emanuele
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
0 Likes