Presented by: Tim O’Brien Senior Systems Engineer Fujitsu Software Corporation
Block 2 Intro to VS.NET Fujitsu Software Corporation Customer Training Series
Fujitsu Computer Systems
Intro to VS.NET 2003 ■
The Visual Studio .NET Editor
■
The Visual Studio .NET Debugger
■
Demonstration and explanation of the Visual Studio .NET Integrated Development Environment (IDE)
■
Using Visual Studio .NET to create a simple “Hello World” COBOL program
PAGE 2
Fujitsu Computer Systems
Intro to VS.NET 2003 (Cont…) ■
The Visual Studio Help system for Documentation
■
Create a “Hello World” program in VB and C#
■
Create a multi-COBOL program application
■
Create a mixed language program application
PAGE 3
Fujitsu Computer Systems
Intro to VS.NET 2003 (Cont…) ■
The Visual Studio Help system for Documentation
■
Create a multi-COBOL program application
■
Create a mixed language program application
PAGE 4
Fujitsu Computer Systems
VS.NET Editor Environment ■
Features Multi-language development environment with edit, build, debug and deployment tools Tabbed multi window-paned environment with pop outs The main display window (for Editor, Browser, etc.) Solution Explorer, Class View, Resource View and Index windows
PAGE 5
Fujitsu Computer Systems
VS.NET Editor Environment (Cont…) ■
Features (Cont…) Dynamic Help, Property, and Event windows Output, Task List, Index Results windows Server Explorer Toolbox Object Browser Macro Explorer
PAGE 6
Fujitsu Computer Systems
Demo ■
Visual Studio .NET 2003 Interactive Development Environment (IDE)
PAGE 7
Fujitsu Computer Systems
“Hello World” COBOL program ■
Create a new COBOL Project (Solution)
■
A look at the skeletal COBOL program automatically generated
■
Modifying the generated COBOL program to display “Hello World”
■
Building and executing the COBOL program
PAGE 8
Fujitsu Computer Systems
Demo
PAGE 9
Fujitsu Computer Systems
Hello world in C#
PAGE 10
Fujitsu Computer Systems
VS.NET Debugger ■
Multi-language enabled
■
Inherits many features of the Editor – collapsible, split window, IntelliSense
■
Mouse over data query
■
Auto, Locals and Watch windows
PAGE 11
Fujitsu Computer Systems
VS.NET Debugger (Cont…) ■
Go to Definition feature
■
Breakpoints
■
Call Stack monitoring
PAGE 12
Fujitsu Computer Systems
Debugger Demo
PAGE 13
Fujitsu Computer Systems
Creating a multi-program application ■
Create a COBOL Project
■
Add a new program
■
Code the new program
■
Add a sub program
■
Code the sub program
■
Build the application
■
Debug the application
PAGE 14
Fujitsu Computer Systems
Creating a multi-program application ■
demo
PAGE 15
Fujitsu Computer Systems
Creating a mixed language program application ■
Create a COBOL Project for the Main program
■
Create a VB.NET Project for the Class to Invoke
■
Code the COBOL Program to Invoke the VB Class program previously created
PAGE 16
Fujitsu Computer Systems
Creating a mixed language program application (Cont…) ■
Build the solution (application)
■
Debug the application
PAGE 17
Fujitsu Computer Systems
Visual Studio Help system ■
Help and documentation for Visual Studio .NET exists in the on-line Help system
■
Filters allow you to zero in on proper subject matter
■
All API’s (e.g. member functions) and classes are documented here
PAGE 18
Fujitsu Computer Systems
Visual Studio Help system (Cont…) ■
Integrated into editor and debugger
■
Interactive Help available throughout the Help System and IntelliSense
■
Fujitsu NetCOBOL specific Help filter
PAGE 19
Fujitsu Computer Systems