Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Apr 8, 2003
Messages
17
Location
US
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
 
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

Back
Top