Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert c# to vb.net
Message
From
14/02/2003 10:27:14
 
 
To
14/02/2003 08:51:28
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00753178
Message ID:
00753243
Views:
28
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.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform