When I use this code in vb.net, it complains about the keyword "Any" in the declarations, so I substituted "object" but I also get an error when this line of code tries to execute: Call SendMessage(ListView1.hWnd, LVM_SUBITEMHITTEST, 0, HTI)
The error is System.ExecutionEngineException.
I had also tried creating this project in vb6 and had vb.net convert it, and I get the following warning:
'UPGRADE_WARNING: Couldn't resolve default property of object HTI. Click for more: 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup1037"'
Call SendMessage(ListView1.hWnd, LVM_SUBITEMHITTEST, 0, HTI)
Any help would be greatly appreciated.