User`s manual

38
4. Run your application. Do one of the following to run the
application:
Z Choose Start from the Run menu
Z Click the Start icon from the toolbar
Z Press <F5>
5. Distribute the application. After completing the project,
save the application as an executable (.EXE) file using
the Make EXE File command from the File menu. The
application, after being transformed into an executable
file, is now ready for distribution. You must include the
PCIS-DASK’s DLL and driver files when the application
is distributed. Refer to Chapter 8: Distribution of
Applications for the details.
Using Callback Functions in a VB.net Application with
PCIS-DASK
To use callback functions in a VB.net application with PCIS-DASK,
follow these steps after creating a Windows
®
2000/XP PCIS-
DASK application using VB.net:
1. Create a callback function. For example:
Sub CallBack()
//Add the VB.Net function you like.
End Sub
2. Set the callback function. For example:
AI_EventCallBack(dev, 1, DBEvent, AddressOf
CallBack);