F1
About F1Course ScheduleOther ServicesSite MapContactHome

Other Services

 
Exchange Server
Office (inc Access)
SQL Server
Visual Studio .NET
Windows
Web Development
Visual FoxPro
Programming
Business
Knowledge Management
Certification
Learning Options
Visual Basic 6 Enterprise (1016) Set-up Guide

Setting Up the Course

Classroom Requirements
This course requires a classroom with a minimum of one computer for the instructor and one computer for each student. Before class begins, install and configure all computers using the following instructions.

Instructor and Student Computers
Hardware Level 3

  1. A Pentium 133 computer
  2. 64 MB RAM
  3. A 2 GB hard disk
  4. A MPC2-compatible CD-ROM drive
  5. A network adapter
  6. A superVGA, 256-color monitor
  7. A Microsoft mouse or compatible pointing device
  8. For student computers: An MPC2-compatible sound card with headphones is recommended.
  9. A 3 1/2-inch floppy disk drive (Optional, but useful to allow students to take copies of their work or notebook files home.)
  10. For the instructor computer: An MPC2-compatible sound card with amplified speakers is required to present multimedia elements.
  11. For the instructor computer: A video projection device that displays 800x600x256c

Software
You will need the following disk sets to follow the setup instructions:

  • Windows® NT® Server 4.0 CD and setup disks
  • Microsoft® Visual Studio® 6.0 CD set
  • MSDN Library Visual Studio 6.0 release CD set
  • Mastering Enterprise Development Classroom CD

Reference Materials
All necessary reference materials are included in the Library section of the Mastering Enterprise Development Using Microsoft Visual Basic 6 CD-ROM.

Setup Instructions

Use the following steps to install and configure each computer.

These software installation instructions are for setting up a single-server computer to use for labs. Although other, multi-computer configurations can be used, this course is designed and tested for use on a single, large server running Windows NT Server 4.0.

These instructions are for a computer that has one hard drive containing one partition formatted with DOS 6.22. If you install on a different configuration, some instructions may vary.

These instructions assume you are installing software from the disk sets listed in the Software section. If you install the software from a network share, or Internet location, some of the instructions may differ, particularly the setup locations. If you install Visual Basic® from the Visual Basic Enterprise Edition CD rather than the Visual Studio CD, be aware that the OLEView.exe tool will not be installed. In this case you can install OLEView by running the OVI386.exe program found in the \Tools\OLEView directory on the Mastering Enterprise Development CD.

The instructor and student machines will have the same software configuration for a classroom setup. The only exception is the MTS Spy software. MTS Spy is necessary for the instructor machine for a demonstration in Chapter 4. MTS Spy is not necessary for the labs on the student machines, but you may choose to install it anyway as a useful tool for students to study. Software installation must be completed in the order shown below.

The estimated time to set up one computer is approximately 4 hours.

The instructions below list the dialog box or screen as they occur during setup and the action you need to take at that point. In some cases there is no specific dialog box or screen name and the instructions simply indicate the action to take during installation. It is important to follow each step sequentially. You can print out the instructions and use the Completed column to check off each step as you finish it.

1. Windows NT 4.0 Server

Dialog Box/Screen Name
or Description
Action Completed
Start Windows NT 4.0 Server Setup
Welcome to Setup Press the Enter key to continue setup.
Mass Storage
Device Detection
Press the Enter key to automatically detect mass storage devices. You may optionally skip this detection process.
Windows NT displays a screen showing the mass storage devices. If this list is not complete, press the S key to specify additional devices. Otherwise press the Enter key to continue with setup.
If you are doing a disk-based installation, Windows NT will ask for the "Windows NT Server CD-ROM". Insert it and press the Enter key.
License Agreement Read the license agreement using the Page Down key. When you reach the bottom, press the F8 key if you agree with the terms.
Windows NT displays the configuration it detected for your computer. If this is correct, press the Enter key to continue. Otherwise select the incorrect item and press the Enter key to change it.
Windows NT displays a list of partitions on the computer. Select the partition on which to install Windows NT and press the Enter key.
Setup will give you the option of converting the selected partition to NTFS. We recommend using NTFS because of its superior features, but you can leave the partition as FAT if you choose. This will not affect any labs. To convert the partition to NTFS, choose Convert the partition to NTFS and press the Enter key.
Next Screen Press the C key to convert the partition. If you choose Format the partition using the NTFS file system Windows NT setup will warn you that formatting the drive will erase all data on it. Be sure that you back up all data, then press the F key to format the drive.
Windows NT prompts for the location to install the Windows NT files. You can enter any folder, but the best choice is the default \WINNT option. Press the Enter key once the folder is specified.
Windows NT prompts to examine the hard drive for errors. You can choose to perform this step or skip it. Press the Enter key to perform this step.
Windows NT prompts you to restart your computer. Remove any floppy disk from the A: drive and press the Enter key to restart the computer.
After restarting, Windows NT setup will begin gathering information about your computer. Click the Next button to begin this stage.
Name and Organization Enter your name and organization, then press the Next button.
Registration Enter the CD Key and click the Next button.
Computer Name Enter a computer name and click the Next button.
Server Type Select the type of server. Ideally this should be Stand-Alone Server. Select that option and click the Next button.
Administrator Account Enter a password for the Administrator account and click the Next button. An easy thing for the students is a blank password.
Emergency Repair Disk Choose the No, do not create an emergency repair disk option. This avoids creating emergency disks for each student machine. However, if you want an emergency repair disk, you can choose to create one here. Click the Next button to continue.
Select Components Leave all options at their defaults, and click the Next button.
Windows NT Setup begins installing the network options. Click the Next button to continue with this phase.
Windows NT Setup will ask how the computer participates on a network. It should be Wired to the network. Make sure that option is selected and click the Next button.
Setup will ask if it should install Microsoft Internet Information Server. Make sure the Install Microsoft Internet Information Server check box is selected and click the Next Button.
Setup will search for any network adapters on the computer. Click the Start Search button to begin searching for network adapters. If no adapters are found, you can click the Select from list button to manually select the adapter. When the correct adapter is found, click the Next button to continue.
Networking Protocols: Make sure the TCP/IP Protocol option is selected and click the Next button.
Network Services: Leave all options at defaults and click the Next button.
Windows NT will prompt to install network options. Click the Next button. Answer any adapter specific questions on dialog boxes.

You will be asked if you are using a DHCP server. If you decide to create a DHCP server for the classroom, you could set up one computer as the DHCP server and primary domain controller for the classroom and enter the following IP addresses into that computer. All other computers would use the DHCP server to obtain their IP addresses:

  • DHCP Server Address: 131.107.2.200
  • Address range to use for computers: 131.107.2.1 - 131.107.2.199
  • Subnet Mask: 255.255.255.0

Another option is to not have a DHCP server or primary domain controller, but to just configure each computer to use a specific IP address as it is set up. You could use the same address range above to accomplish this.

Bindings Leave Bindings at defaults unless you need to change them, then click the Next Button.
Workgroup Select the workgroup or domain the computer will participate in. Then click the Next button.
Windows NT prompts to finish installation. Click the Finish button to complete the setup. Windows NT Setup will begin the IIS 2.0 setup.



2. Internet Information Server 2.0

Dialog Box/Screen Name
or Description
Action Completed
In the first setup screen: Deselect the Gopher and FTP Services and the Internet Service Manager (HTML). Make sure all other options are selected and click OK.
Setup will ask you if you want to create the C:\WINNT\System32\inetsrv folder. Click Yes.
Publishing Directories Click OK to create the C:\InetPub\wwwroot folder.
Setup will ask you if you want to create the C:\InetPub\wwwroot folder. Click Yes.
Install Drivers Select the SQL Server/ driver and click OK.


3. Windows NT 4.0 Server (Continued)

Dialog Box/Screen Name
or Description
Action Completed
Date/Time Properties Select the time and zone and click the Close button.
Display Properties Select at least 256 colors and 800 x 600 screen size. Then click the Test button. If the settings are okay, click the OK button.
When directed, remove the CD from the drive. Click the Restart Computer button. Windows NT Setup will be complete.



4. Configure Windows NT Explorer

Dialog Box/Screen Name
or Description
Action Completed
Log on to Windows NT and start the Windows NT Explorer.
View menu Choose Options
Options Choose Show all files, deselect the Hide file extensions for known file types check box, then click OK.
Exit the Windows NT Explorer.



5. Windows NT Service Pack 3

Dialog Box/Screen Name
or Description
Action Completed
From the Visual Studio 6.0 Enterprise Edition CD disk set, insert the CD1. If the autostart installation screen appears, exit from the installation wizard.
Run the Nt4sp3_i.exe file from the \Ntsp3 folder.
Welcome Click the Next button to begin setup.
Software License Agreement Click the Yes button if you agree with the terms of the agreement.
Service Pack Setup Select Install the Service Pack and click the Next button.
You can create an Uninstall folder, but this is not necessary for student computers. Choose No, I do not want to create an Uninstall directory and click the Next button.
Click the Finish button to install Service Pack 3.
When setup asks you to restart the computer, click OK. Setup is complete.



6. Microsoft SQL Server 6.5 Developer Edition

Dialog Box/Screen Name
or Description
Action Completed
From the Visual Studio 6.0 Enterprise Edition CD disk set, insert the CD2. Run setup.exe from the \Sql\i386 folder.
Welcome Click the Continue button.
Enter Name and Organization Enter your Name, Company, and Product ID and click the Continue button.
Verify that the Name, Company, and Product ID you entered are correct and click the Continue button.
Microsoft SQL Server 6.5 - Options Select the Install SQL Server and Utilities option and click the Continue button.
SQL Server Installation Path Choose the C: drive and \MSSQL folder to install SQL Server on and click the Continue button.
MASTER Device Creation choose the C: drive and \MSSQL\DATA|MASTER.DAT folder. Also set the MASTER device Size to 25 megabytes. Click the Continue button.
SQL Server Books Online Choose the Install on Hard Disk option and click the Continue button.
Installation Options Select the Auto Start SQL Server at boot time option and click the Continue button. You do not need to select the Auto Start SQL Executive at boot time option or change any other settings.
SQL Executive Log On Account Choose the Install the SQL Executive service to log on to Windows NT as: option and set the account to computername\Administrator. The password should be blank, but if you specified a password when setting up Windows NT, enter that password here. Then click the Continue button.
Microsoft SQL Server 6.5 - Completed Click the Exit to Windows NT button.
Control Panel Double-click the Services icon.
Services Select the MSSQLServer service and click the Startup button.
Services Select the This Account: option in the Log On As: section, and change the account to Administrator with no password. If you entered a password for the Administrator during the Windows NT setup, enter that password here. Then click the OK button.
Services Click the Close button to close the Services window.
Close the Control Panel.



7. Microsoft SQL Server Service Pack 4

Dialog Box/Screen Name
or Description
Action Completed
Reboot the computer so that SQL Server will start.
From the Visual Studio 6.0 Enterprise Edition CD disk set, insert the CD2. Run setup.exe from the \Sql\Servpak4\i386 folder.
Welcome - Server Update Click the Continue button.
SA Password Leave the password blank and click the Continue button.
Microsoft SQL Server Service Pack - Completed Click the Exit to Windows NT button.



8. Microsoft SQL Server Debugging

Dialog Box/Screen Name
or Description
Action Completed
From the Visual Studio 6.0 Enterprise Edition CD disk set, insert the CD2. Run Setup.exe from the \Sqdbg_ss folder.
SQL Server Debugging Setup Click the Continue button.
Name and Organization Information Enter your Name and Organization and click OK.
Confirm Name and Organization Information Click OK if your Name and Organization are correct.
SQL Server Debugging Setup Enter the CD Key and click OK.
Product ID Click the OK button.
The setup will choose to install to the folder C:\...\Common\Tools\SQL Debugging. Click the Server button to install to this directory.
Once setup is complete: Click the OK button to end setup.



9. Microsoft Internet Explorer 4.01 SP1

Dialog Box/Screen Name
or Description
Action Completed
From the Visual Studio 6.0 Enterprise Edition CD disk set, insert the CD1. If the autostart installation screen appears, exit from the installation wizard. Run Ie4setup.exe from the \Ie4 folder.
Internet Explorer 4.01 SP1 Active Setup Click the Next button to begin setup.
License Agreement Select I accept the agreement if you agree to the terms, and click the Next button.
Installation Option Select the Standard Installation option and click the Next button. You can choose a Full Installation if you desire. It makes no difference.
Windows Desktop Update Choose if you want the Desktop update or not and click the Next button. (Choose the Yes option to install it, choose the No option to not install it).
Active Channel Selection Choose the appropriate region and click the Next button.
Destination Folder Leave the folder at its default of C:\Program Files\Plus!\Microsoft Internet and click the Next button.
After setup copies the necessary files: Click the OK button to close the dialog box and begin configuration.
After configuration is complete: Click the OK button to restart the computer.



10. Internet Connection Wizard

Dialog Box/Screen Name
or Description
Action Completed
Run the Internet Explorer.
Get Connected! Click the Next button.
Setup Options click I want to set up a new connection on this computer to my existing Internet account using my phone line or local area network (LAN). Click the Next button.
Set Up Your Internet Connection Select Connect using my local area network (LAN) and click the Next button.
Proxy Server Select Yes if you have a proxy server to hook up to. Then click the Next button (select the No option if you do not have a proxy server).
Proxy Server Name Enter the proxy information for your proxy and click the Next button.
Set Up Your Internet Mail Account Select No and click the Next button.
Set Up Your Internet News Account Select No and click the Next button.
Set Up Your Internet Directory Service Select No and click the Next button.
Complete Configuration Click Finish to complete the configuration.



11. Microsoft Windows NT 4.0 Option Pack

Dialog Box/Screen Name
or Description
Action Completed
From the Visual Studio 6.0 Enterprise Edition CD disk set, insert CD2. If the autostart installation screen appears, exit from the installation wizard. Run setup.exe from the \Ntoptpak\X86\Winnt.srv folder.
Run the Option Pack setup.
First screen Click the Next button to begin the setup.
End User License Agreement Click the Accept button if you accept the terms of the agreement.
Upgrade screen Click the Upgrade Plus button.
Select Components select the following: (You can select other options in addition to these if you so desire).
  • FrontPage 98 Server Extensions and its defaults
  • Internet Information Server (IIS) and its defaults
  • Microsoft Data Access Components 1.5 and its defaults
  • Microsoft management Console
  • Microsoft Message Queue and all subcomponents
  • NT Option Pack Common Files
  • Transaction Server and all subcomponents
Then click the Next button.
Setup will ask where to install MTS. Leave it at the default location of C:\Program Files\Mts and click the Next button.
Setup will ask how to configure the MTS Administrative Account. Leave it at the default of Local and click the Next button.
Setup will ask what MSMQ client or server to install. Select Primary Enterprise Controller (PEC) and click the Next button.
Setup will ask for the MSMQ Enterprise and Site names. Enter the MSMQ Enterprise Name as ComputerNameEnterprise and the MSMQ Site Name as ComputerNameSite. Then click the Next button.
Setup will ask where to install MSMQ. Leave the folder at the default location of C:\Program Files\MSMQ then click the Next button.
Setup will ask where to install the Data Device and Log Device. Set the directory for the Data Device to C:\Program Files\MSMQ (the default) and set the Size to 80 megabytes. Set the directory for the Log Device to the C:\Program Files\MSMQ (the default) and set the Size to 20 megabytes. Then click the Continue button.
MSMQ Connected Networks Click the Add button.
New Connected Network Enter the Connected Network Name as ComputerNameNetwork and set the Protocol to IP. Then click the OK button.
MSMQ Connected Networks Click the Continue button.
Once the option pack is complete: Click the Finish button to exit setup.
Setup will prompt to restart the computer. Click Yes.



12. Microsoft Visual Basic 6.0

Dialog Box/Screen Name
or Description
Action Completed
Insert CD1 of the Visual Studio 6.0 Enterprise Edition disk set. Setup will start automatically. Or you can run setup.exe directly off of the CD.
Visual Studio 6.0 Enterprise Edition Click the Next button.
End User License Agreement Select I accept the agreement if you agree, then click the Next button.
Product Number and User ID Enter the CD Key, your name, and company name. Then click the Next button.
Visual Studio 6.0 Enterprise Edition Select the Custom Enterprise Setup Option and click the Next button.
When the Visual Studio 6.0 Enterprise Edition installation program starts: Click the Continue button to begin installation.
Product ID Click OK.
Visual Studio 6.0 Enterprise - Custom select the following options. (Note you can select additional options if so desired. For example, you may choose to install Visual C++ 6.0 if you want to show how to debug MTS components using the Visual Studio debugger).
  • Microsoft Visual Basic 6.0
  • ActiveX
  • Data Access
  • ADO, RDS, and OLE DB Providers and all subcomponents
  • Microsoft ODBC Drivers and the Microsoft SQL Server ODBC Driver
  • Remote Data Objects and Controls
  • Data Environment
  • Enterprise Tools and defaults
  • Tools and defaults.
Click Continue.
After all files are copied, setup will prompt to restart windows. Click the Restart Windows button.
When the computer restarts, you will be asked if you want to install MSDN. Insert CD1 for the MSDN library. Select the Install MSDN option and click the Next button.
Welcome Click the Continue button to begin setting up MSDN.
Product ID Click OK to continue the setup.
License Agreement Click the I Agree button if you agree with the terms of the agreement.
installation Click the Custom setup button.
Custom setup select the Full Text Search Index, VB Documentation, Platform SDK Documentation, and VS Shared Documentation options. Then click the Continue button.
After files are copied, MSDN setup will display a success dialog box. Click OK to complete the MSDN setup.
Next, the Visual Studio setup will ask if you want to install Client tools. Do not select any client tools. Just click the Next button.
Next, the Visual Studio setup will ask if you want to install Server components. Do not select any server components. Just click the Next button.
Register Over the Web Now! Deselect the Register Now option and click Finish.



13. Island Hopper

Dialog Box/Screen Name
or Description
Action Completed
From the Mastering Enterprise Development CD: Run the \SampApps\IslandHopper\SampleC\Client.exe program.
WinZip Self-Extractor Click the Setup button.
When the Island Hopper Scenario C Client Setup begins: Click the Next button.
Setup will ask for the name of the IIS Server. Enter localhost and click the Next button.
User confirmation Verify the information and click the Next button.
Information click OK.
Installation complete Click Finish.
From the Mastering Enterprise Development CD: Run the \SampApps\IslandHopper\SampleC\Source.exe program.
WinZip Self-Extractor Click the Setup button.
When the Island Hopper Scenario C Source Setup begins: Click the Next button.
Setup will ask for the name of the IIS Server. Enter localhost and click the Next button.
User confirmation Verify the information and click the Next button.
Information Click OK.
Installation complete Click Finish.
From the Mastering Enterprise Development CD: Run the \SampApps\IslandHopper\SampleC\Server.exe program.
Winzip Self-Extractor Click the Setup button.
When the Island Hopper Scenario C Setup begins: Click the Next button.
Setup will ask for the name of the folder to install the web content. Accept the default of C:\InetPub\wwwroot\islandhopperC and click the Next button.
Setup will ask for the name of the machine running SQL Server. Enter (local) and click the Next button.
User confirmation Verify the information and click the Next button.
Island Hopper setup states that the MTS packages were created. Click OK.
Island Hopper setup states that the web application has been created. Click OK.
Installation complete click Finish.
From the Mastering Enterprise Development CD: Run the \SampApps\IslandHopper\SampleC\Database.exe program.
WinZip Self-Extractor Click the Setup button.
When the Island Hopper Scenario C Database Setup begins: Click the Next button.
SQL Server Login Enter the User ID of sa and leave the Password blank. Then click the Next button.
User confirmation Verify that the information is correct, and click the Next button.
Information Click OK.
Installation complete Click Finish.



14. SQL Scripts

Dialog Box/Screen Name
or Description
Action Completed
Start the Microsoft SQL Server Enterprise Manager.
Register Server Enter the name of the computer for the Server and enter a Login ID of sa and leave the Password blank. Then click the Register button. Then click the Close button.
Select the SQL Server with the local machine name.
Tools menu Select SQL Query Tool.
SQL Query Tool Use the Open file button on the toolbar to open the sp.sql file. It is located in the \SampApps\IslandHopper\SqlScripts folder on the Mastering Enterprise Development CD. Select this file and open it.
Click the green Execute Query button on the toolbar to run the script. When the script is complete, it should print the message "This command did not return data, and it did not return any rows".



15. ODBC DSN

Dialog Box/Screen Name
or Description
Action Completed
Start the Control Panel and double-click on the ODBC icon.
ODBC Data Source Administrator Click the System DSN tab.
Click Add.
Select SQL Server and click Finish.
Set the Name field to Classifieds, and the Server field to (local), then click Next.
Select the option for SQL Server authentication and set the Login ID field to sa with a blank password, then click Next.
Change the Default Database to Classifieds and click Next.
Click Next again, then click Finish.
Click Test Data Source to ensure that the new DSN is working properly. If it is, click OK.
Click OK at the ODBC Microsoft SQL Server Setup dialog box. Click OK at the ODBC Data Source Administrator dialog box.
The Classifieds DSN is now configured properly. Close the Control Panel.



16. Mastering Enterprise Development

Dialog Box/Screen Name
or Description
Action Completed
Insert the Mastering Enterprise Development Classroom View CD and run setup.
Welcome Click the Next button to begin setup.
License Agreement Select the I Agree option if you agree with the terms, then click the Next button.
Name and Organization Information Enter your Name and Organization and click the Next button.
CD Key Enter your CD Key and click the Next button.
Product ID Click OK.
Type of Installation Select Complete and click the Next button.
Registration Uncheck the Register now check box and click the Next button.
Installation complete Click Finish. Setup is complete.



17. MTS Spy

Dialog Box/Screen Name
or Description
Action Completed
Insert the Mastering Enterprise Development Classroom View CD.
Create a folder called C:\Program Files\Mts\MtsSpy.
Copy all files from the Mastering CD \Tools\MtsSpy folder to the C:\Program Files\Mts\MtsSpy folder.
From a DOS prompt in the C:\Program Files\MTS\MtsSpy folder: Register the MtsSpy Control using the following command line:

RegSvr32 MtsSpyCtl.dll

 

 


© F1 Computing Systems 2006