Adobe Dreamweaver Forums



Last 10 THreads :         screen readable output (section 508) (Last Post : Peter Grainge - Replies : 5 - Views : 6 )           »          Calling a Javascript Function (Last Post : Joergen N - Replies : 1 - Views : 3 )           »          A little help Plx..On data base linking (Last Post : garoufal - Replies : 0 - Views : 1 )           »          DateValidator problem (Last Post : SujitG - Replies : 1 - Views : 2 )           »          Print multiple pages (Last Post : SujitG - Replies : 1 - Views : 2 )           »          Flash connecting to database, loading pictures (Last Post : ChickenSupreme - Replies : 1 - Views : 2 )           »          Screens get distorted (Last Post : Geetartha Kashyap - Replies : 0 - Views : 1 )           »          How large is Extremely large? (Last Post : SeaBream - Replies : 3 - Views : 4 )           »          Rate My Site Please (Last Post : Maneet Puri - Replies : 5 - Views : 6 )           »          Ini Flash component properties on beginSprite event (Last Post : DAVID NAJAR - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Cold Fusion
 
Tags:



Reply
  #1 (permalink)  
Old 10-01-2008, 03:56 AM
thepolarexpress
 
Posts: n/a
Diggs:
Default VBSCRIPT calling


Is it possible to call VBScript function through CFM pages ?


ThePolarExpress


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-01-2008, 03:56 AM
BKBK
 
Posts: n/a
Diggs:
Default Re: VBSCRIPT calling

Either will do.

<script type="text/vbscript" src="url_to_script_file"></script>

<script type="text/vbscript">
// script code
</script>


Reply With Quote
  #3 (permalink)  
Old 10-01-2008, 03:56 AM
BKBK
 
Posts: n/a
Diggs:
Default Re: VBSCRIPT calling

Just seen your other thread. To run the script at server side, I would do as
Dan, and use cfexecute. Something along the lines of

<cfexecute name = "C:\WinNT\System32\cscript.exe"
arguments = "/nologo C:\ColdFusionCentaur\wwwroot\website\listFiles.vbs
c:\*.*"
outputFile = "C:\Temp\output.txt"
timeout = "5">
</cfexecute>



Reply With Quote


  #4 (permalink)  
Old 10-01-2008, 03:56 AM
BKBK
 
Posts: n/a
Diggs:
Default Re: VBSCRIPT calling

Either will do.

<script type="text/vbscript" src="url_to_script_file"></script>

<script type="text/vbscript">
// script code
</script>


Reply With Quote
  #5 (permalink)  
Old 10-01-2008, 03:56 AM
BKBK
 
Posts: n/a
Diggs:
Default Re: VBSCRIPT calling

Just seen your other thread. To run the script at server side, I would do as
Dan, and use cfexecute. Something along the lines of

<cfexecute name = "C:\WinNT\System32\cscript.exe"
arguments = "/nologo C:\ColdFusionCentaur\wwwroot\website\listFiles.vbs
c:\*.*"
outputFile = "C:\Temp\output.txt"
timeout = "5">
</cfexecute>



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
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:00 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk