Convert from C# into VB

  • Thread starter Thread starter John Smith
  • Start date Start date
J

John Smith

Can someone convert from C# into VB this line for me:

if (c is System.Web.UI.HtmlControls.HtmlForm)
 
Hi,
Here's the Vb code.
If TypeOf c Is System.Web.UI.HtmlControls.HtmlForm Then

EndIf

Thanx.
 
That on-line converter is usually pretty good, but it fails to convert the
original poster's sample.

Our C# to VB converter (Instant VB) will convert what the on-line converters
can't.
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter
Instant C++: VB to C++ converter
 
Poornimab gave the correct translation (same as our converter).
The equivalent to the C# "x is y" in VB is "TypeOf x Is y", not "x = y".
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter
Instant C++: VB to C++ converter
 
Back
Top