windows nt1 in the lower left hand corner of the windows screen we see the windows start button. the...

14
Windows NT 1 Windows NT In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other programs may be shown. Running programs are shown along the bottom.

Upload: colleen-melton

Post on 04-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 1

Windows NT

In the lower left hand corner of the Windows screen we see the Windows Start button.

The My Computer icon is at the top of the window.

Other programs may be shown.

Running programs are shown along the bottom.

Page 2: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 2

Use of “My Computer”

• Double clicking on the “My Computer” icon will invoke the process shown.

• There are four views of the data, two are shown.

• Normally, only one view of the window will appear until you open sub-menus.

Page 3: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 3

Copying Files

• Open two “My Computer” windows, one for the area with files in it and one for the destination area

• Mark file(s) in first window to be copied

• Click on Edit-Copy

• Move to other window

• Click on Edit-Paste

Page 4: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 4

Single and Multiple Files

(1) Click left hand button to select one file and to deselect all others.

(2) While holding down Ctrl, click to add a file to selection list.

(3) While holding down Shift, click to add a range of files to selection list.

Page 5: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 5

(Hint for Later)

This business of Click, Ctrl-Click, and Shift-Click will come in very handy later when you wish to select Objects in Visual Basic (VB) for various kinds of manipulation.

When you want to resize, change font, or move a group of objects, the Ctrl and Shift-Click really works to your advantage.

Page 6: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 6

Engineering Lab Drives

The Engineering Laboratory has several drives available to you. In general they are named A, C, I, Q, R & S.

A: The floppy disk drive, 3.5 inch, 1.4 (or 0.7) megabytesC: The local hard drive, belongs to the machine you are

sitting in front of (the local machine). I: A part of the disk “farm”. Each of us has his own copy of

drive “I” with a 40 megabyte capacity.Q, S: The software “farm”. You may execute some files,

copy other but cannot change any of them.R: A part of the disk “farm” with special software for each

class. R:\cs132 contains class material.

Page 7: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 7

Engineering Lab Drives

Page 8: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 8

I & M T Lab Drives

Drive P on this system is not the same space as Drive I in the Engineering lab system.

Page 9: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 9

Visual Basic (VB)

We will be using the Engineering Laboratory to study programming in the Visual Basic Language.

This language is one of the tools we will use, it is installed in the Engineering Laboratory, it might also be installed on your computer at home or at work.

In the pictures that follow we will examine how that tool is installed in the Engineering Laboratory, other machines will most certainly differ.

Page 10: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 10

Accessing Visual Basic (VB)

Page 11: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 11

Visual Basic Files

• When you save a program in VB several files are created.

• The two that are most significant are the .frm and the .vbp files, the form and program files.

• Both of them are text files.

Page 12: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 12

The File Blink.frm

Begin VB.Form Form1 Private Sub blink_Click()If blink.Caption = "blink on" Then Timer1.Interval = 500 blink.Caption = "blink OFF" Else Timer1.Interval = 0blink.Caption = "blink on" End IfEnd Sub. . .

Page 13: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 13

The File Blink.vbp

Type = Exe

Form = A:\BLINK.FRM

Name="Project1"

RevisionVer = 0

AutoIncrementVer = 0

ServerSupportFiles = 0

VersionCompanyName="UWM EECS Dept."

. . .

Page 14: Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other

Windows NT 14

The Moral of the Story

A FEATURE, not a failure, of VB is that it allows a program file on drive A to use a form file on drive I.

Thus saving (or copying) a program file to another directory or drive will not change the form file it addresses unless you rename form file first and then resave the program file

If you wish to transport your program on a floppy disk, BE SURE to copy both the .FRM and the .VPB files.