English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Couple of questions about VBScripting... first, I have a script that performs a server hardware inventory; currently I have an input box prompt for the user to provide servername and the script runs fine. But when I go to compile it, I get errors "declaration expected." How can I build the prompt for the servername variable into the compiled script?

-Second: how to create a single script that calls three or four other scripts?

I'm pretty much a newbie to VBScripting and I'm learning on the fly so please forgive anything I've called by the wrong name, etc. I will be glad to post snips of my scripts if that helps. Most of them came straight from the Microsoft scripting center! :)

Thanks!

2006-09-25 06:53:48 · 1 answers · asked by dcgirl 7 in Computers & Internet Programming & Design

1 answers

You need to declare every variable you want to use.

You really should ask this question on a different site - this site is not very good for interaction. For example, you can post all your code, but if I don't check back, I'll never know that you did.

Couple of sites I use include www.experts-exchange.com and www.tek-tips.com - these sites notify anyone participating in the question with an email whenever someone posts, so your problem can actually be solved in a timely manner.

2006-09-25 07:05:16 · answer #1 · answered by lwcomputing 6 · 0 0

fedest.com, questions and answers