VBSCRIPT calling

This is a discussion on VBSCRIPT calling within the Cold Fusion forums in Application Servers & Tools category; Is it possible to call VBScript function through CFM pages ? ThePolarExpress...

Go Back   Application Development Forum > Application Servers & Tools > Cold Fusion

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-26-2008, 12:55 PM
thepolarexpress
Guest
 
Default VBSCRIPT calling


Is it possible to call VBScript function through CFM pages ?


ThePolarExpress
Reply With Quote
  #2  
Old 08-27-2008, 01:26 AM
BKBK
Guest
 
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  
Old 08-27-2008, 02:00 AM
BKBK
Guest
 
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


All times are GMT -5. The time now is 06:58 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.