Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert c# to vb.net
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00753178
Message ID:
00753334
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform