Could anybody convert that API declaration from C# to VB.Net:
[DllImport("user32.dll")]
public static extern IntPtr LoadCursorFromFile( string fileName );
Thank you.
Could anybody convert that API declaration from C# to VB.Net:
[DllImport("user32.dll")]
public static extern IntPtr LoadCursorFromFile( string fileName );
Thank you.
Conver Code...
Heydar
Our Instant VB C# to VB converter produces:
<DllImport("user32.dll")> _
Public Shared Function LoadCursorFromFile(ByVal fileName As String) As IntPtr
End Function
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter and VB to C++ converter
Instant J#: VB to J# converter
Clear VB: Cleans up VB.NET code
Clear C#: Cleans up C# code
Kris K
Note that the older 'Declare' format for declaring API methods is still available in VB.NET, but the newer DllImport attribute style reproduces the C# code consistently and accurately.
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter and VB to C++ converter
Instant J#: VB to J# converter
Clear VB: Cleans up VB.NET code
Clear C#: Cleans up C# code