PDA

View Full Version : VBS: Scripting Problem, How can I do it ?


2sw33t
11-17-2008, 05:10 PM
Im having a problem with a question that says,

Write a function that extracts and displays characters 7-12 of a string that is entered from the keyboard.

- Place this function in a script.

- If no character are enterede from the keyboard the script should terminate with an error message

- If user presses either Esc or Cancel from the imputbox the script should terminate with an appropriate but different message
from the previous error message.

Dont know how to do it, does anyone know.

I will be happily and appreciated if you can help me

thanks,

trochia
11-17-2008, 07:06 PM
This sounds like schoolwork you are doing?