PDA

View Full Version : Trying to Load a Form with a Add In Project 2010



Kurt
08-12-2011, 05:47 AM
I am trying the following code:



Public Class Form1
Dim Form1 As Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Form1.Show()
End Sub
End Class


Project opens up fine and then it shows on the parenthesis on the Form1.Show().

Any ideas out there?

How can I get a form to load with and add in?

Thanks in advance for any and all help.

Kurt