all groups > visual studio .net general > april 2007 >
You're in the

visual studio .net general

group:

DLL creation problem


DLL creation problem Jeremy
4/23/2007 10:56:01 AM
visual studio .net general:
I have created a couple of basic Dll's using VS 05 for use as an add in to an
MS Access app. They are compiled and I can see them in the GAC, but Access
barks that they can't be referenced. Did I forget something? the code is below

Public Class UserInfo
Dim strID As String
Dim strFirstName As String
Dim strLastName As String
Dim strEmail As String
Dim strPhone As String
Dim strServer As String

Public Property WindowsID()
Get
Return strID
End Get
Set(ByVal value)
strID = value
End Set
End Property

Public Property FirstName()
Get
Return strFirstName
End Get
Set(ByVal value)
strFirstName = value
End Set
End Property

Public Property LastName()
Get
Return strLastName
End Get
Set(ByVal value)
strLastName = value
End Set
End Property

Public Property EmailAddress()
Get
Return strEmail
End Get
Set(ByVal value)
strEmail = value
End Set
End Property

Public Property PhoneNumber()
Get
Return strPhone
End Get
Set(ByVal value)
strPhone = value
End Set
End Property

Public Property MailServer()
Get
Return strServer
End Get
Set(ByVal value)
strServer = value
End Set
End Property
End Class


--
Re: DLL creation problem Norman Yuan
4/23/2007 1:15:38 PM
..NET DLL cannot be used as COM component unless you "regasm"-ed it for
COuse.

[quoted text, click to view]

AddThis Social Bookmark Button