Results 1 to 4 of 4

Thread: registering a dll

  1. #1

    Thread Starter
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696

    registering a dll

    Below I have the api to register a dll

    Public Declare Function RegMyServerObject Lib _
    "C:\RM3\RM3.DLL" _
    Alias "DllRegisterServer"() As Long

    how can I change it so that the path is app.path ?

    Thanks

    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  2. #2
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    VB Code:
    1. Public Declare Function RegMyServerObject Lib _
    2. "RM3.DLL" _
    3. Alias "DllRegisterServer"() As Long

    HTH,
    D.
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  3. #3

    Thread Starter
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    Cheers Merrion, I did try that, but as I was being completley stupid and didn't have the dll in the same folder as my app, it didn't work , it does now

    Ta Muchly
    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  4. #4
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    *Drags Ian out by the hair and back into chit chat - "You don't belong in here m8 - this is for programmers"

    Hmmmph!
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

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