|
-
September 5th, 2001, 02:58 PM
#1
Dll in VBasic
hi every one
i wonder if someone can help me here
i'm programing in access with visual basic codes and i included a function of a dll in the module section
Public Declare Function GenerateLicenceID Lib "C:\Final\bin\vproc.dll" (ByVal sBaseID As String, ByVal duration As Integer, ByRef sLicenceID As String)
but when i call the function i get an error can't find entry of c:\Final\bin\vproc.dll
can someone help please
-
September 5th, 2001, 03:34 PM
#2
Re: Dll in VBasic
Remove the Public Declare Function line from your code.
On the Tools menu select "References" and set a reference to your dll here.
In the code do something similar to the following:
Public objTest as New vproc [or whatever the name of the object is]
objTest.GenerateLicenseID(?,?,? [insert parameter values])
Hope this helps!
-Kelli
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|