Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a dll from VB

Hi all

 

I have two questions

 

1) I know about the visual Basic 6 but what is measurement studio for visual Basic 6?

 

2) Can anyone tell me how to call a dll from Visual Basic 6? Any example for this ?

 

Any help greatly appreciated 🙂

0 Kudos
Message 1 of 5
(7,980 Views)

1.  Measurement Studio for VB6 is a collection of ActiveX controls to add test and measurement functionality into VB.  They include things like GPIB and serial instrument control, a set of user interface controls such as knobs, toggle switches, graphs, and strip charts, and a variety of other functions.

 

2.  Do you have any further information on the specific DLL and functions that you are trying to call into?   There's a lot of information available on the 'net regarding this topic.  This Microsoft KB ( http://support.microsoft.com/kb/106553 ) is a good start but there's a wealth of other information out there.  You can just google for "calling a DLL from visual basic".  If you still aren't having luck, I can probably help you further if you can post the .h file for the DLL that gives all of the C function prototypes. 

 

Regards,

Jason 

0 Kudos
Message 2 of 5
(7,964 Views)

Howdy,

 

Additionally, this DeveloperZone article highlights some of the advantages of Measurement Studio and provides a good overview: http://zone.ni.com/devzone/cda/tut/p/id/4807

Warm regards,

pBerg
0 Kudos
Message 3 of 5
(7,948 Views)
Basically what i want to do is to call the microchip's dll called "mpusbapi.dll" from VB6. This dll is written in C++. This dll has some basic functions of usb like MPUSBRead() , MPUSBWrite , MPUSBOpen() etc.

I have made a usb data acquisition card and i want to communicate with this card by means of VB 6. Please tell me or send a tutorial of calling a DLL from VB 6.

Any help greatly appreciated
Download All
0 Kudos
Message 4 of 5
(7,944 Views)

Howdy,

 

Jason's post mentions a few excellent resources that should help ya get going.

Warm regards,

pBerg
0 Kudos
Message 5 of 5
(7,925 Views)