Results 1 to 10 of 10

Thread: how to call .dll

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    2

    how to call .dll

    i'm a beginner on vb.net and i don't know how to call .dll
    please help me find the solution

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: how to call .dll

    Right click References in solution explorer. Add Reference, and browse to your DLL.

  3. #3
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: how to call .dll

    What kind of DLL do you want to call, a DLL that you created, or one of the Windows API DLLs?
    I don't live here any more.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    2

    Re: how to call .dll

    it a dll someone create and i want to use it to solve mathematical problem

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: how to call .dll

    Did you try what I said?

  6. #6
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: how to call .dll

    after you try what mendhak said then you can call your dll by instantiating them.

  7. #7
    Lively Member
    Join Date
    Jun 2005
    Posts
    78

    Re: how to call .dll

    Perhaps we should also explain to him how to create a dll? I think we should...

  8. #8
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: how to call .dll

    i think we shouldn't. He already ask how to call a .dll then it implies he already know what he's doing.

  9. #9
    Lively Member
    Join Date
    Jun 2005
    Posts
    78

    Re: how to call .dll

    Well im curious about how you instantiate a .dll?

  10. #10
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: how to call .dll

    instantiating a .dll is just like instantiating a form.

    VB Code:
    1. imports mydll <---it is your dll
    2.  
    3. 'in your form load
    4. 'for example you have a class name walk to your mydll
    5.  
    6. dim w as new walk()
    7.  
    8. w.speed <----your procedure speed under your class walk

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