Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. call dll

call dll

Scheduled Pinned Locked Moved Visual Basic
csharp
5 Posts 5 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JAYRAJ GIRI
    wrote on last edited by
    #1

    i want code click button and call dll file in vb.net application

    R D D S 4 Replies Last reply
    0
    • J JAYRAJ GIRI

      i want code click button and call dll file in vb.net application

      R Offline
      R Offline
      Rupesh Kumar Swami
      wrote on last edited by
      #2

      what is the problem? Elaborate your problem in detail I think you want to call the function(or method) of a dll on the click event of button. simply add the reference of dll to your project and use it.

      Rupesh Kumar Swami Software Developer, Integrated Solution, Bikaner (India) My Company Award: Best VB.NET article of June 2008: Create Column Charts Using OWC11

      1 Reply Last reply
      0
      • J JAYRAJ GIRI

        i want code click button and call dll file in vb.net application

        D Offline
        D Offline
        dan sh
        wrote on last edited by
        #3

        JAS GIRI wrote:

        i want code

        No spoon feeding is done here. Try out something and if you get stuck then ask.

        Time is the best teacher; unfortunately it kills all of its students. जय हिंद

        1 Reply Last reply
        0
        • J JAYRAJ GIRI

          i want code click button and call dll file in vb.net application

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          First, you haven't asked a question. You also haven't described any kind of problem, or provided any detail into what you have, and what's you've done. If you want to call a function in a .DLL, there's two basic methods of going about it. Which one you use depends on the type of .DLL you're talking about. If it's a normal library .DLL, you have to use P/Invoke. This means you better have the documentation on the .DLL so you can create a correct function header to use. Google for "Pinvoke vb.net" for millions of examples. If it's a COM-based .DLL, it has to be registered properly, the you can open your project properties, click on the References tab, then add a COM reference to the .DLL. You can then use the objects exposed by that library just like you would normal .NET classes.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          1 Reply Last reply
          0
          • J JAYRAJ GIRI

            i want code click button and call dll file in vb.net application

            S Offline
            S Offline
            Smithers Jones
            wrote on last edited by
            #5

            I want, I want, I want... can't hear it any more. Everyday the same morons coming here, saying "I want" like little children. I want you to go away and never come back! Moron. X|

            "I love deadlines. I like the whooshing sound they make as they fly by." (DNA)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups