?
Solved

Script selection list (VBA/VBS rather than VB)

Posted on 2004-04-14
4
Medium Priority
?
446 Views
Last Modified: 2012-06-27
I have some users that just can't seem to learn how to type. Typing in a value without a typo just isn't possible.

I need to be able to present them with a selection list (like in HTML? <SELECT / <OPTION and all that?) but I need to do it from a batch script. I can re-write in vbs or js or cscript or wscript or whatever. I do not have Visual Basic. This question is really about VBA/VBS rather than VB, but there doesn't seem to be a better place to post it.

I just can't believe that with all the neat things you can do in a script on an NT system, you can't find a way to pop up a list of options and let them click or arrow up and down to their selection.
0
Comment
Question by:JamesNewton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 10830418
In VBA you can put a ListBox on a Form:

Private Sub UserForm_Initialize()
    ListBox1.AddItem "Choice 1"
    ListBox1.AddItem "Choice 2"
End Sub

Private Sub CommandButton1_Click()
    MsgBox ListBox1.Text
End Sub
0
 
LVL 2

Author Comment

by:JamesNewton
ID: 11122040
http://wizapp.sourceforge.net/ Does EXACTLY what I wanted. Refund points please?
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 11441013
PAQed, with points refunded (500)

Netminder
Site Admin
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question