Click to See Complete Forum and Search --> : creating active x dll with vb.NET
ronlahav
Feb 11th, 2004, 06:59 AM
i truely dont know where to begin by creating activex dll with vb.net i need only the first steps
what kind of project to create?
is there need to add com class to my project???
how to program the class i need i know how to do that but i dont know the frame for that program - can someone help me???
crptcblade
Feb 11th, 2004, 07:26 AM
I don't think it is possible to create an ActiveX DLL in VB.NET.
ronlahav
Feb 12th, 2004, 01:53 AM
Actually i know it is possible
i just dont know how!!
you can see the folowing note
http://www.dotnet247.com/247reference/msgs/12/62311.aspx
ronlahav
Feb 12th, 2004, 02:08 AM
i still have some question mark ill describe them:
1. i opened new vb.Net project (class Library project)
2. i right click on the project name and added new item Com class and got the folowing line
<ComClass(ComClass1.ClassId, ComClass1.InterfaceId, ComClass1.EventsId)> _
and in the gui i got
#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.
Public Const ClassId As String = "4FFC8EF6-2F50-4571-BD3A-B714401DEA17"
Public Const InterfaceId As String = "825095CB-A680-451F-9D52-48B1E9F5D1C4"
Public Const EventsId As String = "0FC68369-D4EB-4345-A918-054FC20A610B"
#End Region
3. what should i do then??? should i use the SN.EXE altough i have classID unique strong name???
ill apreciate any step by step help
thanks alot
should i register the dll before i code the class???
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.