Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 2nd, 2005, 9:54 AM   #1
emdiesse
Programmer
 
Join Date: Jul 2004
Location: Hampshire
Posts: 56
Rep Power: 5 emdiesse is on a distinguished road
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
emdiesse is offline   Reply With Quote
Old Nov 2nd, 2005, 10:57 AM   #2
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
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.
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Nov 2nd, 2005, 1:31 PM   #3
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
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.
Rory is offline   Reply With Quote
Old Nov 2nd, 2005, 3:49 PM   #4
emdiesse
Programmer
 
Join Date: Jul 2004
Location: Hampshire
Posts: 56
Rep Power: 5 emdiesse is on a distinguished road
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
emdiesse is offline   Reply With Quote
Old Nov 21st, 2005, 8:52 PM   #5
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 244
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
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
melbolt is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:17 AM.

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