Results 1 to 4 of 4

Thread: Specify a VB DLL location instead of registring?

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Location
    a cave
    Posts
    9

    Specify a VB DLL location instead of registring?

    i ave created a dll and a tester program but the program cannot find the entry point stringEd

    dll: [class module]

    VB Code:
    1. Option Explicit
    2. Public Function stringEd()
    3.     stringEd = "hello cheecky"
    4. End Function

    tester program:

    declaration statement in module:

    VB Code:
    1. Declare Function stringEd Lib "C:\fabian\VB Projects\Mine\dll try\stringEd.dll" () As String
    VB Code:
    1. Private Sub Command1_Click()
    2. MsgBox stringEd()
    3. End Sub

    thanx all!
    Last edited by JC Denton; Jun 4th, 2004 at 06:01 AM.
    Ur all xperts? Im a rookie, u were a rookie once too, so what happened?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width