Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MicheleByte

    Creating COM DLL in VB.NET and using it in a VBScript

    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 =...
  2. MicheleByte

    Creating COM DLL in VB.NET and using it in a VBScript

    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...
  3. MicheleByte

    Creating COM DLL in VB.NET and using it in a VBScript

    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())...
  4. MicheleByte

    Creating COM DLL in VB.NET and using it in a VBScript

    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...

Part and Inventory Search

Back
Top