Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


[Resovled] - Getting a variable from an Input Box

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> [Resovled] - Getting a variable from an Input Box
  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 >>
 [Resovled] - Getting a variable from an Input Box - 12/31/2006 12:56:27 PM   
  netman06

 

Posts: 108
Score: 0
Joined: 10/19/2006
Status: offline
Hello,
 
I have a problem with getting a variable from an Input Box. I do not get an error it just bypass the statement.
 
Original Statement: Which works
wmiQuery = "Select * From win32_service Where name = 'messenger'"
 
Modified Statement: Does Not work
'wmiQuery = "Select * From win32_service Where name = '(returntext1)'"
 
I have an Input box that captures the returntext1, which should be the Windows Services Service Name, IE Messenger.
 
I guess it has something to do with the '(returntext1)'", but I can not find it
 
should it be 'returntext1'"
or (returntext1)
 
If anyone can help me find the problem here, that would be fantastic.
 
Thanks,
 
Mike

< Message edited by netman06 -- 12/31/2006 4:55:18 PM >
 
 
Post #: 1
 
 RE: [Resovled] - Getting a variable from an Input Box - 1/2/2007 12:03:11 AM   
  mbouchard


Posts: 1924
Score: 16
Joined: 5/15/2003
From: USA
Status: online
I am glad you were able to figure this out for yourself, but what was the answer?  Knowing this might help others.

_____________________________

Mike

For useful Scripting links see the Read Me First stickey!

Always remember Search is your friend.

(in reply to netman06)
 
 
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 >> [Resovled] - Getting a variable from an Input Box 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