I am trying a FTP class from Microsoft website, and am using VS 2002, there is one section as seen below. It doesn't work.
I have tried this code on a different machine with VS 2003 and it works fine, so it looks like the code to muliple the number by 2 ot the power of 8 is working.
' Make this call in Visual Basic .NET 2002. You want to
' bitshift the number by 8 bits. In Visual Basic .NET 2002 you must
' multiply the number by 2 to the power of 8.
Dim port As Int32 = port = parts(4) * (2 ^ 8)
' Make this call and then comment out the previous line for Visual Basic .NET 2003.
'Dim port As Int32 = port = parts(4) << 8
Can i do this some other way.