I have created an application in vb.net using com class ,
so that i can use that dll in vb6 application

<ComClass(ComClass1.ClassId, ComClass1.InterfaceId, ComClass1.EventsId)> _
PublicClass ComClass1
#Region"COM GUIDs"' These GUIDs provide the COM identity for this class
' and its COM interfaces. If you change them, existing
' clients will no longer be able to access the class.
PublicConst ClassId AsString = "23520cb2-aa3a-431a-b87e-bb23ad6c0c42"PublicConst InterfaceId AsString = "c6d19f7e-8184-4c6c-b799-8f086a8ab04e"PublicConst EventsId AsString = "5bd8aa70-44ba-4f56-a3c8-fc9bca0befdf"#End Region
' A creatable COM class must have a Public Sub New()
' with no parameters, otherwise, the class will not be
' registered in the COM registry and cannot be created
' via CreateObject.
PublicSubNew()
MyBase.New()
EndSubPublicFunction subt(ByVal a AsInteger, ByVal b AsInteger)
Return a - b
EndFunctionEndClass

This Dll is used as a reference in vb6 application

if i give the reference dll in vb6 application it is working fine with my system environment but if i try to run that exe in other system then it is throwing me the error as