![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Jul 2004
Location: Hampshire
Posts: 56
Rep Power: 5
![]() |
Converting javascript to Visual Basic.NET
I have a javascript code i would like to convert to VB .NET.
How hard would this be considering i'm just converting it to another language. It is an MD5 script. Would it just be a case of replacing the statements from javascript to VB? Thanks, Emdiesse |
|
|
|
|
|
#2 |
|
Professional Programmer
|
you're going to have to convert the statements, yes, but also the structure from js to vb. You're basically going to end up rewriting the js script in vb, expect you'll have the js script as a template.
|
|
|
|
|
|
#3 |
|
Expert Programmer
|
But... there are perfectly good MD5 routines in the .NET framework, which will be significantly faster, not to mention numerous MD5 implementation examples readily available in VB already.
|
|
|
|
|
|
#4 |
|
Programmer
Join Date: Jul 2004
Location: Hampshire
Posts: 56
Rep Power: 5
![]() |
Thanks for the reply, i was hoping it would only be the statements, ah well, such is life.
I could still have a go i suppose but using the .NET MD5 routines. Thanks for the replies ![]() |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
|
if you're talking about doing it for making an ASP .Net webpage, then you can actually use your javascript code using a little thing called registerclientscript()
__________________
I have never let my schooling interfere with my education. -Mark Twain- Xbox live gamertag: melbolt |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|