CAD/CAM discussion forum > CAD > I want to get event notification in VB if ZcadDocument closed.

I want to get event notification in VB if ZcadDocument closed.

Rank: 1

Colton Park

Newbie

posts: 1

Registered: 2013-3-26

Message 1 of 3

 I want to get event notification in VB if ZcadDocument closed.
27-03-2013 06:54 . am | View his/her posts only
Post Last Edit by colton6246 at 2013-3-27 06:59

Good morning Everyone,

I am in a problem, I want to get event notification in VB (not VBA) if ZcadDocument closed.


Maybe you know how could I implement 'WithEvents ZcadApplicadtion' like 'ACADApplication' with full events service for: ZcadApplication, ZcadDocument and any ZcadEntity

I want to use events below.

Public WithEvents oCad_App As ZcadApplication
Private Sub oCad_App_EndOpen(ByVal FileName As String)
End Sub

Private Sub oCad_App_NewDrawing()
End Sub

Private Sub oCad_App_BeginModal()
End Sub

Private Sub oCad_App_EndModal()
End Sub

Private Sub oCad_App_BeginQuit(Cancel As Boolean)
End Sub

Rank: 5Rank: 5

Arphone

posts: 26

Registered: 2012-6-25

Message 2 of 3

01-04-2013 12:07 . pm | View his/her posts only
Hi,

Currently we don't support handling events outside ZWCAD+.

Rank: 5Rank: 5

Arphone

posts: 26

Registered: 2012-6-25

Message 3 of 3

02-01-2014 10:10 . am | View his/her posts only
Happy new year! In the latest version of ZWCAD+ we support these features.
See also