All,
I am having trouble assigning a StrongName to a Windows Control.
I have reduced the problem down to the bare essentials. The project is called PlainControl. The entire control code is as follows:
Imports System.Reflection
'<Assembly: AssemblyKeyFileAttribute("C:\Share\sgkey.snk")>
Public Class UserControl1
Private Sub UserControl1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End Class
I am attempting to bring the code up in a browser. The entire browser code is:
<object classid="PlainControl.dll#PlainControl.UserControl1"
width="100%" height="100%" padding="0" margins="0">
</object>
I am opening this via Visual Studio - IIS is not running on the current machine.
When the second line of the control project is commented out, the control comes up fine in the browser. When the line is left in, it does not come up.
Thanks for any help
I am having trouble assigning a StrongName to a Windows Control.
I have reduced the problem down to the bare essentials. The project is called PlainControl. The entire control code is as follows:
Imports System.Reflection
'<Assembly: AssemblyKeyFileAttribute("C:\Share\sgkey.snk")>
Public Class UserControl1
Private Sub UserControl1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End Class
I am attempting to bring the code up in a browser. The entire browser code is:
<object classid="PlainControl.dll#PlainControl.UserControl1"
width="100%" height="100%" padding="0" margins="0">
</object>
I am opening this via Visual Studio - IIS is not running on the current machine.
When the second line of the control project is commented out, the control comes up fine in the browser. When the line is left in, it does not come up.
Thanks for any help