Visual Basic Customization

Visual Basic Customization

Reply
Active Contributor
alankar
Posts: 41
Registered: ‎11-04-2004
Message 1 of 4 (380 Views)

Events in VB !

380 Views, 3 Replies
09-08-2006 08:36 AM
Hi Friends,

I am in a problem, I want to get event notification in VB (not VBA) like we do in VBA for AutoCAD.

As I want to see which command has started and completed (like Acaddocument_Begincommand and Endcomand events. Is it possible to get event notification in VB6 without using Third party apps, or with using these ?

Thanks in advance
*Paul Richardson
Message 2 of 4 (380 Views)

Re: Events in VB !

09-08-2006 09:06 AM in reply to: alankar
?
http://discussion.autodesk.com/search.jspa?numResults=25&source=viewforum%7C33&q=vb6+events&inputEntered=true&objID=f33

wrote in message news:5322589@discussion.autodesk.com...
Hi Friends,

I am in a problem, I want to get event notification in VB (not VBA) like we
do in VBA for AutoCAD.

As I want to see which command has started and completed (like
Acaddocument_Begincommand and Endcomand events. Is it possible to get event
notification in VB6 without using Third party apps, or with using these ?

Thanks in advance
*Mark Johnston
Message 3 of 4 (380 Views)

Re: Events in VB !

09-11-2006 02:25 PM in reply to: alankar
Dim the autocad application withevents.
You should then be able to use the application events.
You can also dim the document withevents.

wrote in message news:5322589@discussion.autodesk.com...
Hi Friends,

I am in a problem, I want to get event notification in VB (not VBA) like we
do in VBA for AutoCAD.

As I want to see which command has started and completed (like
Acaddocument_Begincommand and Endcomand events. Is it possible to get event
notification in VB6 without using Third party apps, or with using these ?

Thanks in advance
Active Contributor
alankar
Posts: 41
Registered: ‎11-04-2004
Message 4 of 4 (380 Views)

Re: Events in VB !

09-11-2006 09:42 PM in reply to: alankar
Thanks Paul and Mark,

I've got, how to use Events in VB. I used BeginCommand and EndCommand events successfully.

Thanks for your help.

Regards,
Alankar
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.