» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > ASP forums and Tips

ASP forums and Tips Talk about ASP Scripting. .net and Cold Fusion as well.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-25-2006, 10:28 AM
defretis defretis is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
defretis is on a distinguished road
Default Turning coldfusion into ASP using VBscript

Hi all,

I am very very new to ASP. I am trying to turn a page I have in coldfusion into ASP using VBscript. There are some functions in coldfusion that I can't find comparable functions in vbscript. Any help would be greatly appreciated.

The functions I am trying to convert is the
valueList(passes a field from a recordset) and
listContains(variable1, variable2)

Here is the coldfusion as it appears on my pages

Code:
<cfquery name="getGlossary" datasource="#DSN#">
SELECT *
FROM glossary
ORDER BY first_character, name
</cfquery>

<cfset alphaList = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y ,Z">
<cfset glossaryAlphaList = valueList(getGlossary.first_character)>

<cfoutput>
<cfloop list="#alphaList#" index="alpha">
<td width=&qu -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-25-2006, 10:33 AM
bennet bennet is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bennet is on a distinguished road
Default

Use coldfusion code on a coldfusion web server. Converting the code will probably end up as an exercise in futility, unless it's only one or two small functions you need to convert. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
VBScript runtime error bond ASP forums and Tips 1 08-26-2006 01:26 PM
"Microsoft VBScript runtime (0x800A0046) Permission denied" edgy ASP forums and Tips 2 08-17-2006 12:56 PM
GlobalWebBrands Introduces ASP.Net and ColdFusion MX outsourcingplans Web Hosting Industry 0 05-16-2006 06:44 PM
Fresh Look Hosting Introduces ColdFusion MX7 Hosting outsourcingplans Web Hosting News 0 12-10-2005 03:27 PM
Microsoft VBScript runtime error (0x800A0009) johny ASP forums and Tips 1 12-08-2005 05:57 AM


All times are GMT. The time now is 12:04 PM.