Click here to Skip to main content
15,895,746 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: to make user interface good looking in vb.net Pin
ABitSmart5-Mar-09 22:09
ABitSmart5-Mar-09 22:09 
Questionhow to plot a point on a shape file Pin
Preeti19795-Mar-09 19:42
Preeti19795-Mar-09 19:42 
AnswerRe: how to plot a point on a shape file Pin
Rupesh Kumar Swami5-Mar-09 19:51
Rupesh Kumar Swami5-Mar-09 19:51 
AnswerRe: how to plot a point on a shape file Pin
Dave Kreskowiak6-Mar-09 3:53
mveDave Kreskowiak6-Mar-09 3:53 
Questioncall dll Pin
JAYRAJ GIRI5-Mar-09 19:21
JAYRAJ GIRI5-Mar-09 19:21 
AnswerRe: call dll Pin
Rupesh Kumar Swami5-Mar-09 19:50
Rupesh Kumar Swami5-Mar-09 19:50 
AnswerRe: call dll Pin
dan!sh 5-Mar-09 21:22
professional dan!sh 5-Mar-09 21:22 
AnswerRe: call dll Pin
Dave Kreskowiak6-Mar-09 3:52
mveDave Kreskowiak6-Mar-09 3:52 
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




RantRe: call dll Pin
Smithers-Jones6-Mar-09 6:01
Smithers-Jones6-Mar-09 6:01 
QuestionHelp needed for bluetooth application... Pin
Jain Vijay5-Mar-09 18:55
Jain Vijay5-Mar-09 18:55 
AnswerCross Post Pin
dan!sh 5-Mar-09 19:08
professional dan!sh 5-Mar-09 19:08 
AnswerRe: Help needed for bluetooth application... Pin
Bharat Jain5-Mar-09 20:08
Bharat Jain5-Mar-09 20:08 
QuestionSet Up and deployment Pin
hrishiS5-Mar-09 18:28
hrishiS5-Mar-09 18:28 
AnswerRe: Set Up and deployment Pin
Rupesh Kumar Swami5-Mar-09 19:55
Rupesh Kumar Swami5-Mar-09 19:55 
GeneralRe: Set Up and deployment Pin
hrishiS5-Mar-09 19:59
hrishiS5-Mar-09 19:59 
GeneralRe: Set Up and deployment Pin
Rupesh Kumar Swami5-Mar-09 20:16
Rupesh Kumar Swami5-Mar-09 20:16 
GeneralRe: Set Up and deployment Pin
hrishiS5-Mar-09 20:33
hrishiS5-Mar-09 20:33 
GeneralRe: Set Up and deployment Pin
Rupesh Kumar Swami5-Mar-09 20:45
Rupesh Kumar Swami5-Mar-09 20:45 
GeneralRe: Set Up and deployment Pin
hrishiS5-Mar-09 21:58
hrishiS5-Mar-09 21:58 
GeneralRe: Set Up and deployment Pin
Rupesh Kumar Swami5-Mar-09 23:03
Rupesh Kumar Swami5-Mar-09 23:03 
GeneralRe: Set Up and deployment Pin
hrishiS6-Mar-09 0:09
hrishiS6-Mar-09 0:09 
GeneralRe: Set Up and deployment Pin
hrishiS6-Mar-09 0:47
hrishiS6-Mar-09 0:47 
GeneralRe: Set Up and deployment Pin
Rupesh Kumar Swami6-Mar-09 1:03
Rupesh Kumar Swami6-Mar-09 1:03 
GeneralRe: Set Up and deployment Pin
hrishiS6-Mar-09 2:09
hrishiS6-Mar-09 2:09 
GeneralRe: Set Up and deployment Pin
Dave Kreskowiak6-Mar-09 3:47
mveDave Kreskowiak6-Mar-09 3:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.