Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

events notify using VB

Status
Not open for further replies.

nikhiljoglekar

Mechanical
Apr 8, 2003
17
hi everybody
Does anybody have any idea about how to catch events fired like entity change or onfilesavenotify etc using VB that is in VB application?
thanks in advance
Nikhil
 
Replies continue below

Recommended for you

You have to use WithEvents to attach to the notifications fired by SolidWorks.

There is a complete working "Notification monitor" example in VBA at the SolidWorks API helppage. Goto and find the "VBA Event Monitor" example.

HTH,
Stefan

--
unofficial german SolidWorks helppage
Shareware, freeware, tools and macros
 
hi stefan
thanks for a real quick reply. I'll check out the link.
thanks once again
nikhil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor