Preview

cloud

Satisfactory Essays
Open Document
Open Document
2069 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
cloud
VBScript Modular Programming Lab

Objective
In this lab, students will complete the following objectives.
Create a VBScript program using NotePad++.
Use procedures to modularize a VBScript program.
Create a library of procedures.
Run library procedures from a separate VBScript program.

Element K Network Connections

For this lab, we will only need to connect to vlab-PC1. The computer vlab-PC1 is the computer on the left side while vlab-PC2 is on the right. 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. Open vlab-PC1 and log in as Administrator with the password password.

Note: All captures must be text only—DO NOT capture the NotePad++ application window or the command prompt window. Use copy and paste of text only.

Task 1: Ensure that the PC_Tests Scripts are in C:\Scripts\

Open the Windows CLI Using the Desktop or Quick Launch Command Prompt icon. Change Directory to the C:\Scripts\ folder (cd \Scripts). Verify that the files PC_Tests.cmd and PC_Tests.vbs exists in this directory. If the files are absent, they can be extracted from the downloaded Doc Sharing file PC_Tests.zip.

Task 2: Open C:\Scripts\PC_Tests.cmd in NotePad++

Open NotePad++ and use File/Open to view the C:\Scripts\PC_Tests.cmd script file in the Editor window.

An analysis of the PC_Tests.cmd Batch script program is shown on the next page.

Task 2: Analyze the Batch Script File PC_Tests.cmd

One of the drawbacks of using VBScript instead of a full-featured programming language such as C++ or Java is the fact that VBScript does not have the capability to clear the command prompt screen. This is one of the things we need to do with our menu-driven PC_Tests program each time the menu is re-displayed. Since we can’t do this in VBScript, we will do it in a Batch script file.

Look at the PC_Tests.cmd Batch script shown on the right. The script performs the following tasks.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    english 102 flylab

    • 1335 Words
    • 6 Pages

    Exploration: Answer the questions. The questions in the Exploration section are the same questions in your FlyLab instructions.…

    • 1335 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    After typing the above command press A (Capital a). You will see the below output.…

    • 537 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    I do not have the program ,Please help me how to get the (Test Universe software).…

    • 57 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    It-260 Worksheet

    • 512 Words
    • 3 Pages

    Press Ctrl+Prt Scr to take a screen shot of the Installation Results page in the Resume Configuration Wizard. Press Ctrl+V to paste the image on the page provided in the lab01_worksheet file.…

    • 512 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Comp230 Week 5

    • 1799 Words
    • 8 Pages

    Next End Sub ' Menu Driven Computer / Network Tests ' This…

    • 1799 Words
    • 8 Pages
    Satisfactory Essays
  • Good Essays

    Whenever, we get any problem from the cmd exe error, then we ask this question to ourselves. Just like, when we try to run the cmd.exe in our Windows XP, then we get an error, saying Windows cannot find the C: Windows System32 cmd exe file. Then it orders us to check the name correctly and try again. This happens when we try to run it by clicking on it in the start bar, or if we find it in the System32 folder. And if we run it as an administrator, then also it gives the same error.…

    • 552 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Week 6 Lab

    • 313 Words
    • 2 Pages

    * Use <Alt><PrtSc> to capture a copy of the Simulation Execution dialog shown below and paste it into your lab document.…

    • 313 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    cloudstreet

    • 1980 Words
    • 6 Pages

    Reading Tim Winton's rollicking, heartbreaking, hopeful saga, Cloudstreet, you are immersed in Australia: its histories, its peoples, its changing values, and its multiple longings. It is Australia imagined large and sprawling, but also in ordinary, intimate detail from a particular dot on the map: working class Perth, Western Australia, from the 1940s to the 1960s. Humorously, lyrically and poignantly, the novel probes questions of where and how to belong. Always already transient and haunted, belonging is a precious but fragile dream, in the midst of family, friends and neighbours. As the Pickles family move into the big, trembling house at number one Cloud Street,…

    • 1980 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    In the space provided below to copy and paste the remainder of your VBScript sourcecode.…

    • 642 Words
    • 3 Pages
    Powerful Essays
  • Powerful Essays

    Bis Tutorail Answer

    • 7855 Words
    • 32 Pages

    BUSINESS INFORMATION SYSTEMS 100 (BENTLEY) (10830-UX-061-01-XXX-XX) > CONTROL PANEL > TEST MANAGER > TEST CANVAS…

    • 7855 Words
    • 32 Pages
    Powerful Essays
  • Better Essays

    Bring together the prompt script. See the set designer for a plan of set if accessible.…

    • 1511 Words
    • 7 Pages
    Better Essays
  • Satisfactory Essays

    References: Microsoft Corporation. (2013, October 17). Scripting with Windows PowerShell. Retrieved April 7, 2014, from Microsoft TechNet: http://technet.microsoft.com/en-us/library/bb978526.aspx…

    • 371 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Running Rsa as Service

    • 323 Words
    • 2 Pages

    After configuring the RSA polling settings. Please perform the followinf steps for running RSA as a service on the local server.…

    • 323 Words
    • 2 Pages
    Good Essays
  • Better Essays

    References: for Software Development using Microsoft Office Products 3) Solomon, Christine, "Microsoft Office 97 Developer 's Handbook", Microsoft Press, Redmond,Washington,1997 4) Microsoft Corp.,"Microsoft Office 97 Visual Basic Programmer 's Guide"; Microsoft Press, Redmond,Washington, 1997 5) O 'Brien,T.M. & Pogge,S.J. & White,G.E.,"Microsoft Access 97 Developers Handbook", Microsoft Press, Redmond,Washington, 1997 6) Smith,Robert & Sussman,David,"Beginning Access 97 VBA Programming",Wrox Press Ltd.,Birmingham,UK,1997 7) "Visual Basic Programmer 's Guide, Version 5.0",Document No. DD93011-1296, Microsoft Corp., Redmond,Washington, 1997 8) Craig,J.C. & Webb,J.,"Miscosoft Visual Basic 5.0 Developer 's Workshop", Fourth Edition, Microsoft Press, Redmond,Washington,1997 9) Mann, Anthony,"Visual Basic 5.0 Developer 's Guide",Sams Publishing,Indianapolis,1997 10) Haught,D. & Ferguson,J.,"Microsoft Jet Database Engine Programmer 's Guide",Second Edition,Microsoft Press,Redmond,Washington,1997 Nuclear & Engineering Standards Summary (Partial List) 11) ANSI/IEEE-ANS-7-4.3.2, Application Criteria for Programmable Digital Computer Systems in Safety Systems of Nuclear Power Plants 12) ANSI/ANS-10.2,Recommended Programming Practices to Facilitate the Portability of Scientific and Engineering Computer Programs 13) ANSI/ANS-10.3,Guidleines for the Documentation of Digital Computer Programs 14) ANSI/ANS-10.4,Guidelines for the Verification & Validation of Scientific and Engineering Programs for the Nuclear Industry 15) ANSI/ANS-10.5,Guidelines for Considering User Needs in Computer Program Development 16) ANSI/ASME NQA-1,Quality Assurance Program Requirements for Nuclear Facilities 17) ANSI/ASME NQA-2 Part2.7,Quality Assurance Requirements of Computer Software for Nuclear Facility Applications 18) IEEE STD 1033,IEE Recommended Practice for Application of IEEE STD 828 to Nuclear Power Generating Stations 19) NUREG/CR-4640,Handbook of Software Quality Assurance Techniques Applicable to the Nuclear Industry 20) Regulatory Guide 1.152,Criteria for Programmable Digital Computer System Software in Safety-Related Systems of Nuclear Power Plants. 21) ANSI/IEEE Std 729,Glossary of Software Engineering Terminology 22) ANSI/IEEE Std 730, Software Quality Assurance Plans 23) ANSI/IEEE Std 828,Software Configuration Management 24) ANSI/IEEE Std 829,Software Test Documentation 25) ANSI/IEEE Std 830,Software Requirements Specifications 26) ANSI/IEEE Std 1008,Software Unit Testing 27) ANSI/IEEE Std 1012,Software Verification And Validation Plans 28) ANSI/IEEE Std 1016,Software Design Description…

    • 3465 Words
    • 14 Pages
    Better Essays
  • Good Essays

    Cloud 9

    • 836 Words
    • 4 Pages

    “Come one and all for England, rally to the flag... From North and South and East and West Come one and all for England!” (Cloud 9) Act one of Cloud Nine by Caryl Churchill is set in a British African colony in the nineteenth century. The first scene takes place on the verandah of a house. The scene also opens with an opening song introducing all the characters in the show. Before the show even starts, the actors come out, not fully dressed, and warm up. I think that this was a director’s choice to show the audience which characters are female and which ones are male. Evelyn Gaynor was one of the actresses who came out before the show in a wig cap to show she was playing a boy in the first act. Evelyn does an excellent job with transitioning from a male in act one to playing a female in the second act.…

    • 836 Words
    • 4 Pages
    Good Essays

Related Topics