Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb_dotnet thread: Referencing COM component from VB.NET


Message #1 by "Julius" <yilin@s...> on Mon, 15 Apr 2002 04:07:11
Hi,

Does anybody know how to solve the below described problem.
I reference MS Message Queue 2.0 Object Library component from vb.net 
class.
Then in class itself:

Imports MSMQ

Public Class1
	Public Function
		Dim obj As New MSMQ.MSMQQueue
			Implementing some code
	End  Function
End Class

During a compilation I am getting an error saying:
Unable to emit assembly: Referenced assembly ?Interop.MSMQ? does not have 
a strong name.
Interop.MSMQ.dll was created automatically in app_directory/bin/ once I 
referenced MSMQ component.

Thanks in advance.

  Return to Index