6
.NET for Visual FoxPro Developers .NET for Visual FoxPro Developers Written by Kevin McNeish Edited by Cathi Gero ISBN: 1-930919-30-1 Length: 508 pages Copyright © 2002 by Kevin McNeish Published by: Hentzenwerke Publishing Click the book image above to order a paperback printed version of this book which includes an electronic version in PDF format along with sample source code. Summary The complete 500 page .NET for Visual FoxPro Developers book written by Kevin McNeish and edited by Cathi Gero is now online. This book has been made available through the cooperation between Hentzenwerke Publishing, Microsoft Corporation, and the book author Kevin McNeish. Visual FoxPro is one of the best Microsoft tools for creating desktop, client-server, and Web applications. However, it would be a mistake to ignore .NET. Microsoft has put a lot of resources into making .NET a revolutionary platform for creating both desktop and http://foxcentral.net/ microsoft/NETforVFPDe velopers.htm (1 of 6) [29/05/2007 08:40:32 p.m.]

NET for Visual FoxPro Developers.pdf

Embed Size (px)

Citation preview

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 16

NET for Visual FoxPro Developers

NET for Visual FoxPro Developers

ritten by Kevin McNeishdited by Cathi Gero

SBN 1-930919-30-1ength 508 pagesopyright copy 2002 by Kevin McNeishublished by Hentzenwerke Publishing

ick the book image above to order a paperback printed version of this book whichcludes an electronic version in PDF format along with sample source code

ummary

he complete 500 page NET for Visual FoxPro Developers book written by Kevin McNend edited by Cathi Gero is now online This book has been made available through thooperation between Hentzenwerke Publishing Microsoft Corporation and the bookuthor Kevin McNeish

sual FoxPro is one of the best Microsoft tools for creating desktop client-server andeb applications However it would be a mistake to ignore NET Microsoft has put a lresources into making NET a revolutionary platform for creating both desktop and

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (1 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 26

NET for Visual FoxPro Developers

ternet application software

yoursquo re simply curious about what NET offers this book provides a strong overview oe NET Framework and the C and Visual Basic NET languages helping you to asseese new technologies through the lens of Visual FoxPro If yoursquo re already ldquosoldrdquo and ady to learn specifics about how to use NET in your software development projectsis book provides plenty of ldquohow tordquo ldquostep-by-steprdquo and ldquobest practicesrdquo informationat will help you climb the NET learning curve and get up and running quickly

he first chapter sets the stage for the rest of the book by answering questions such aWhat is NETrdquo and ldquoWhy should I be interested in NETrdquo Other chapters take you inte details of the C and Visual Basic NET languages to help you decide which is best

ou After learning the basics other chapters take you step-by-step through the procebuilding your first NET Windows application Web Forms application and XML Web

ervice

able of Contents

hapter 1 ndash Introduction to NET

very six or seven years Microsoft makes a quantum leap in technology In February o002 that quantum leap was NET What is NET and what does it mean for Visual Foxevelopers This chapter provides an overview of NET the NET Framework andnguages and helps explain why you should investigate NET for your softwareevelopment projects

hapter 2 - Visual Studio NET

sual Studio NET is the latest incarnation of Microsoftrsquo s suite of software developmenols The VS NET team has done a great job providing a top-notch experience for the

eveloper regardless of the NET language they use This chapter takes you on a tour S NET familiarizing you with its features so you can get up and running quickly

hapter 3 ndash Introduction to C

ome developers are ldquoafraidrdquo of C because C-based languages have a reputation foreing advanced and thus difficult to learn and use This chapter aims to dispel anyisgivings you might have by providing a side-by-side comparison of C and Visual

oxPromdashyoursquo ll be amazed at their similarities It helps you leverage your knowledge ofsual FoxPro in learning the basics of C

hapter 4 ndash Introduction to Visual Basic NET

any Visual FoxPro developers have an aversion to anything that bears the name ldquoVisasicrdquo This chapter aims to help you look past this prejudice and take a fresh look at t

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (2 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 36

NET for Visual FoxPro Developers

ew incarnation of Visual BasicmdashVisual Basic NET As you read this side-by-sideomparison of Visual FoxPro and Visual Basic NET yoursquo ll see that Visual Basic has grop and is a first-class citizen alongside C and C++

hapter 5 ndash Object Orientation in C and Visual Basic NET

his chapter provides a look at object orientation in NET by means of a side-by-sideomparison of C and Visual Basic NET object-oriented features It also compares Vis

oxProrsquo s object-orientation to that of the NET languages and shows a number ofdvanced object-oriented features that are not currently available in Visual FoxPro

hapter 6 ndash Tour of the NET Base Classes

though there is a lot of heat generated in arguments regarding which NETrogramming language is easier to use and learn ultimately THE biggest learning curvnot C or Visual Basic NETmdashitrsquo s the NET Framework This chapter takes you on a tsome of the more interesting and useful namespaces and classes and shows you ho

ou can use them in your applications

hapter 7 ndash Data Access with ADONET

o a Visual FoxPro developer one of the most important aspects of a softwareevelopment product is data access This chapter shows you how to use Microsoftrsquo s neniversal data access technology ADONET to access and manipulate a wide variety oatamdashincluding VFP data Since there are a number of different ways you can access dom ADONET this chapter also provides information on best practices for data access addition it also compares Visual FoxProrsquo s new xCursor technology to ADONET

hapter 8 - NET Business Objects

he VFP community has known about the importance of business objects for severalears now They continue to be extremely important in all types of NET applicationscluding Web Forms Window Forms and Web Services This chapter explains whatusiness objects are why you should use them and how you to implement them in NE

hapter 9 ndash Building NET Windows Applications

icrosoft has placed a tremendous emphasis on NET being a platform to create

onsume and deploy XML Web Services I think this is a mistake It has caused manyevelopers among the uninitiated to believe that NET is only for building applicationsat access the Internet Irsquo ve heard the question over and over again ldquoWhy should I uET when Irsquo m not creating applications that access the Internetrdquo This chapter aims tospel this notion

hapter 10 ndash Building Web Applications with ASPNET

yoursquo ve never created a Web application before because you didnrsquo t have time to climbe learning curve this could be your big chance This chapter shows how you can put

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (3 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 46

NET for Visual FoxPro Developers

se everything you learned in the previous chapter about building Windows Formspplications (plus a few extra twists) into building ASPNET Web Applications It alsoemonstrates how you can reuse the business objects created in the previous chapter king you step-by-step through the process of creating an ASPNET Web Application

hapter 11 - NET XML

ML has taken the software world by storm Everything from configuration files Visua

oxPro and databases (such as SQL Server) to Microsoft Office and Web Services have ability to work with XML In many ways the NET Framework was built with XML inind This chapter discusses incorporating XML into your NET applications and alsorovides an overview of XML base classes for reading writing and manipulating XML

hapter 12 ndash XML Web Services

ccording to Microsoft XML Web Services is what NET is all about This chapter providbrief overview of XML Web Services then provides step-by-step instructions foreating your first NET Web service and shows how to consume it and other XML Web

ervices in NET

hapter 13 ndash Error Handling and Debugging in NET

rror handling in NET is quite a bit different than error handling found in previousersions of VFP However both NET and Visual FoxPro 8 have tryhellipcatchhellipfinally blockat provide a far more powerful and flexible way to handle errors in your application

his chapter also discusses Visual Studio NET debugging tools As yoursquo ll see many aremilar to Visual FoxProrsquo s some are better and some are not

hapter 14 - NET Security

ne of the important features of NET is its advanced security capabilities This chaptescusses the built-in security features of NET including assemblies code groupsermissions and security policies and shows you how to make use of these in youresktop and Internet applications

hapter 15 ndash Interoperability with Visual FoxPro

herersquo s no need to lose the time and money you have invested in your Visual FoxPro

ode This chapter shows you how to make the best use of your existing Visual FoxPropplications by accessing them from NET It also turns the tables and shows you how ccess NET from within Visual FoxPro

ppendix A - Language Comparison Tables

he tables in this appendix provide a side-by-side comparison of Visual FoxPro C ansual Basic NET features

ppendix B - Type Comparison Table

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (4 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 56

NET for Visual FoxPro Developers

he tables in this appendix provides a side-by-side comparison of Visual FoxPro C asual Basic NET data types

ppendix C - The Visual FoxPro Toolkit for NET

his appendix discusses the Visual FoxPro Toolkit for NET which gives VFP developersreat boost up the NET learning curve

uthor bio evin McNeish is President and Chief Software Architect of Oak Leaf Enterprises Inc and

crosoft NETC MVP He is a speaker with MSDN Canada Speakerrsquo s Bureau and is also

ell known speaker and trainer throughout North America and Europe He is co-author ofe book Professional UML with Visual Studio NET author of the book NET for Visual

oxPro Developers has authored several articles for CoDe magazine and has been

terviewed on the NET Rocks Internet Radio Show He is the Chief Software Architect oe Mere Mortals NET Framework and spends about half his time on the road training anentoring companies to build well-designed high-performance NET desktop Internet anmart Device applications He has also helped many developers transition to the NETevelopment platform in his highly acclaimed NET training classes e-mailevinmoakleafsdcom Web wwwoakleafsdcom Phone 434-979-2417

ditor bio athi Gero CPA is founder and development director of Prenia Corporation providin

ustom software applications training and architectural designing to businesses andevelopers Cathi is a Microsoft NETC MVP and is an active member of the NET

ommunity She has extensive experience developing applications using the NETamework SQL Server Visual FoxPro and Crystal Reports as well as other technologhe is a member of the Microsoft NET Advisory Council She is an internationally knowpeaker at conferences and user groups author of numerous articles for Microsoft andchnical editor for several NET books including NET for Visual FoxPro Developers H

onthly column ldquoCathi Gerorsquo s NET Tipsrdquo appears in Universal Thread Magazine Her

eblog featuring NET Tips and Tricks can be found at httpblogspreniacomcathi

ost of the year Cathi travels to various companies providing onsite training mentorin

nd development experience Contact Cathi via email at cgeropreniacom

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (5 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 66

NET for Visual FoxPro Developers

tt f t l t i ftNETf VFPD l ht (6 f 6) [29052007 08 40 32 ]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 26

NET for Visual FoxPro Developers

ternet application software

yoursquo re simply curious about what NET offers this book provides a strong overview oe NET Framework and the C and Visual Basic NET languages helping you to asseese new technologies through the lens of Visual FoxPro If yoursquo re already ldquosoldrdquo and ady to learn specifics about how to use NET in your software development projectsis book provides plenty of ldquohow tordquo ldquostep-by-steprdquo and ldquobest practicesrdquo informationat will help you climb the NET learning curve and get up and running quickly

he first chapter sets the stage for the rest of the book by answering questions such aWhat is NETrdquo and ldquoWhy should I be interested in NETrdquo Other chapters take you inte details of the C and Visual Basic NET languages to help you decide which is best

ou After learning the basics other chapters take you step-by-step through the procebuilding your first NET Windows application Web Forms application and XML Web

ervice

able of Contents

hapter 1 ndash Introduction to NET

very six or seven years Microsoft makes a quantum leap in technology In February o002 that quantum leap was NET What is NET and what does it mean for Visual Foxevelopers This chapter provides an overview of NET the NET Framework andnguages and helps explain why you should investigate NET for your softwareevelopment projects

hapter 2 - Visual Studio NET

sual Studio NET is the latest incarnation of Microsoftrsquo s suite of software developmenols The VS NET team has done a great job providing a top-notch experience for the

eveloper regardless of the NET language they use This chapter takes you on a tour S NET familiarizing you with its features so you can get up and running quickly

hapter 3 ndash Introduction to C

ome developers are ldquoafraidrdquo of C because C-based languages have a reputation foreing advanced and thus difficult to learn and use This chapter aims to dispel anyisgivings you might have by providing a side-by-side comparison of C and Visual

oxPromdashyoursquo ll be amazed at their similarities It helps you leverage your knowledge ofsual FoxPro in learning the basics of C

hapter 4 ndash Introduction to Visual Basic NET

any Visual FoxPro developers have an aversion to anything that bears the name ldquoVisasicrdquo This chapter aims to help you look past this prejudice and take a fresh look at t

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (2 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 36

NET for Visual FoxPro Developers

ew incarnation of Visual BasicmdashVisual Basic NET As you read this side-by-sideomparison of Visual FoxPro and Visual Basic NET yoursquo ll see that Visual Basic has grop and is a first-class citizen alongside C and C++

hapter 5 ndash Object Orientation in C and Visual Basic NET

his chapter provides a look at object orientation in NET by means of a side-by-sideomparison of C and Visual Basic NET object-oriented features It also compares Vis

oxProrsquo s object-orientation to that of the NET languages and shows a number ofdvanced object-oriented features that are not currently available in Visual FoxPro

hapter 6 ndash Tour of the NET Base Classes

though there is a lot of heat generated in arguments regarding which NETrogramming language is easier to use and learn ultimately THE biggest learning curvnot C or Visual Basic NETmdashitrsquo s the NET Framework This chapter takes you on a tsome of the more interesting and useful namespaces and classes and shows you ho

ou can use them in your applications

hapter 7 ndash Data Access with ADONET

o a Visual FoxPro developer one of the most important aspects of a softwareevelopment product is data access This chapter shows you how to use Microsoftrsquo s neniversal data access technology ADONET to access and manipulate a wide variety oatamdashincluding VFP data Since there are a number of different ways you can access dom ADONET this chapter also provides information on best practices for data access addition it also compares Visual FoxProrsquo s new xCursor technology to ADONET

hapter 8 - NET Business Objects

he VFP community has known about the importance of business objects for severalears now They continue to be extremely important in all types of NET applicationscluding Web Forms Window Forms and Web Services This chapter explains whatusiness objects are why you should use them and how you to implement them in NE

hapter 9 ndash Building NET Windows Applications

icrosoft has placed a tremendous emphasis on NET being a platform to create

onsume and deploy XML Web Services I think this is a mistake It has caused manyevelopers among the uninitiated to believe that NET is only for building applicationsat access the Internet Irsquo ve heard the question over and over again ldquoWhy should I uET when Irsquo m not creating applications that access the Internetrdquo This chapter aims tospel this notion

hapter 10 ndash Building Web Applications with ASPNET

yoursquo ve never created a Web application before because you didnrsquo t have time to climbe learning curve this could be your big chance This chapter shows how you can put

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (3 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 46

NET for Visual FoxPro Developers

se everything you learned in the previous chapter about building Windows Formspplications (plus a few extra twists) into building ASPNET Web Applications It alsoemonstrates how you can reuse the business objects created in the previous chapter king you step-by-step through the process of creating an ASPNET Web Application

hapter 11 - NET XML

ML has taken the software world by storm Everything from configuration files Visua

oxPro and databases (such as SQL Server) to Microsoft Office and Web Services have ability to work with XML In many ways the NET Framework was built with XML inind This chapter discusses incorporating XML into your NET applications and alsorovides an overview of XML base classes for reading writing and manipulating XML

hapter 12 ndash XML Web Services

ccording to Microsoft XML Web Services is what NET is all about This chapter providbrief overview of XML Web Services then provides step-by-step instructions foreating your first NET Web service and shows how to consume it and other XML Web

ervices in NET

hapter 13 ndash Error Handling and Debugging in NET

rror handling in NET is quite a bit different than error handling found in previousersions of VFP However both NET and Visual FoxPro 8 have tryhellipcatchhellipfinally blockat provide a far more powerful and flexible way to handle errors in your application

his chapter also discusses Visual Studio NET debugging tools As yoursquo ll see many aremilar to Visual FoxProrsquo s some are better and some are not

hapter 14 - NET Security

ne of the important features of NET is its advanced security capabilities This chaptescusses the built-in security features of NET including assemblies code groupsermissions and security policies and shows you how to make use of these in youresktop and Internet applications

hapter 15 ndash Interoperability with Visual FoxPro

herersquo s no need to lose the time and money you have invested in your Visual FoxPro

ode This chapter shows you how to make the best use of your existing Visual FoxPropplications by accessing them from NET It also turns the tables and shows you how ccess NET from within Visual FoxPro

ppendix A - Language Comparison Tables

he tables in this appendix provide a side-by-side comparison of Visual FoxPro C ansual Basic NET features

ppendix B - Type Comparison Table

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (4 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 56

NET for Visual FoxPro Developers

he tables in this appendix provides a side-by-side comparison of Visual FoxPro C asual Basic NET data types

ppendix C - The Visual FoxPro Toolkit for NET

his appendix discusses the Visual FoxPro Toolkit for NET which gives VFP developersreat boost up the NET learning curve

uthor bio evin McNeish is President and Chief Software Architect of Oak Leaf Enterprises Inc and

crosoft NETC MVP He is a speaker with MSDN Canada Speakerrsquo s Bureau and is also

ell known speaker and trainer throughout North America and Europe He is co-author ofe book Professional UML with Visual Studio NET author of the book NET for Visual

oxPro Developers has authored several articles for CoDe magazine and has been

terviewed on the NET Rocks Internet Radio Show He is the Chief Software Architect oe Mere Mortals NET Framework and spends about half his time on the road training anentoring companies to build well-designed high-performance NET desktop Internet anmart Device applications He has also helped many developers transition to the NETevelopment platform in his highly acclaimed NET training classes e-mailevinmoakleafsdcom Web wwwoakleafsdcom Phone 434-979-2417

ditor bio athi Gero CPA is founder and development director of Prenia Corporation providin

ustom software applications training and architectural designing to businesses andevelopers Cathi is a Microsoft NETC MVP and is an active member of the NET

ommunity She has extensive experience developing applications using the NETamework SQL Server Visual FoxPro and Crystal Reports as well as other technologhe is a member of the Microsoft NET Advisory Council She is an internationally knowpeaker at conferences and user groups author of numerous articles for Microsoft andchnical editor for several NET books including NET for Visual FoxPro Developers H

onthly column ldquoCathi Gerorsquo s NET Tipsrdquo appears in Universal Thread Magazine Her

eblog featuring NET Tips and Tricks can be found at httpblogspreniacomcathi

ost of the year Cathi travels to various companies providing onsite training mentorin

nd development experience Contact Cathi via email at cgeropreniacom

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (5 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 66

NET for Visual FoxPro Developers

tt f t l t i ftNETf VFPD l ht (6 f 6) [29052007 08 40 32 ]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 36

NET for Visual FoxPro Developers

ew incarnation of Visual BasicmdashVisual Basic NET As you read this side-by-sideomparison of Visual FoxPro and Visual Basic NET yoursquo ll see that Visual Basic has grop and is a first-class citizen alongside C and C++

hapter 5 ndash Object Orientation in C and Visual Basic NET

his chapter provides a look at object orientation in NET by means of a side-by-sideomparison of C and Visual Basic NET object-oriented features It also compares Vis

oxProrsquo s object-orientation to that of the NET languages and shows a number ofdvanced object-oriented features that are not currently available in Visual FoxPro

hapter 6 ndash Tour of the NET Base Classes

though there is a lot of heat generated in arguments regarding which NETrogramming language is easier to use and learn ultimately THE biggest learning curvnot C or Visual Basic NETmdashitrsquo s the NET Framework This chapter takes you on a tsome of the more interesting and useful namespaces and classes and shows you ho

ou can use them in your applications

hapter 7 ndash Data Access with ADONET

o a Visual FoxPro developer one of the most important aspects of a softwareevelopment product is data access This chapter shows you how to use Microsoftrsquo s neniversal data access technology ADONET to access and manipulate a wide variety oatamdashincluding VFP data Since there are a number of different ways you can access dom ADONET this chapter also provides information on best practices for data access addition it also compares Visual FoxProrsquo s new xCursor technology to ADONET

hapter 8 - NET Business Objects

he VFP community has known about the importance of business objects for severalears now They continue to be extremely important in all types of NET applicationscluding Web Forms Window Forms and Web Services This chapter explains whatusiness objects are why you should use them and how you to implement them in NE

hapter 9 ndash Building NET Windows Applications

icrosoft has placed a tremendous emphasis on NET being a platform to create

onsume and deploy XML Web Services I think this is a mistake It has caused manyevelopers among the uninitiated to believe that NET is only for building applicationsat access the Internet Irsquo ve heard the question over and over again ldquoWhy should I uET when Irsquo m not creating applications that access the Internetrdquo This chapter aims tospel this notion

hapter 10 ndash Building Web Applications with ASPNET

yoursquo ve never created a Web application before because you didnrsquo t have time to climbe learning curve this could be your big chance This chapter shows how you can put

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (3 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 46

NET for Visual FoxPro Developers

se everything you learned in the previous chapter about building Windows Formspplications (plus a few extra twists) into building ASPNET Web Applications It alsoemonstrates how you can reuse the business objects created in the previous chapter king you step-by-step through the process of creating an ASPNET Web Application

hapter 11 - NET XML

ML has taken the software world by storm Everything from configuration files Visua

oxPro and databases (such as SQL Server) to Microsoft Office and Web Services have ability to work with XML In many ways the NET Framework was built with XML inind This chapter discusses incorporating XML into your NET applications and alsorovides an overview of XML base classes for reading writing and manipulating XML

hapter 12 ndash XML Web Services

ccording to Microsoft XML Web Services is what NET is all about This chapter providbrief overview of XML Web Services then provides step-by-step instructions foreating your first NET Web service and shows how to consume it and other XML Web

ervices in NET

hapter 13 ndash Error Handling and Debugging in NET

rror handling in NET is quite a bit different than error handling found in previousersions of VFP However both NET and Visual FoxPro 8 have tryhellipcatchhellipfinally blockat provide a far more powerful and flexible way to handle errors in your application

his chapter also discusses Visual Studio NET debugging tools As yoursquo ll see many aremilar to Visual FoxProrsquo s some are better and some are not

hapter 14 - NET Security

ne of the important features of NET is its advanced security capabilities This chaptescusses the built-in security features of NET including assemblies code groupsermissions and security policies and shows you how to make use of these in youresktop and Internet applications

hapter 15 ndash Interoperability with Visual FoxPro

herersquo s no need to lose the time and money you have invested in your Visual FoxPro

ode This chapter shows you how to make the best use of your existing Visual FoxPropplications by accessing them from NET It also turns the tables and shows you how ccess NET from within Visual FoxPro

ppendix A - Language Comparison Tables

he tables in this appendix provide a side-by-side comparison of Visual FoxPro C ansual Basic NET features

ppendix B - Type Comparison Table

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (4 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 56

NET for Visual FoxPro Developers

he tables in this appendix provides a side-by-side comparison of Visual FoxPro C asual Basic NET data types

ppendix C - The Visual FoxPro Toolkit for NET

his appendix discusses the Visual FoxPro Toolkit for NET which gives VFP developersreat boost up the NET learning curve

uthor bio evin McNeish is President and Chief Software Architect of Oak Leaf Enterprises Inc and

crosoft NETC MVP He is a speaker with MSDN Canada Speakerrsquo s Bureau and is also

ell known speaker and trainer throughout North America and Europe He is co-author ofe book Professional UML with Visual Studio NET author of the book NET for Visual

oxPro Developers has authored several articles for CoDe magazine and has been

terviewed on the NET Rocks Internet Radio Show He is the Chief Software Architect oe Mere Mortals NET Framework and spends about half his time on the road training anentoring companies to build well-designed high-performance NET desktop Internet anmart Device applications He has also helped many developers transition to the NETevelopment platform in his highly acclaimed NET training classes e-mailevinmoakleafsdcom Web wwwoakleafsdcom Phone 434-979-2417

ditor bio athi Gero CPA is founder and development director of Prenia Corporation providin

ustom software applications training and architectural designing to businesses andevelopers Cathi is a Microsoft NETC MVP and is an active member of the NET

ommunity She has extensive experience developing applications using the NETamework SQL Server Visual FoxPro and Crystal Reports as well as other technologhe is a member of the Microsoft NET Advisory Council She is an internationally knowpeaker at conferences and user groups author of numerous articles for Microsoft andchnical editor for several NET books including NET for Visual FoxPro Developers H

onthly column ldquoCathi Gerorsquo s NET Tipsrdquo appears in Universal Thread Magazine Her

eblog featuring NET Tips and Tricks can be found at httpblogspreniacomcathi

ost of the year Cathi travels to various companies providing onsite training mentorin

nd development experience Contact Cathi via email at cgeropreniacom

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (5 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 66

NET for Visual FoxPro Developers

tt f t l t i ftNETf VFPD l ht (6 f 6) [29052007 08 40 32 ]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 46

NET for Visual FoxPro Developers

se everything you learned in the previous chapter about building Windows Formspplications (plus a few extra twists) into building ASPNET Web Applications It alsoemonstrates how you can reuse the business objects created in the previous chapter king you step-by-step through the process of creating an ASPNET Web Application

hapter 11 - NET XML

ML has taken the software world by storm Everything from configuration files Visua

oxPro and databases (such as SQL Server) to Microsoft Office and Web Services have ability to work with XML In many ways the NET Framework was built with XML inind This chapter discusses incorporating XML into your NET applications and alsorovides an overview of XML base classes for reading writing and manipulating XML

hapter 12 ndash XML Web Services

ccording to Microsoft XML Web Services is what NET is all about This chapter providbrief overview of XML Web Services then provides step-by-step instructions foreating your first NET Web service and shows how to consume it and other XML Web

ervices in NET

hapter 13 ndash Error Handling and Debugging in NET

rror handling in NET is quite a bit different than error handling found in previousersions of VFP However both NET and Visual FoxPro 8 have tryhellipcatchhellipfinally blockat provide a far more powerful and flexible way to handle errors in your application

his chapter also discusses Visual Studio NET debugging tools As yoursquo ll see many aremilar to Visual FoxProrsquo s some are better and some are not

hapter 14 - NET Security

ne of the important features of NET is its advanced security capabilities This chaptescusses the built-in security features of NET including assemblies code groupsermissions and security policies and shows you how to make use of these in youresktop and Internet applications

hapter 15 ndash Interoperability with Visual FoxPro

herersquo s no need to lose the time and money you have invested in your Visual FoxPro

ode This chapter shows you how to make the best use of your existing Visual FoxPropplications by accessing them from NET It also turns the tables and shows you how ccess NET from within Visual FoxPro

ppendix A - Language Comparison Tables

he tables in this appendix provide a side-by-side comparison of Visual FoxPro C ansual Basic NET features

ppendix B - Type Comparison Table

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (4 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 56

NET for Visual FoxPro Developers

he tables in this appendix provides a side-by-side comparison of Visual FoxPro C asual Basic NET data types

ppendix C - The Visual FoxPro Toolkit for NET

his appendix discusses the Visual FoxPro Toolkit for NET which gives VFP developersreat boost up the NET learning curve

uthor bio evin McNeish is President and Chief Software Architect of Oak Leaf Enterprises Inc and

crosoft NETC MVP He is a speaker with MSDN Canada Speakerrsquo s Bureau and is also

ell known speaker and trainer throughout North America and Europe He is co-author ofe book Professional UML with Visual Studio NET author of the book NET for Visual

oxPro Developers has authored several articles for CoDe magazine and has been

terviewed on the NET Rocks Internet Radio Show He is the Chief Software Architect oe Mere Mortals NET Framework and spends about half his time on the road training anentoring companies to build well-designed high-performance NET desktop Internet anmart Device applications He has also helped many developers transition to the NETevelopment platform in his highly acclaimed NET training classes e-mailevinmoakleafsdcom Web wwwoakleafsdcom Phone 434-979-2417

ditor bio athi Gero CPA is founder and development director of Prenia Corporation providin

ustom software applications training and architectural designing to businesses andevelopers Cathi is a Microsoft NETC MVP and is an active member of the NET

ommunity She has extensive experience developing applications using the NETamework SQL Server Visual FoxPro and Crystal Reports as well as other technologhe is a member of the Microsoft NET Advisory Council She is an internationally knowpeaker at conferences and user groups author of numerous articles for Microsoft andchnical editor for several NET books including NET for Visual FoxPro Developers H

onthly column ldquoCathi Gerorsquo s NET Tipsrdquo appears in Universal Thread Magazine Her

eblog featuring NET Tips and Tricks can be found at httpblogspreniacomcathi

ost of the year Cathi travels to various companies providing onsite training mentorin

nd development experience Contact Cathi via email at cgeropreniacom

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (5 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 66

NET for Visual FoxPro Developers

tt f t l t i ftNETf VFPD l ht (6 f 6) [29052007 08 40 32 ]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 56

NET for Visual FoxPro Developers

he tables in this appendix provides a side-by-side comparison of Visual FoxPro C asual Basic NET data types

ppendix C - The Visual FoxPro Toolkit for NET

his appendix discusses the Visual FoxPro Toolkit for NET which gives VFP developersreat boost up the NET learning curve

uthor bio evin McNeish is President and Chief Software Architect of Oak Leaf Enterprises Inc and

crosoft NETC MVP He is a speaker with MSDN Canada Speakerrsquo s Bureau and is also

ell known speaker and trainer throughout North America and Europe He is co-author ofe book Professional UML with Visual Studio NET author of the book NET for Visual

oxPro Developers has authored several articles for CoDe magazine and has been

terviewed on the NET Rocks Internet Radio Show He is the Chief Software Architect oe Mere Mortals NET Framework and spends about half his time on the road training anentoring companies to build well-designed high-performance NET desktop Internet anmart Device applications He has also helped many developers transition to the NETevelopment platform in his highly acclaimed NET training classes e-mailevinmoakleafsdcom Web wwwoakleafsdcom Phone 434-979-2417

ditor bio athi Gero CPA is founder and development director of Prenia Corporation providin

ustom software applications training and architectural designing to businesses andevelopers Cathi is a Microsoft NETC MVP and is an active member of the NET

ommunity She has extensive experience developing applications using the NETamework SQL Server Visual FoxPro and Crystal Reports as well as other technologhe is a member of the Microsoft NET Advisory Council She is an internationally knowpeaker at conferences and user groups author of numerous articles for Microsoft andchnical editor for several NET books including NET for Visual FoxPro Developers H

onthly column ldquoCathi Gerorsquo s NET Tipsrdquo appears in Universal Thread Magazine Her

eblog featuring NET Tips and Tricks can be found at httpblogspreniacomcathi

ost of the year Cathi travels to various companies providing onsite training mentorin

nd development experience Contact Cathi via email at cgeropreniacom

ttpfoxcentralnetmicrosoftNETforVFPDevelopershtm (5 of 6) [29052007 084032 pm]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 66

NET for Visual FoxPro Developers

tt f t l t i ftNETf VFPD l ht (6 f 6) [29052007 08 40 32 ]

8102019 NET for Visual FoxPro Developerspdf

httpslidepdfcomreaderfullnet-for-visual-foxpro-developerspdf 66

NET for Visual FoxPro Developers

tt f t l t i ftNETf VFPD l ht (6 f 6) [29052007 08 40 32 ]