Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert c# to vb.net
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00753178
Message ID:
00753334
Vues:
21
Hi Randy,

Another conversion utility is AspAlliance:

http://www.aspalliance.com/aldotnet/examples/translate.aspx

It 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.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform