Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


request Parameter

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,540
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> request Parameter
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 request Parameter - 12/20/2001 8:05:25 AM   
  cagla_boy

 

Posts: 2
Score: 0
Joined: 12/20/2001
From: Turkey
Status: offline
I wonder if it is possible to request a parameter with vbscript.
In ASP I can take the parameter
Request.form("parametre") or Request.querystring("parameter")
how can I do this using vbscript.
I look forward for your answer.
Thanks.
 
 
Post #: 1
 
 Re: request Parameter - 12/20/2001 8:26:25 PM   
  imav8n

 

Posts: 95
Score: 0
Joined: 7/3/2001
From: USA
Status: offline
Something like this maybe???

----------------------------------------------------------------
Set WshShell = Wscript.CreateObject("Wscript.shell")
Set objArgs = WScript.Arguments

Argument0 = objArgs(0)
Argument1 = objArgs(1)

msgbox "Arguments you entered" & vbcrlf & "Parameter 1: " & Argument0 & vbcrlf & "Parameter 2: " & Argument1

-----------------------------------------------------------------

~imav8n
Failure is not an option.....it comes bundled with the software.


Edited by - imav8n on 12/21/2001 02:31:04

(in reply to cagla_boy)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> request Parameter Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts