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

Signature
JD
Tony Toews [MVP] - 24 Apr 2007 04:31 GMT
>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.
What do you mean by GAC?
Hmm, Stephen Lebans has successfully created at least one DLL in I
think VB. Let's see if he will jump in.
Tony

Signature
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Alex Dybenko - 24 Apr 2007 06:15 GMT
Hi,
you cannot reference .net dlls in access directly, but there is a way. Look
for Ken Getz article on using .net in access on MSDN for more info (sorry,
cant provide a link, but you will easy find it)

Signature
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
>I have created a couple of basic Dll's using VS 05 for use as an add in to
>an
[quoted text clipped - 64 lines]
> End Property
> End Class