|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Register DLL for COM interop and use it in ASPthe dll on a web server for example? Has anyone made a deployment project that does this? this is my class: <ComClass(StringEncoder.ClassId, StringEncoder.InterfaceId, StringEncoder.EventsId)> <System.Serializable()> _ Public Class StringEncoder Public Const ClassId As String = "B9B4F08B-0363-4480-AF23-C6AFCF555FC5" Public Const InterfaceId As String = "6BFAF313-95A2-4636-966E-38EBD4E73569" Public Const EventsId As String = "72914E73-C5AE-4059-89DB-A8E991FE13F4" Private _decodedText As String Private _encodedText As String Private _key As String Private _errorText As String Public Property EncodedText() As String Get Return _encodedText End Get Set(ByVal value As String) _encodedText = value End Set End Property Public Property DecodedText() As String Get Return _decodedText End Get Set(ByVal value As String) _decodedText = value End Set End Property Public Property Key() As String Get Return _key End Get Set(ByVal value As String) _key = value End Set End Property Public Property ErrorText() As String Get Return _errorText End Get Set(ByVal value As String) _errorText = value End Set End Property Sub New() MyBase.New() End Sub Sub Decode() as String End Sub Sub Encode() as String End Sub End Class Hi,
Use regasm.exe to register the dll Ken ----------------- Show quoteHide quote "Nicke" <niklas.petters***@sveaekonomi.se> wrote in message news:1146674638.224859.99830@y43g2000cwc.googlegroups.com... >I have accomplished this on my machine with vs2005 but how can I deploy > the dll on a web server for example? > > Has anyone made a deployment project that does this? > > this is my class: > > <ComClass(StringEncoder.ClassId, StringEncoder.InterfaceId, > StringEncoder.EventsId)> <System.Serializable()> _ > Public Class StringEncoder > Public Const ClassId As String = > "B9B4F08B-0363-4480-AF23-C6AFCF555FC5" > Public Const InterfaceId As String = > "6BFAF313-95A2-4636-966E-38EBD4E73569" > Public Const EventsId As String = > "72914E73-C5AE-4059-89DB-A8E991FE13F4" > Private _decodedText As String > Private _encodedText As String > Private _key As String > Private _errorText As String > > Public Property EncodedText() As String > Get > Return _encodedText > End Get > Set(ByVal value As String) > _encodedText = value > End Set > End Property > > Public Property DecodedText() As String > Get > Return _decodedText > End Get > Set(ByVal value As String) > _decodedText = value > End Set > End Property > > Public Property Key() As String > Get > Return _key > End Get > Set(ByVal value As String) > _key = value > End Set > End Property > > Public Property ErrorText() As String > Get > Return _errorText > End Get > Set(ByVal value As String) > _errorText = value > End Set > End Property > > Sub New() > MyBase.New() > End Sub > > Sub Decode() as String > End Sub > > Sub Encode() as String > End Sub > End Class > Ok. This seems to be a common issue.
I have registered the dll using regasm but I cant use the dll from my asp page. Is registering with regasm enough to make it work? If I use gacutil on my webserver then it works but do I have to use gacutil? Gacutil is rarely mentioned in the .net dll duscussion. Almost every solution to this issue with .net dlls is to use regasm... Thanks. /Nicke
Ho do I create a program that can get recognized as a printer driver and installed with the add prin
incompatibility with dotnet 2.0 and Outlook Business Contact Manager 2003 clearing all the lables on a form in vb.net 2005 Help! Something adds 1 hour to my datetimes! :-S help in search&replace for ArrayList Help with creating Installation package under VB2005 Express Ed. Troubled saving a clipped region from an image to disk as transparent System.Configuration.ConfigurationSettings.AppSettings.Get("...") Question about the data adaptor Fill method. ComboBox values and Items |
|||||||||||||||||||||||