visual basic usb device api project

The project was to create a neat visual basic interface for a custom USB device. It was a mid sized project and we used visual basic 6 for this purpose. We had to create many equivalent datatypes in vb6 for the UDTs present in the C++ dll file.

We had to trap windows messages using mywindowproc. We used subclassing and hooks to achieve our objective.

The visual basic script detected the USB device when it was plugged in or taken out. This was done using device change and device detection messages sent out by the windows messages.

Once the device connects to the computer the script automatically connects to a website URL and starts uploading the data to the website using HTTP POST method. i.e Visual Basic posting to the web using sockets.

It also uses a log file to record all its actions and processes. This helps in debugging the application pretty easy.

Finally the whole exe file, required 3rd party dll file was packages into a compact installation file using the NSIS installer. We are also well experienced in using the NSIS windows installer and all of its advanced usages and flags.

We are confident of creating any kind of visual basic 6 projects both simple and complex. If you want us to do any windows applications please do contact us.