OK I solved the problem.
Thanks to everyone who wrote me.
This is the solution:
----BEGIN OF CODE-------
Public Class Class1
Public Sub Importa(ByRef visum As Object, ByVal numPF as Integer)
Dim VisumCl as Object = visum
VisumCl.Net.Marking.Clear()
Dim spp as Object =...
Ok. Now it works with this modifications:
Public Sub Importa(ByRef o As Object)
MsgBox(obj.ToString())
MsgBox(Microsoft.VisualBasic.Information.TypeName(o))
'<deleted> Dim VisumCl As IVisum = o
'like cast-ing from ObjectCom to Object??
dim VisumCl as Object = o...
Thank you for your answer!
I tried to modify the public sub:
Public Sub Importa(ByRef o As Object)
MsgBox(obj.ToString())
MsgBox(Microsoft.VisualBasic.Information.TypeName(o))
Dim VisumCl As IVisum = o
End Sub
The reselts are:
MsgBox(obj.ToString())...
Hi to all!
I created a VB.Net COM DLL which I can use in VBScript.
I followed the steps in the following article:
http://msdn2.microsoft.com/en-us/library/x66s8zcd(VS.71).aspx
(I used the method "with COM class template")
My DLL got created fine - no errors in build process.
The "Make...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.