When using Visual Basic.NET

Specification of Functions

You can use WIN32 API format functions as same as before.
Functions only for VisualBasic.NET are not exists.

 

Parameters and Return Code

Parameters and return codes are same as when using by other languages.
Please see details of function references.

 

Format of function references

Format (Visual Basic) in function references are for VisualBasic 4, 5, 6.
Data types are changed from VisualBasic.NET.

Please see declarations of .VB file

\Program Files\CONTEC\API-PAC(W32)\GPIB\Samples\Inc\XXX.VB

Example of change of type declaration

VisualBasic4,5,6 VisualBasic.NET

16bBit Integer -> Short

32Bit Long -> Integer

64Bit None ->Long

Any -> Specific data types.

 

Sample Programs

Please see following folders.

\Program Files\CONTEC\API-PAC(W32)\GPIB\Samples\VbNet