|
|
Weather in Tulsa, OK (74133)

|
Current Conditions:
|
 |
79°F
Fair
|
|
Wind: CALM calm mph
|
|
SAT 9/4

L:55
| SUN 9/5
 H:89 L:64
| MON 9/6
 H:93 L:69
| TUE 9/7
 H:87 L:68
|
|

Last Update: 5:04:40 PM
|
weather.com
|
|
Services
|
|
|
|
|
Welcome to Terranet Technologies forum. This is a private Web Service so it
will require you to create a seperate account other than your Terranet account.
Please use your existing Terranet user name. It will only require your email and a password to join. |
|
|
|
|
|
|
|
|
Convert Code
Posted: 19 Dec 06 1:00 PM
|
hi can anyone convert this VB lines to C#?
Dim RAW, arHex_Char_Set, mCounter, mKey, mOffset, Raw_Key, Hex_Cryp_Data Dim EPassword As String = TextBox1.Text Raw_Key = Right(EPassword, Len(EPassword) - InStr(EPassword, "|")) mOffset = Right(Raw_Key, Len(Raw_Key) - InStr(Raw_Key, "|")) mKey = Hex_Converter(Left(Raw_Key, InStr(Raw_Key, "|") - 1)) - Hex_Converter(mOffset) Hex_Cryp_Data = Left(EPassword, Len(EPassword) - (Len(Raw_Key) + 1))
arHex_Char_Set = Split(Hex_Cryp_Data, Hex(mKey))
For mCounter = 0 To UBound(arHex_Char_Set) RAW = RAW & Chr(Hex_Converter(arHex_Char_Set(mCounter)) / mKey) Next
thanks |
|
|
|
Re: Convert Code
Posted: 19 Dec 06 1:03 PM
|
Try looking at this site, is is great for converting C# to vb or vb to C#... http://www.carlosag.net/Tools/CodeTranslator/Default.aspx |
|
|
|
|
|