CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > migration_to_asp.net.migrating_from_cold_fusion_to_asp.net Tags:
Item Type: NewsGroup Date Entered: 12/10/2005 6:52:00 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 30 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
paskettj
Asp.Net User
Cold Fusion can do it! How can I get VB to do it?12/10/2005 6:52:00 PM

0/0

I need to convert a Base32 string to Base10. Cold Fusion does it with InputBaseN. I need this same functionality in VB .Net so I can migrate to ASP .Net.  Please Help!

<!-- Example -->
<cfset B32string = "M75L67">  
<cfset B10string = InputBaseN(B32string,32)> 
<cfoutput>#B10string#</cfoutput>   <!-- Renders 745723079 -->

consultutah
Asp.Net User
Re: Cold Fusion can do it! How can I get VB to do it?12/16/2005 4:43:04 PM

0/0

Convert.ToInt32(B32string, 32)
paskettj
Asp.Net User
Re: Cold Fusion can do it! How can I get VB to do it?12/17/2005 5:39:01 PM

0/0

I've already tried that with no success.  If you were successful please post how you resolved it.  I'm still at a loss
consultutah
Asp.Net User
Re: Cold Fusion can do it! How can I get VB to do it?12/17/2005 9:46:24 PM

0/0

Sorry about that, I didn't realize that Convert.ToInt32 only did standard radix'es.

Luckily for you, though, it shamed me into writing a quick function that will do it for you.  I'm sure that it could be refactored, but for base 32, it matched every value I tried.  I didn't try other bases though...

http://consultutah.com/downloads/CfCompat.Math.zip

This zip contains a dll built with .NET v1.1 and the source to the function itself.  Usage is:
CfCompat.Math.InputBaseN("M75L67", 32)


paskettj
Asp.Net User
Re: Cold Fusion can do it! How can I get VB to do it?12/18/2005 3:08:53 AM

0/0

This is awesome and I thank you for all your work here.  This is a standard function in Cold Fusion and now the entire community has a version for .Net thanks to you.  Thanks again.

Jon

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Dreamweaver 8: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 936, Published: 2006
Macromedia ColdFusion MX 7 Web Application Construction Kit: web application construction kit Authors: Ben Forta, Raymond Camden, Leon Chalnick, Angela C. Buraglia, Pages: 1440, Published: 2005
Inside ColdFusion MX Authors: John Cummings, Neil Ross, Robi Sen, Pages: 864, Published: 2002
Platinum Edition Using XHTML, XML and Java 2: Using XHTML, XML and Java 2 Authors: Eric Ladd, Jim O'Donnell, Mike Morgan, Andrew H. Watt, Pages: 1413, Published: 2001
Beginning ASP.NET 1.0 with Visual Basic.NET: With Visual Basic .NET Authors: Chris Goode, John Kauffman, Rob Birdwell, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Ollie Cornes, Dave Sussman, Matt Butler, Gary Johnson, Chris Ullman, Ajoy Krishnamoorthy, Juan T. Llibre, Pages: 816, Published: 2002
Foundation Flex for Developers: Data-Driven Applications with PHP, ASP. Net, Coldfusion, and LCDs Authors: Sas Jacobs, Koen de Weggheleire, Pages: 545, Published: 2007
Web Sites Do-It-Yourself For Dummies: Do-it-yourself Authors: Janine Warner, Pages: 312, Published: 2007
Dreamweaver MX 2004: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 836, Published: 2004
Inside Flash Authors: Jody Keating, Tom Pizer, Fig Leaf Software (Firm), Pages: 1008, Published: 2001

Web:
Cold Fusion can do it! How can I get VB to do it? - ASP.NET Forums Cold Fusion can do it! How can I get VB to do it? Last post 12-17-2005 10:08 PM by paskettj. 4 replies. Sort Posts: ...
Cold Fusion can do it! How can I get VB to do it? - ASP.NET Forums Hmm [^o)] Cold Fusion can do it! How can I get VB to do it? ... Big Smile [:D] Re: Cold Fusion can do it! How can I get VB to do it? ...
Migrating from ColdFusion to ASP.NET NET arrays can be either nested arrays-of-arrays (or jagged arrays), as in ColdFusion, or true multi-dimensional arrays. Arrays in Visual Basic. NET do not ...
ASP.NET: Bringing bad VB to the Web | Joe Rinehart on ColdFusion ... Coldfusion doesn't. Admittedly, we don't have Model-Glue but we do have Maverick .Net and Spring.Net Web is coming along great. Language -------- You can ...
visual basic, vb, active server pages (ASP),java, javscript,c, c++ ... I am able to get it wright. Please read this code and do vote for me. ... Output excel file easy with ColdFusion MX. Hi Many years ago i wrote an article ...
VB NET get image from access database and do simple manip ... Project In case you already have an account with RentACoder, You can check Projects Details and Apply for get image from access database and do simple manip . ...
ColdFusion Tutorials - EasyCFM.COM This is not a tutorial as such, more like an application that you can put in a ... All you do is "enable paging". But how do you do it in ColdFusion ? ...
What can ColdFusion do? - Dev Shed Aug 19, 2008 ... Visit Dev Shed to discuss What can ColdFusion do? ... Hopefully that gives you enough initial information to get started. ... vB code is On ...
XML & Cold Fusion... ? - How do I read an XML doc in CF? [Archive ... The thing I don't like about Cold Fusion (and VB to an extent) is it ... I can get the whole xml thing happening no probs, but changing them ...
ColdFusion Tutorials - EasyCFM.COM All you do is "enable paging". But how do you do it in ColdFusion ? ... gives an introduction to flash forms which can be implemented using Coldfusion 7.0 ...




Search This Site:










conversion from coldfusion to asp.net - please help

querystring request equivalent in asp.net 2.0

basic needs to make the transition from cf to .net

incredible no help or support for basic things like posting a value to another page

event calendar

converting from coldfusion to asp.net newbie questions

current cf dev with some questions about migrating over...

migrating from coldfusion to asp.net

datagrid

cfm variable to asp variable

who is ben forta's asp.net?

three selects lists (dropdowns) related

converting coldfusion to asp.net

silly question...

changing coldfusion queries to store procedures

from cold fusion to...c# or vb...?

md5 algorithim is different when i use in vb.net, then it is used in cold fusion

is it possible to duplicate cf schedule in asp.net?

migrate cf to asp.net2

cf and .net framework side by side?

asp.net vs coldfusion

comparison: cold fusion vs. asp.net

need help translating fileexists from cfml to asp.net

coldfusion vs asp

newb coming from cf

questionnaires

whats better? coldfusion or visual studio.net & asp.net ??

cold fusion to asp.net

any sites or samples that shows coldfusion & asp.net working together?

functions in coldfusion and asp.net

  Privacy | Contact Us
All Times Are GMT