Hi Randy,
Another conversion utility is AspAlliance:
http://www.aspalliance.com/aldotnet/examples/translate.aspxIt converted the code as follows. You shouldn't get the errors as before:
Private Shared<DllImport("coredll.dll")> _
Function LoadCursor(zeroValue As Integer, cursorID As Integer) As Integer
Private Shared<DllImport("coredll.dll")> _
Function SetCursor(cursorHandle As Integer) As Integer
>the conversion doesn't seem to have worked. I copied and pasted it in and received the following errors in design mode
>
>
_
>private (static is underlined) extern (Integer LoadCursor(Integer zeroValue, Integer cursorID) from integer on is underlined)
>
>static is not valid on a member variable declaration
>end of statement expected
>
>
>I appreciate the help.
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi