I have a piece of code, fairly simple really, which has 1 form and 1 module. At the moment it is all working in VB6. It is an interface program which allows VB to talk to one of the Microchip USB family microcontrollers (18F4550) as a HID interface.
The code has been generated by a third party application, which only generates code for VB6.
I have tried translating this code over to VB.Net with little success.
There really doesn't seem a lot to it, however my level of knowledge at this stage on VB.Net is poor to say the least.
Is anyone willing to look at this piece of code for me and see if they can get it working in VB.Net. It displays the error:
'AddressOf' expression cannot be converted to 'Integer' because 'Integer' is not a delegate type.
Any help would be greatfully appriciated as it would be a good starting block for me to continue learning and developing this application using VB.Net instead of VB6.
Many thanks,
Steve Tisseyre
The code has been generated by a third party application, which only generates code for VB6.
I have tried translating this code over to VB.Net with little success.
There really doesn't seem a lot to it, however my level of knowledge at this stage on VB.Net is poor to say the least.
Is anyone willing to look at this piece of code for me and see if they can get it working in VB.Net. It displays the error:
'AddressOf' expression cannot be converted to 'Integer' because 'Integer' is not a delegate type.
Any help would be greatfully appriciated as it would be a good starting block for me to continue learning and developing this application using VB.Net instead of VB6.
Many thanks,
Steve Tisseyre