I am creating an add-in for Enterprise PDM 2009.
I can create and manage the hooks to capture the event. However the only problem that I'm having is getting the add-in to display a VB form that I have created.
For Example:
I have a postadd hook that is currently generating a messagebox when a file is added to the vault, however, I am wanting it to show a form (currently named Form1) that I've generated in VB.net
I have tried several options with no luck.
What code should I use to display this form?
Thanks,
Michael
There are a few ways. Here is what I think is the simplest.
Dim objForm As Form1 = New Form1
objForm.ShowDialog()