Bouke
Mechanical
- Jan 13, 2004
- 107
in the following example the FileOpenNotify works perfectly but the ReferencenotFoundNotify doesn't seem to work.
Does Anyone have a idea y??
Regards,
Bouke
Does Anyone have a idea y??
Code:
Public WithEvents swApp As SldWorks.SldWorks
Sub init()
Set swApp = CreateObject("SldWorks.Application")
swApp.Visible = True
End Sub
Private Sub Form_Load()
init
End Sub
Private Function swApp_FileOpenNotify2(ByVal Filename As String) As Long
MsgBox "File Open Notify"
End Function
Private Function swApp_ReferenceNotFoundNotify(ByVal Filename As String) As Long
MsgBox "Reference Not Found"
End Function
Regards,
Bouke