Preview

Graphical User Interface and Lt

Good Essays
Open Document
Open Document
2429 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Graphical User Interface and Lt
VBScript Input/Process/Output Lab Objectives
In this lab, students will complete the following objectives. 1 • Create a VBScript Program using NotePad++. 2 • Learn various objects and methods used for data input. 3 • Learn various objects and methods used for the display of data.

Element K Network Connections

For this lab, we only need to connect to vlab-PC1. This is the computer on the left side. If you leave the cursor on the PC icon for a few seconds, a tool-tip message will appear indicating the hostname of the PC.

Note: All captures of Script code must be text only, DO NOT capture the NotePad++ application window. Script run to the Command Prompt or NotePad++ Console window must also Text only capture. Runs of programs that display a Desktop window required <Alt><PrtSc> to capture the output window.

Task 1: Practice using NotePad++

Before starting VBScript Input/Output lab, you should practice using NotePad++ to run and debug VBScript programs.

1. Open the NotePad++ program by double-clicking on the NotePad++ desktop icon or single-clicking on the Quick Launch bar NotePad++ icon.

2. Click on the File/Open toolbar icon (or use the File/Open menu option). Navigate to the C:\Scripts\Demos directory and select the EchoDemo.vbs program. Click the Open button.

3. The EchoDemo.vbs program should appear in NotePad++ as shown below.

* To run the program, press the <F6> function key and type cscript EchoDemo.vbs and click OK as shown below. CScript is the WSH Interpreter for running VBScript programs in a console window.

4. The program output is shown in the Built-in Console window in NotePad++. The Console window may be docked on the top, bottom, left or right side of the screen. For longer program runs, docking the console window on the right-hand side is recommended.

5. Run the program again by pressing the <F6> function key, but this time type wscript EchoDemo.vbsand

You May Also Find These Documents Helpful

  • Good Essays

    C) Click the down arrow on the Debug list box, and then click on Release.…

    • 3668 Words
    • 15 Pages
    Good Essays
  • Satisfactory Essays

    Lab 18

    • 490 Words
    • 3 Pages

    Take a screen shot of the Connect to a Workplace Wizard showing the page you just configured by pressing Alt+Prt Scr, and then paste the resulting image into the Lab 18 worksheet file in the page provided by pressing Ctrl+V.…

    • 490 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Comp230 Week 5

    • 1799 Words
    • 8 Pages

    strComputer = ". " Set objWMIService = GetObject _ ("winmgmts:\\" & strComputer & "\root\CIMV2") Set colOperatingSystems = objWMIService.…

    • 1799 Words
    • 8 Pages
    Satisfactory Essays
  • Satisfactory Essays

    4. What do use if you want to display a text file one screen at a time?…

    • 1070 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Week 3 Ilab

    • 367 Words
    • 2 Pages

    In the space provided below, copy and paste your NetShareServer.vbs Program Code: cscript NetShareServer.vbs Process started >>> Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Current Network Shares Users New Network Shares PublicData Users \\vlab-PC1\PublicData Share will be Available for 60 Seconds!!…

    • 367 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Shell is a built in Visual Basic function that executes a command line and returns a handle to that process. Shell takes an optional argument that controls the window style of the new process (maximized, normal, hidden, etc.).…

    • 258 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Computer Class

    • 293 Words
    • 2 Pages

    2. Open the SaveAs dialog box to save the file as “screenshot.rtf” but before you click the OK button to actually save the file; perform a screenshot of the SaveAs dialog window using the PrintScrn key or Snipping Tool.…

    • 293 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Risk vs Cisk

    • 670 Words
    • 3 Pages

    Consider the the program fragments: mov ax, 0 mov bx, 10 mov cx, 5 add ax, bx loop Begin…

    • 670 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Hi Everyone.

    • 326 Words
    • 2 Pages

    * You have to tell the computer, step by step, exactly what you want it to do. The computer then “executes" the program, following each step to accomplish the end goal.…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    7/31/2014 Objectives • • Chapter 5 • • • Menus, Common Dialog Boxes, Sub Procedures, and Function Procedures McGraw-Hill 5-2 Copyr ight © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved.…

    • 1542 Words
    • 16 Pages
    Good Essays
  • Powerful Essays

    Ms Dos

    • 896 Words
    • 4 Pages

    In the personal computer operating systems MS-DOS and PC DOS, a number of standard system commands were provided for common tasks such as listing files on a disk or moving files. Some commands were built-in to the command interpreter; others existed as external commands on disk. Over the several generations of DOS, commands were added for the additional functions of the operating system. In the current Microsoft Windows operating system a text-mode command prompt window can still be used. A command can be given in Capitals or Small letters also. C :\> is known as DOS/command prompt, where we give the commands.…

    • 896 Words
    • 4 Pages
    Powerful Essays
  • Powerful Essays

    16f873A to be translated according to the program preinstalled in the PIC. Based on the command, the PIC sends a…

    • 2690 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    Anki

    • 1046 Words
    • 5 Pages

    3. The file will load at the bottom of your screen. Click on the right and select 'open' when it is finished…

    • 1046 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Horizzon

    • 417 Words
    • 3 Pages

    8) Click on Test and you will see your 9) Your input device (MIC) will be…

    • 417 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Management Stategic

    • 1060 Words
    • 5 Pages

    • X WS1 WS2 WS3 WS4 WS5 Output • Keterangan: WS : Workstation (stasiun kerja)…

    • 1060 Words
    • 5 Pages
    Good Essays