Message 1 of 3
how to addin a user-defined form
Not applicable
08-26-2003
10:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have successfully addin a icon in Inventor 7, and I define a form. I want
to click the icon to run the form. When I click the icon, there is a error
that undefined object or with block.
My code is:
Option Explicit
Implements ApplicationAddInServer
Public oApp As Inventor.Application
Public WithEvents oButtonHandler1 As ButtonDefinitionHandler
......
Private Sub oButtonHandler1_OnClick()
'my defined form
Dia_Pbom.Show
End Sub
to click the icon to run the form. When I click the icon, there is a error
that undefined object or with block.
My code is:
Option Explicit
Implements ApplicationAddInServer
Public oApp As Inventor.Application
Public WithEvents oButtonHandler1 As ButtonDefinitionHandler
......
Private Sub oButtonHandler1_OnClick()
'my defined form
Dia_Pbom.Show
End Sub