Book description
Starting with simple examples, you¿ll see how the multi-user, local area network applications that Visual FoxPro developers are used to building are constructed in Visual Basic .NET. You¿ll learn how to use Crystal Reports to build reports like the ones you build in FoxPro. You¿ll discover how to use DataAdapters and datasets instead of DBFs. You¿ll see examples of the paradigm shift that client-server programming imposes, and why .NET solves that problem (even when you wouldn¿t need to solve it in FoxPro.) And you¿ll learn how to give your FoxPro and Visual Basic applications smart client remote data access.
You¿ll understand how to begin the construction of a database project in Visual Basic with a container form and a MainMenu instead of using _Screen and MSYSMENU. You¿ll learn how variables are declared and used; how menus are controlled; how to use events, and why you have to use events in VB when they¿re unnecessary in FoxPro. You¿ll learn how to build inheritable forms, Visual Basic¿s answer to FoxPro¿s form class templates, to reduce programming to a minimum. You¿ll learn why properties are like variables in FoxPro, but more like functions in VB. And you¿ll learn where Visual Basic adds features that you didn¿t have in FoxPro and didn¿t know that you needed. You¿ll learn where to look for all of those FoxPro commands and functions that you need. And in case you haven¿t yet used SQL Server with FoxPro, the examples will demonstrate how it¿s done first in FoxPro, then in VB .NET.
Shows how to build a typical application in Visual FoxPro, including DBF, SQL Server and Internet access; then demonstrates how to build the same type of application in VB .NET
Highlights the main differences in specific issues, including printing, events, data access, creation and use of properties
Contains an appendix listing the principal FoxPro commands and functions and their Visual Basic equivalents
Includes a table showing where to find the settings in the FoxPro¿s Tools, Options menu pages in VB .NET
Shows how to access data remotely from your FoxPro and VB .NET applications
Explains how project DLLs are created and used in other projects within a solution
Shows how to use middle tier business objects to simplify ongoing development
Source code downloadable from www.samspublishing.com
Table of contents
- Copyright
- About the Author
- Acknowledgments
- We Want to Hear from You!
- Introduction
-
1. Differences Between Visual FoxPro and Visual Basic .NET
- A Whole New World
-
The Integrated Development Environment (IDE)
- Typing Commands in the Command Window
- The Toolbox
- Tab Ordering
- Projects and Solutions
- Compiler Output Formats
- The Code Window
- The Document View Window
- Bookmarks and Task Lists
- The Server Explorer
- What Can You DO in the IDE?
- The Class Browser and Visual Basic .NET's Class View
- The Object Browser
- The Properties Window
- Getters and Setters Versus ASSIGN and ACCESS Methods
- Shortcut Keys
- The Tools, Options Dialog
- The Task Pane Manager
- The Output Window and Your Application Menu
- Customizing the IDE
- The Visual Basic .NET Solution Explorer
- Command Syntax
- Flow of Control
- Variables, Enums, Arrays, Collections, and Fields
- Functions and Subroutines (Procedures)
- Classes, Namespaces, Properties, and Forms
- Events
- Compiler Directives
- Data
- Data Binding
- Error Handling and Debugging
- Summary
- 2. Building Simple Applications in Visual FoxPro and Visual Basic .NET
- 3. Building a Visual FoxPro Application for SQL Server
- 4. A Visual Basic .NET Framework
-
5. Adding Internet Access
- ASP and Database Development
- Internet Access in Visual FoxPro 7
- The StandardForm Class Template
- Writing Web Connection Functions
- Introducing the Server
- Modifying the Data Tier to Add Internet Data Access
- Building XML Web Services with Visual FoxPro 8
- XML Web Services in Visual Basic .NET
- Adding References to the Web Service to Your Client
- Summary
-
6. Data Access
- Data Access in Visual FoxPro Before Visual FoxPro 8
- Database Containers
- New Features in Visual FoxPro 8
- Data Access in Visual Basic .NET
- Summary
-
7. XML
- The Structure of XML
- Representation of Complex Structures
- Hierarchical XML
- The Document Object Model
- Commands to Move Data Between a Table and XML
- How FoxPro Implements XML
- Importing XML into Visual Basic .NET
- Reading XML into a Visual Basic .NET Dataset
- Using XML and Data Islands to Reduce Server Load
- Related Technologies: XPATH and XSLT
- Extensible Style Sheet Transformations (XSLT)
- Summary
-
8. Screen Design
- The Base Control Classes
- Creating the Startup Screen for Your Application
- Creating Menus
- Subclassing Controls
- Data Binding
-
Innovative Screen Design
- Extending Screen Design in Visual FoxPro
- The Quicken Interface in Visual Basic .NET
- The FoxPro Grid
- Buttons That Load a Different Form
- SDI Forms
- Colors
- Colors in Form Controls
- Text Color on Command Buttons, Radio Buttons, and Check Boxes
- Colors on Graphical Style Controls
- User-Settable Form Size and Location
- Grids Redux
- Tree Views and Lists in FoxPro
- Build Your Own Menu
- ActiveX Controls
- Build Your Own Controls
- Tools
- Summary
-
9. Searching and Filtering in Visual FoxPro and Visual Basic .NET
- Record Filtering in FoxPro
- Record Filtering in Visual Basic .NET
- A Generic Record Lookup Grid with Column Sorting in Visual FoxPro
- Returning a Value from a Visual Basic .NET Form
- Using the DefaultDataView for Filtering and Sorting
- A Generic Record Lookup Form in Visual Basic .NET
- Minimalist Filtering in Visual FoxPro and Visual Basic .NET
- Search Forms with Additional Fields
- Building Self-Populating Controls
- Cleaning Up Mistakes in Legacy Data to Improve Searching
- Getting Filtered Data Across the Web
- Summary
-
10. Reporting
-
Reporting in Visual FoxPro
- Internal Details
- Report Layout in FoxPro
- Page Setup
- Report Controls
- Title and Summary Bands
- Data Grouping
- Variables
- A Simple Example
- Adding Groupings
- Calculated Expressions
- Grouping Using a Report Variable
- Report Filtering
- Build and Execute a SELECT Statement in the Init Event of the Report's Data Environment
- Using a Report Filter with SQL Server
- Printing Tricks
- Generic Reporting
- Reporting on the Internet
- Exporting to a PDF
- Crystal Reports in Visual FoxPro
-
Reporting in Visual Studio .NET
- Building Your First Report with Visual Studio .NET
- Adding Login Information
- Putting the User in Control
- Report Management and Use with the Server Explorer
- Using a Dataset as a Data Source
- How It Works
- Report Filtering with Parameters
- Creating a Parameterized Report
- Using the Parameter
- XML Report Web Services
- Building ASP.NET Reporting Clients
- Exporting to a PDF
- Other Report Experts
- The Drill Down Expert
- Summary
-
Reporting in Visual FoxPro
Product information
- Title: Visual FoxPro to Visual Basic® .NET
- Author(s):
- Release date: May 2004
- Publisher(s): Sams
- ISBN: None
You might also like
book
101 Microsoft® Visual Basic® .NET Applications
Flattens the learning curve for Visual Basic .NET by providing working applications with complete code, helpful …
book
Real World XML Web Services: For VB and VB .NET Developers
"You are holding in your hands my favorite book on Web services and .NET. What else …
book
Special Edition Using Microsoft® Visual Basic® .NET
Microsoft's .NET initiative created drastic changes in the Visual Studio line of products, and as a …
book
Programming in the .NET Environment
is the software developer's guide to the .NET Framework. The authors describe Microsoft's vision for distributed …