Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Helo with my Script

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Helo with my Script
  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 >>
 Helo with my Script - 12/12/2006 10:40:52 PM   
  Booooom

 

Posts: 2
Score: 0
Joined: 12/12/2006
Status: offline
Hello,

I want to write a Function which will Open a dialog box where a User will be asked to fill several fields.
What I am looking for is something like Inputbox but which will enable me to get more than one input from the User.
For example:

First Name: "John" 
Last Name: "Donny"
Phone Number: "123443123123"

and when the User presses OK, I will have 3 Variables with those 3 inputs.

Thanks
 
 
Post #: 1
 
 RE: Helo with my Script - 12/12/2006 10:58:38 PM   
  ginolard


Posts: 1082
Score: 21
Joined: 8/10/2005
Status: offline
You can't really do that with InputBox.  I would recommend looking at a simple HTA to do that.

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to Booooom)
 
 
Post #: 2
 
 RE: Helo with my Script - 12/12/2006 11:49:36 PM   
  gdewrance


Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
would this help


      

(in reply to Booooom)
 
 
Post #: 3
 
 RE: Helo with my Script - 12/12/2006 11:53:20 PM   
  ginolard


Posts: 1082
Score: 21
Joined: 8/10/2005
Status: offline
Well, yes, obviously you can do it with 3 different InputBoxes.  I assumed he was asking for some sort of multi-line inputbox ;)

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to gdewrance)
 
 
Post #: 4
 
 RE: Helo with my Script - 12/12/2006 11:56:22 PM   
  gdewrance


Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
I see that.
That's why I posted it as 'would this help'

(in reply to ginolard)
 
 
Post #: 5
 
 RE: Helo with my Script - 12/13/2006 7:05:47 PM   
  Booooom

 

Posts: 2
Score: 0
Joined: 12/12/2006
Status: offline
Hey,
Thanks for the replies. I will look into the Code you posted however, I do want something like multi-line input box.
ginolard mentioned something called HTA. what exactly is HTA?

Thanks 

(in reply to gdewrance)
 
 
Post #: 6
 
 RE: Helo with my Script - 12/13/2006 7:09:30 PM   
  gdewrance


Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
check out ginolards post in post a script

http://www.visualbasicscript.com/m_40543/tm.htm

(in reply to Booooom)
 
 
Post #: 7
 
 RE: Helo with my Script - 12/13/2006 7:13:48 PM   
  gdewrance


Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
here is an example


      

(in reply to Booooom)
 
 
Post #: 8
 
 RE: Helo with my Script - 12/14/2006 1:09:31 AM   
  ebgreen


Posts: 5246
Score: 31
Joined: 7/12/2005
Status: online
Or you could read the "Read me first" post that is pinned at the top of the forum.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to gdewrance)
 
 
Post #: 9
 
 
 
  

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 >> Helo with my Script 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