Randy,
I can help with one of your questions, but not all. Kamal Patel has a C# to VB conversion utility at
http://www.kamalpatel.net/ConvertCSharp2VB.aspx. It converts your code as follows:
<DllImport("coredll.dll")> _
private static extern Integer LoadCursor(Integer zeroValue, Integer cursorID)
<DllImport("coredll.dll")> _
private static extern Integer SetCursor(Integer cursorHandle)
~~Bonnie
>Hello all, I need a little help converting C# code to VB.NET code. Can anyone help me with the following code.
>
>[DllImport("coredll.dll")]
>private static extern int LoadCursor(int zeroValue, int cursorID);
>
>[DllImport("coredll.dll")]
>private static extern int SetCursor(int cursorHandle);
>
>This might not be exactly what I am looking for. I am writing a smart device app and I can't find anything about changing the cursor. The LoadCursor function throws a NotSupported error, so I am trying to use the coredll in a class.
>
>I also have one other question. What is the code to determine that the PDA is connected to the PC? I am using ActiveSync. Thanks for the help.