Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you create a 'browse' button using vbscript?

Status
Not open for further replies.

k33

Technical User
Apr 10, 2003
20
US
Can you create a 'browse' button in vbscript? Browse for drives, folders and files. I cannot find any online examples. Thanks
 
"VBScript" is a little vague. What scripting host are we talking about?

The details differ for a WSH vs. an IE HTM or an IE HTA. I'm sure Office programs have yet other differences.

In any case you need a license for the MS Common Dialog control if you want to go that way. I haven't found a way to use a licensed control in a WSH script without having a developer license installed on the machine running the WSH. An HTA can be made portable using the ActiveX License Manager component.

There is an HTA sample at:


Scroll down to "vbsForm."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top