Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert c# to vb.net
Message
De
14/02/2003 10:27:14
 
 
À
14/02/2003 08:51:28
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00753178
Message ID:
00753243
Vues:
34
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform