problem converting from visual basic 5 to 2008

mosh11

New member
Joined
Mar 20, 2009
Messages
1
Programming Experience
1-3
hello folks

actually i am doing a project that interfaces a pic microcontroller to a pc through usb.

i found a project on a book that does the same thing

so the project on the book requires that you run a visual basic code and a window appears to communicate with the microcontroller.

the required code is generated from a program called EasyHID Wizard from mecanique.com

this program generates these files FormMain.frm ,mcHIDinterface.bas and .vbp file

i am totally newbie in visual basic so i don't know how to execute the project.

when i run the .vbp project on Microsoft Visual Studio 2008 it tells that it should upgrade the project to newer version.

after upgrading i click build solution to run the code and this error comes

'AddressOf'(of the function WinProc) expression cannot be converted to 'Integer' because 'Integer' is not a delegate type.

i attached the two source codes that generated from the program

so if anyone could help me i would be grateful


Sorry if i was too long :)

Thank you
 
Back
Top