Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic .NET (http://www.programmingforums.org/forum19.html)
-   -   Converting javascript to Visual Basic.NET (http://www.programmingforums.org/showthread.php?t=6783)

emdiesse Nov 2nd, 2005 9:54 AM

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

Dizzutch Nov 2nd, 2005 10:57 AM

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.

Rory Nov 2nd, 2005 1:31 PM

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.

emdiesse Nov 2nd, 2005 3:49 PM

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 :D

melbolt Nov 21st, 2005 8:52 PM

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()


All times are GMT -5. The time now is 11:10 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC