Visual Basic 2005 Recipes

Size: px
Start display at page:

Download "Visual Basic 2005 Recipes"

Transcription

1 The EXPERT s VOIce in.net Visual Basic 2005 Recipes A Problem-Solution Approach Learn practical solutions for your VB 2005 problems. Todd Herman, Allen Jones, Matthew MacDonald, and Rakesh Rajan

2 Visual Basic 2005 Recipes A Problem-Solution Approach Todd Herman, Allen Jones, Matthew MacDonald, and Rakesh Rajan

3 Visual Basic 2005 Recipes: A Problem-Solution Approach Copyright 2007 by Todd Herman, Allen Jones, Matthew MacDonald, Rakesh Rajan All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): ISBN-10 (pbk): Printed and bound in the United States of America Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Lead Editor: Ewan Buckingham Technical Reviewer: Damien Foggon Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Jonathan Gennick, Jason Gilmore, Jonathan Hassell, Chris Mills, Matthew Moodie, Jeffrey Pepper, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh Project Manager: Beth Christmas Copy Edit Manager: Nicole Flores Copy Editor: Marilyn Smith Assistant Production Director: Kari Brooks-Copony Production Editor: Ellie Fountain Compositor: Susan Glinert Proofreader: Liz Welch Indexer: John Collin Artist: Kinetic Publishing Services, LLC Cover Designer: Kurt Krames Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY Phone SPRINGER, fax , orders-ny@springer-sbm.com, or visit For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600, Berkeley, CA Phone , fax , info@apress.com, or visit The information in this book is distributed on an as is basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. The source code for this book is available to readers at in the Source Code/Download section.

4 This book is for my incredible wife and best friend Amy, as well as my son Aidan and daughter Alaina. Without them I wouldn t be the man I am today and this book may not have been possible. Todd Herman

5

6 Contents at a Glance About the Authors xv About the Technical Reviewer xvii Acknowledgments xix Introduction xxi CHAPTER 1 Application Development CHAPTER 2 Data Manipulation CHAPTER 3 Application Domains, Reflection, and Metadata CHAPTER 4 Threads, Processes, and Synchronization CHAPTER 5 Files, Directories, and I/O CHAPTER 6 XML Processing CHAPTER 7 Windows Forms CHAPTER 8 Multimedia CHAPTER 9 Database Access CHAPTER 10 Networking and Remoting CHAPTER 11 Security and Cryptography CHAPTER 12 Unmanaged Code Interoperability CHAPTER 13 Commonly Used Interfaces and Patterns CHAPTER 14 Windows Integration CHAPTER 15 Language Integrated Query (LINQ) APPENDIX Acronyms Index v

7

8 Contents About the Authors xv About the Technical Reviewer xvii Acknowledgments xix Introduction xxi CHAPTER 1 Application Development Create a Console Application from the Command Line Create a Windows-Based Application from the Command Line Create and Use a Code Module from the Command Line Create and Use a Code Library from the Command Line Access Command-Line Arguments Include Code Selectively at Build Time Access a Program Element That Has the Same Name As a Keyword Create and Manage Strong-Named Key Pairs Give an Assembly a Strong Name Verify That a Strong-Named Assembly Has Not Been Modified Delay Sign an Assembly Sign an Assembly with an Authenticode Digital Signature Create and Trust a Test Software Publisher Certificate Manage the Global Assembly Cache Make Your Assembly More Difficult to Decompile Manipulate the Appearance of the Console Embed a Resource File in an Assembly CHAPTER 2 Data Manipulation Manipulate the Contents of a String Efficiently Encode a String Using Alternate Character Encoding Convert Basic Value Types to Byte Arrays Base64 Encode Binary Data Validate Input Using Regular Expressions Use Compiled Regular Expressions vii

9 viii CONTENTS 2-7. Create Dates and Times from Strings Add, Subtract, and Compare Dates and Times Sort an Array or an ArrayList Copy a Collection to an Array Use a Strongly Typed Collection Create a Generic Type Store a Serializable Object to a File Read User Input from the Console CHAPTER 3 Application Domains, Reflection, and Metadata Load an Assembly into the Current Application Domain Create an Application Domain Execute an Assembly in a Different Application Domain Avoid Loading Unnecessary Assemblies into Application Domains Create a Type That Cannot Cross Application Domain Boundaries Create a Type That Can Be Passed Across Application Domain Boundaries Instantiate a Type in a Different Application Domain Pass Data Between Application Domains Unload Assemblies and Application Domains Retrieve Type Information Test an Object s Type Instantiate an Object Using Reflection Create a Custom Attribute Inspect the Attributes of a Program Element Using Reflection CHAPTER 4 Threads, Processes, and Synchronization Execute a Method Using the Thread Pool Execute a Method Asynchronously Execute a Method Periodically Execute a Method at a Specific Time Execute a Method by Signaling a WaitHandle Object Execute a Method Using a New Thread Synchronize the Execution of Multiple Threads Using a Monitor

10 CONTENTS ix 4-8. Synchronize the Execution of Multiple Threads Using an Event Synchronize the Execution of Multiple Threads Using a Mutex Synchronize the Execution of Multiple Threads Using a Semaphore Synchronize Access to a Shared Data Value Know When a Thread Finishes Terminate the Execution of a Thread Create a Thread-Safe Collection Instance Start a New Process Terminate a Process Ensure That Only One Instance of an Application Can Execute Concurrently CHAPTER 5 Files, Directories, and I/O Retrieve Information About a File, Directory, or Drive Set File and Directory Attributes Copy, Move, or Delete a File or a Directory Calculate the Size of a Directory Retrieve Version Information for a File Show a Just-in-Time Directory Tree in the TreeView Control Read and Write a Text File Read and Write a Binary File Parse a Delimited Text File Read a File Asynchronously Find Files That Match a Wildcard Expression Test Two Files for Equality Manipulate Strings Representing Filenames Determine If a Path Is a Directory or a File Work with Relative Paths Create a Temporary File Get the Total Free Space on a Drive Show the Common File Dialog Boxes Use an Isolated Store Monitor the File System for Changes Access a COM Port Get a Random Filename Manipulate the Access Control Lists of a File or Directory

11 x CONTENTS CHAPTER 6 XML Processing Show the Structure of an XML Document in a TreeView Insert Nodes in an XML Document Quickly Append Nodes in an XML Document Find Specific Elements by Name Get XML Nodes in a Specific XML Namespace Find Elements with an XPath Search Read and Write XML Without Loading an Entire Document into Memory Validate an XML Document Against a Schema Use XML Serialization with Custom Objects Create a Schema for a.net Class Generate a Class from a Schema Perform an XSL Transform CHAPTER 7 Windows Forms Add a Control Programmatically Link Data to a Control Process All the Controls on a Form Track the Visible Forms in an Application Find All MDI Child Forms Save Configuration Settings for a Form Force a List Box to Scroll to the Most Recently Added Item Restrict a Textbox to Accepting Only Specific Input Use an Autocomplete Combo Box Sort a List View by Any Column Lay Out Controls Automatically Use Part of a Main Menu for a Context Menu Make a Multilingual Form Create a Form That Cannot Be Moved Make a Borderless Form Movable Create an Animated System Tray Icon Validate an Input Control Use a Drag-and-Drop Operation Use Context-Sensitive Help Display a Web Page in a Windows-Based Application

12 CONTENTS xi CHAPTER 8 Multimedia Find All Installed Fonts Perform Hit Testing with Shapes Create an Irregularly Shaped Control Create a Movable Sprite Create a Scrollable Image Perform a Screen Capture Use Double Buffering to Increase Redraw Speed Show a Thumbnail for an Image Play a Simple Beep or System Sound Play a WAV File Play a Sound File Show a Video with DirectShow Retrieve Information About Installed Printers Print a Simple Document Print a Multipage Document Print Wrapped Text Show a Dynamic Print Preview Manage Print Jobs CHAPTER 9 Database Access Connect to a Database Use Connection Pooling Create a Database Connection String Programmatically Store a Database Connection String Securely Execute a SQL Command or Stored Procedure Use Parameters in a SQL Command or Stored Procedure Process the Results of a SQL Query Using a Data Reader Obtain an XML Document from a SQL Server Query Perform Asynchronous Database Operations Against SQL Server Write Database-Independent Code Discover All Instances of SQL Server on Your Network CHAPTER 10 Networking and Remoting Obtain Information About the Local Network Interface Detect Changes in Network Connectivity Download Data over HTTP or FTP

13 xii CONTENTS Download a File and Process It Using a Stream Respond to HTTP Requests from Your Application Get an HTML Page from a Site That Requires Authentication Send Using SMTP Resolve a Host Name to an IP Address Ping an IP Address Communicate Using TCP Create a Multithreaded TCP Server That Supports Asynchronous Communications Communicate Using UDP Avoid Hard-Coding the Web Service URL Set Authentication Credentials for a Web Service Call a Web Method Asynchronously Make an Object Remotable Register All the Remotable Classes in an Assembly Host a Remote Object in IIS Control the Lifetime of a Remote Object Control Versioning for Remote Objects CHAPTER 11 Security and Cryptography Allow Partially Trusted Code to Use Your Strong-Named Assembly Disable Code Access Security Disable Execution Permission Checks Ensure the Runtime Grants Specific Permissions to Your Assembly Limit the Permissions Granted to Your Assembly View the Permissions Required by an Assembly Determine at Runtime If Your Code Has a Specific Permission Restrict Who Can Extend Your Classes and Override Class Members Inspect an Assembly s Evidence Determine If the Current User Is a Member of a Specific Windows Group Restrict Which Users Can Execute Your Code Impersonate a Windows User

14 CONTENTS xiii Create a Cryptographically Random Number Calculate the Hash Code of a Password Calculate the Hash Code of a File Verify a Hash Code Ensure Data Integrity Using a Keyed Hash Code Work with Security-Sensitive Strings in Memory Encrypt and Decrypt Data Using the Data Protection API CHAPTER 12 Unmanaged Code Interoperability Call a Function in an Unmanaged DLL Get the Handle for a Control, Window, or File Call an Unmanaged Function That Uses a Structure Call an Unmanaged Function That Uses a Callback Retrieve Unmanaged Error Information Use a COM Component in a.net Client Release a COM Component Quickly Use Optional Parameters Use an ActiveX Control in a.net Client Expose a.net Component to COM CHAPTER 13 Commonly Used Interfaces and Patterns Implement a Serializable Type Implement a Cloneable Type Implement a Comparable Type Implement an Enumerable Type Using a Custom Iterator Implement a Disposable Class Implement a Formattable Type Implement a Custom Exception Class Implement a Custom Event Argument Implement the Singleton Pattern Implement the Observer Pattern CHAPTER 14 Windows Integration Access Runtime Environment Information Retrieve the Value of an Environment Variable Write an Event to the Windows Event Log Read and Write to the Windows Registry

15 xiv CONTENTS Search the Windows Registry Create a Windows Service Create a Windows Service Installer Create a Shortcut on the Desktop or Start Menu CHAPTER 15 Language Integrated Query (LINQ) Use Implicitly Typed Variables Use Object Initializers Use Anonymous Types Create Extension Methods Query an IEnumerable(Of T) Collection Query a Nongeneric Collection Sort Data Using LINQ Filter Data Using LINQ Query Data from Multiple Collections Perform Aggregate Operations on Collections Retrieve a Subset of Data from a Collection Display Collection Data Using Paging APPENDIX Acronyms INDEX

16 About the Authors TODD HERMAN works for Northrop Grumman developing software for the Department of State. He has been programming since he received his first computer, a Commodore 64, on his eleventh birthday. His experience ranges from developing data-entry software in FoxPro for a water research laboratory to writing biometric applications in Visual Basic for NEC. He currently lives in Virginia with his wife and children, and spends his free time programming, playing games, and watching the Sci-Fi channel. ALLEN JONES has 15 years of experience covering a wide range of IT disciplines in a variety of sectors; however, his true passion has always been software development. Allen is currently Director of Product Development at Smith- Bayes, a UK-based firm that develops high-end, strategic-decision-support software derived from technology used in Formula 1 motor racing. MATTHEW MACDONALD is an author, educator, and Microsoft MVP. He is a regular contributor to programming journals and the author of more than a dozen books about.net programming, including Pro.NET 2.0 Windows Forms and Custom Controls in C#, Pro ASP.NET 2.0, and Pro WPF (each published by Apress). In a dimly remembered past life, he studied English literature and theoretical physics. RAKESH RAJAN coauthored an earlier book on which this book is based (Visual C# 2005 Recipes, Apress, 2006). Sadly, Rakesh passed away in He was a Microsoft MVP in C# and an MCSD in.net. As a software engineer from India, Rakesh worked with US Technology at Technopark, Trivandrum in Kerala. xv

17

18 About the Technical Reviewer DAMIEN FOGGON is a freelance programmer and technical author based in Newcastle, England. He is technical director of Thing-E Ltd., a company specializing in the development of dynamic web solutions for the education sector, and founder of Littlepond Ltd. He started out working for BT in the UK before moving on to progressively smaller companies, finally founding his own company. Now he can work on all the cool new technologies, rather than the massive monolithic developments that still exist out there. Damien is the author of Beginning ASP.NET 2.0 Databases: From Novice to Professional (Apress, 2006). He can be reached at xvii

19

20 Acknowledgments I first want to thank Richard Guidorizzi for reaffirming my thoughts regarding writing a book. Furthermore, I must thank Ewan Buckingham for seeing something in my and offering me the opportunity to write this. Finally, I must also extend my thanks and appreciation to Damien Foggon, my technical reviewer. His comments and suggestions forced me to dig deeper into myself and the material to make this a book to be proud of. Todd Herman xix

Companion ebook Available Pro Android Includes Android 1.5 SOURCE CODE ONLINE US $44.99

Companion ebook Available Pro Android Includes Android 1.5 SOURCE CODE ONLINE US $44.99 The EXPERT s VOIce in Open Source Pro Android Covers Google s Android Platform and its fundamental APIs, from basic concepts such as Android resources, intents, and content providers to advanced topics

More information

Silverlight and ASP.NET Revealed. Matthew MacDonald

Silverlight and ASP.NET Revealed. Matthew MacDonald Silverlight and ASP.NET Revealed Matthew MacDonald Silverlight and ASP.NET Revealed Copyright 2007 by Matthew MacDonald All rights reserved. No part of this work may be reproduced or transmitted in any

More information

Web Development, Silverlight, and

Web Development, Silverlight, and The EXPERT s VOIce in.net Beginning Web Development, Silverlight, and ASP.NET AJAX From Novice to Professional Learn how to build web applications using ASP.NET AJAX, WPF, WCF, and WF, as well as Silverlight.

More information

Building Spring 2 Enterprise Applications

Building Spring 2 Enterprise Applications Building Spring 2 Enterprise Applications Interface 21 with Bram Smeets and Seth Ladd Building Spring 2 Enterprise Applications Copyright 2007 by Interface 21, Bram Smeets, Seth Ladd All rights reserved.

More information

Pro.NET 4 Parallel Programming in C#

Pro.NET 4 Parallel Programming in C# Pro.NET 4 Parallel Programming in C# Adam Freeman Pro.NET 4 Parallel Programming in C# Copyright 2010 by Adam Freeman All rights reserved. No part of this work may be reproduced or transmitted in any form

More information

Pro Perl Parsing. Christopher M. Frenz

Pro Perl Parsing. Christopher M. Frenz Pro Perl Parsing Christopher M. Frenz Pro Perl Parsing Copyright 2005 by Christopher M. Frenz Lead Editors: Jason Gilmore and Matthew Moodie Technical Reviewer: Teodor Zlatanov Editorial Board: Steve Anglin,

More information

Web Standards Creativity: Innovations in Web Design with XHTML, CSS, and DOM Scripting

Web Standards Creativity: Innovations in Web Design with XHTML, CSS, and DOM Scripting Web Standards Creativity: Innovations in Web Design with XHTML, CSS, and DOM Scripting Cameron Adams Mark Boulton Andy Clarke Simon Collison Jeff Croft Derek Featherstone Ian Lloyd Ethan Marcotte Dan Rubin

More information

Raven: Scripting Java Builds with Ruby MATTHIEU RIOU

Raven: Scripting Java Builds with Ruby MATTHIEU RIOU Raven: Scripting Java Builds with Ruby MATTHIEU RIOU Raven: Scripting Java Builds with Ruby Copyright 2007 by Matthieu Riou All rights reserved. No part of this work may be reproduced or transmitted in

More information

Beginning Silverlight 3

Beginning Silverlight 3 Beginning Silverlight 3 From Novice to Professional Robert Lair Beginning Silverlight 3: From Novice to Professional Copyright 2009 by Robert Lair All rights reserved. No part of this work may be reproduced

More information

RMAN Recipes for Oracle Database 11g

RMAN Recipes for Oracle Database 11g RMAN Recipes for Oracle Database 11g A Problem-Solution Approach Darl Kuhn, Sam Alapati, and Arup Nanda RMAN Recipes for Oracle Database 11g: A Problem-Solution Approach Copyright 2007 by Darl Kuhn, Sam

More information

Accelerated GWT. Building Enterprise Google Web Toolkit Applications. Vipul Gupta

Accelerated GWT. Building Enterprise Google Web Toolkit Applications. Vipul Gupta Accelerated GWT Building Enterprise Google Web Toolkit Applications Vipul Gupta Accelerated GWT: Building Enterprise Google Web Toolkit Applications Copyright 2008 by Vipul Gupta All rights reserved. No

More information

Python 3 for Absolute Beginners

Python 3 for Absolute Beginners Python 3 for Absolute Beginners Tim Hall and J-P Stacey Python 3 for Absolute Beginners Copyright 2009 by Tim Hall and J-P Stacey All rights reserved. No part of this work may be reproduced or transmitted

More information

Date on Database. Writings C. J. Date

Date on Database. Writings C. J. Date Date on Database Writings 2000 2006 C. J. Date Date on Database: Writings 2000 2006 Copyright 2006 by C. J. Date All rights reserved. No part of this work may be reproduced or transmitted in any form or

More information

Pro SQL Server 2008 Mirroring

Pro SQL Server 2008 Mirroring Pro SQL Server 2008 Mirroring Robert L. Davis, Ken Simmons Pro SQL Server 2008 Mirroring Copyright 2009 by Robert L. Davis, Ken Simmons All rights reserved. No part of this work may be reproduced or transmitted

More information

Word Business Documents

Word Business Documents THE EXPERT S VOICE IN OFFICE Beginning Microsoft Word Business Documents From Novice to Professional Learn How to Create Specialized Business Documents with Microsoft Word James J. Marshall Beginning Microsoft

More information

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX Beginning Web Development, Silverlight, and ASP.NET AJAX From Novice to Professional Laurence Moroney Beginning Web Development, Silverlight, and ASP.NET AJAX: From Novice to Professional Copyright 2008

More information

Pro Excel 2007 VBA. Jim DeMarco

Pro Excel 2007 VBA. Jim DeMarco Pro Excel 2007 VBA Jim DeMarco Pro Excel 2007 VBA Copyright 2008 by Jim DeMarco All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical,

More information

.NET 2.0 Interoperability Recipes

.NET 2.0 Interoperability Recipes .NET 2.0 Interoperability Recipes A Problem-Solution Approach Bruce Bukovics .NET 2.0 Interoperability Recipes: A Problem-Solution Approach Copyright 2006 by Bruce Bukovics All rights reserved. No part

More information

Objective-C Quick Syntax Reference

Objective-C Quick Syntax Reference Objective-C Quick Syntax Reference Matthew Campbell Objective-C Quick Syntax Reference Copyright 2014 by Matthew Campbell This work is subject to copyright. All rights are reserved by the Publisher, whether

More information

MATLAB Programming for Numerical Analysis. César Pérez López

MATLAB Programming for Numerical Analysis. César Pérez López MATLAB Programming for Numerical Analysis César Pérez López MATLAB Programming for Numerical Analysis Copyright 2014 by César Pérez López This work is subject to copyright. All rights are reserved by the

More information

C++ Quick Syntax Reference

C++ Quick Syntax Reference C++ Quick Syntax Reference Mikael Olsson C++ Quick Syntax Reference Copyright 2013 by Mikael Olsson This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part

More information

Practical Ruby Gems. David Berube

Practical Ruby Gems. David Berube Practical Ruby Gems David Berube Practical Ruby Gems Copyright 2007 by David Berube All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or

More information

Windows 10 Revealed. The Universal Windows Operating System for PC, Tablets, and Windows Phone. Kinnary Jangla

Windows 10 Revealed. The Universal Windows Operating System for PC, Tablets, and Windows Phone. Kinnary Jangla Windows 10 Revealed The Universal Windows Operating System for PC, Tablets, and Windows Phone Kinnary Jangla Windows 10 Revealed Kinnary Jangla Bing Maps San Francisco, California, USA ISBN-13 (pbk): 978-1-4842-0687-4

More information

Beginning Ubuntu Server Administration

Beginning Ubuntu Server Administration Beginning Ubuntu Server Administration From Novice to Professional Sander van Vugt Beginning Ubuntu Server Administration: From Novice to Professional Copyright 2008 by Sander van Vugt All rights reserved.

More information

Beginning Ubuntu Server Administration

Beginning Ubuntu Server Administration Beginning Ubuntu Server Administration From Novice to Professional Sander van Vugt Beginning Ubuntu Server Administration: From Novice to Professional Copyright 2008 by Sander van Vugt All rights reserved.

More information

Beginning Ubuntu Linux

Beginning Ubuntu Linux Beginning Ubuntu Linux From Novice to Professional Keir Thomas Beginning Ubuntu Linux: From Novice to Professional Copyright 2006 by Keir Thomas All rights reserved. No part of this work may be reproduced

More information

Microsoft Computer Vision APIs Distilled

Microsoft Computer Vision APIs Distilled Microsoft Computer Vision APIs Distilled Getting Started with Cognitive Services Alessandro Del Sole Microsoft Computer Vision APIs Distilled Alessandro Del Sole Cremona, Italy ISBN-13 (pbk): 978-1-4842-3341-2

More information

Excel 2010 Made Simple

Excel 2010 Made Simple Excel 2010 Made Simple Abbott Katz i Excel 2010 Made Simple Copyright 2011 by Abbott Katz All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic

More information

Expert Shell Scripting

Expert Shell Scripting Expert Shell Scripting Ron Peters Expert Shell Scripting Copyright 2009 by Ron Peters All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic

More information

Practical Spring LDAP

Practical Spring LDAP Practical Spring LDAP Enterprise Java LDAP Development Made Easy Balaji Varanasi Practical Spring LDAP: Enterprise Java LDAP Development Made Easy Copyright 2013 Balaji Varanasi. All rights reserved. This

More information

Beginning. PHP and PostgreSQL. E-Commerce. Cristian Darie, Emilian Balanescu, and Mihai Bucica. From Novice to Professional

Beginning. PHP and PostgreSQL. E-Commerce. Cristian Darie, Emilian Balanescu, and Mihai Bucica. From Novice to Professional THE EXPERT S VOICE IN OPEN SOURCE Beginning PHP and PostgreSQL E-Commerce From Novice to Professional Learn how to use PHP, PostgreSQL, and sound development practices to build high quality, extensible

More information

JavaScript Quick Syntax Reference

JavaScript Quick Syntax Reference JavaScript Quick Syntax Reference Mikael Olsson JavaScript Quick Syntax Reference Copyright 2015 by Mikael Olsson This work is subject to copyright. All rights are reserved by the Publisher, whether the

More information

Beginning JSF 2 APIs and JBoss Seam. Kent Ka Iok Tong

Beginning JSF 2 APIs and JBoss Seam. Kent Ka Iok Tong Beginning JSF 2 APIs and JBoss Seam Kent Ka Iok Tong Beginning JSF 2 APIs and JBoss Seam Copyright 2009 by Kent Ka Iok Tong All rights reserved. No part of this work may be reproduced or transmitted in

More information

Pro Data Backup and Recovery. Steven Nelson

Pro Data Backup and Recovery. Steven Nelson Pro Data Backup and Recovery Steven Nelson Pro Data Backup and Recovery Copyright 2011 by Steven Nelson All rights reserved. No part of this work may be reproduced or transmitted in any form or by any

More information

Pro JavaScript Performance Monitoring and Visualization

Pro JavaScript Performance Monitoring and Visualization Pro JavaScript Performance Monitoring and Visualization Tom Barker Pro JavaScript Performance Copyright 2012 by Tom Barker This work is subject to copyright. All rights are reserved by the Publisher, whether

More information

Beginning. Pivot Tables. in Excel Debra Dalgleish

Beginning. Pivot Tables. in Excel Debra Dalgleish The EXPERT s VOIce Beginning Pivot Tables in Excel 2007 Debra Dalgleish Beginning Pivot Tables in Excel 2007 Debra Dalgleish Beginning Pivot Tables in Excel 2007 Copyright 2007 by Debra Dalgleish All

More information

Joomla! Beginning. From Novice to Professional

Joomla! Beginning. From Novice to Professional The EXPERT s VOIce in Web Development Beginning Joomla! From Novice to Professional Build and manage personal homepages, user communities, and corporate websites with ease using Joomla!, one of the world

More information

Java Quick Syntax Reference. Second Edition. Mikael Olsson

Java Quick Syntax Reference. Second Edition. Mikael Olsson Java Quick Syntax Reference Second Edition Mikael Olsson Java Quick Syntax Reference Second Edition Mikael Olsson Java Quick Syntax Reference Mikael Olsson Hammarland, Länsi-Suomi, Finland ISBN-13 (pbk):

More information

Essential Angular for ASP.NET Core MVC

Essential Angular for ASP.NET Core MVC Essential Angular for ASP.NET Core MVC Adam Freeman Essential Angular for ASP.NET Core MVC Adam Freeman London, UK ISBN-13 (pbk): 978-1-4842-2915-6 ISBN-13 (electronic): 978-1-4842-2916-3 DOI 10.1007/978-1-4842-2916-3

More information

Pro Apache Beehive KUNAL MITTAL AND SRINIVAS KANCHANAVALLY

Pro Apache Beehive KUNAL MITTAL AND SRINIVAS KANCHANAVALLY Pro Apache Beehive KUNAL MITTAL AND SRINIVAS KANCHANAVALLY Pro Apache Beehive Copyright 2005 by Kunal Mittal and Srinivas Kanchanavally All rights reserved. No part of this work may be reproduced or transmitted

More information

Pro MERN Stack. Full Stack Web App Development with Mongo, Express, React, and Node. Vasan Subramanian

Pro MERN Stack. Full Stack Web App Development with Mongo, Express, React, and Node. Vasan Subramanian Pro MERN Stack Full Stack Web App Development with Mongo, Express, React, and Node Vasan Subramanian Pro MERN Stack Vasan Subramanian Bangalore, Karnataka, India ISBN-13 (pbk): 978-1-4842-2652-0 ISBN-13

More information

Fedora. Beginning. From Novice to Professional

Fedora. Beginning. From Novice to Professional The EXPERT s VOIce in Open Source Beginning Fedora From Novice to Professional The complete guide to Fedora includes everything you need to know to master this popular Linux-based operating system. Shashank

More information

Foundations of JSP Design Patterns

Foundations of JSP Design Patterns Foundations of JSP Design Patterns ANDREW PATZER EDITED BY MATTHEW MOODIE APress Media, LLC Foundatlons of JSP Design Patterns Copyright O 2004 by Andrew Patzer, Matthew Moodle Originally published by

More information

Agile Swift. Swift Programming Using Agile Tools and Techniques. Godfrey Nolan

Agile Swift. Swift Programming Using Agile Tools and Techniques. Godfrey Nolan Agile Swift Swift Programming Using Agile Tools and Techniques Godfrey Nolan Agile Swift: Swift Programming Using Agile Tools and Techniques Godfrey Nolan Huntington Woods, Michigan, USA ISBN-13 (pbk):

More information

Pro Entity Framework 4.0

Pro Entity Framework 4.0 Pro Entity Framework 4.0 Scott Klein CONTENTS Pro Entity Framework 4.0 Copyright 2010 by Scott Klein All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,

More information

Beginning ASP.NET MVC 4. José Rolando Guay Paz

Beginning ASP.NET MVC 4. José Rolando Guay Paz Beginning ASP.NET MVC 4 José Rolando Guay Paz Beginning ASP.NET MVC 4 Copyright 2013 by José Rolando Guay Paz This work is subject to copyright. All rights are reserved by the Publisher, whether the whole

More information

Pro SQL Server 2008 Policy-Based Management. Ken Simmons Colin Stasiuk Jorge Segarra

Pro SQL Server 2008 Policy-Based Management. Ken Simmons Colin Stasiuk Jorge Segarra Pro SQL Server 2008 Policy-Based Management Ken Simmons Colin Stasiuk Jorge Segarra PRO SQL SERVER 2008 POLICY-BASED MANAGEMENT Copyright 2010 by Ken Simmons, Colin Stasiuk, Jorge Segarra All rights reserved.

More information

SQL Server AlwaysOn Revealed

SQL Server AlwaysOn Revealed SQL Server AlwaysOn Revealed Second Edition Peter A. Carter SQL Server AlwaysOn Revealed, 2nd Edition Peter A. Carter Botley, United Kingdom ISBN-13 (pbk): 978-1-4842-2396-3 ISBN-13 (electronic): 978-1-4842-2397-0

More information

The Windows 10 Productivity Handbook

The Windows 10 Productivity Handbook The Windows 10 Productivity Handbook Discover Expert Tips, Tricks, and Hidden Features in Windows 10 Mike Halsey The Windows 10 Productivity Handbook Mike Halsey Sheffield, Yorkshire, UK ISBN-13 (pbk):

More information

ASP.NET Core Recipes

ASP.NET Core Recipes ASP.NET Core Recipes A Problem-Solution Approach Second Edition John Ciliberti ASP.NET Core Recipes: A Problem-Solution Approach John Ciliberti Sparta, New Jersey, USA ISBN-13 (pbk): 978-1-4842-0428-3

More information

C Quick Syntax Reference

C Quick Syntax Reference C Quick Syntax Reference Mikael Olsson C Quick Syntax Reference Copyright 2015 by Mikael Olsson This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of

More information

Learn Programming with Flash MX

Learn Programming with Flash MX Learn Programming with Flash MX Kristian Besley Ben Renow-Clarke APress Media, LLC Learn Programming with Flash MX Copyright 2004 by Kristian Besley and Ben Renow-Clarke Originally published by Apress

More information

Swift Quick Syntax Reference

Swift Quick Syntax Reference Swift Quick Syntax Reference Matthew Campbell Swift Quick Syntax Reference Copyright 2014 by Matthew Campbell This work is subject to copyright. All rights are reserved by the Publisher, whether the whole

More information

Pro Perl Parsing. Christopher M. Frenz

Pro Perl Parsing. Christopher M. Frenz Pro Perl Parsing Christopher M. Frenz Pro Perl Parsing Copyright 2005 by Christopher M. Frenz Lead Editors: Jason Gilmore and Matthew Moodie Technical Reviewer: Teodor Zlatanov Editorial Board: Steve Anglin,

More information

Functional Programming in R

Functional Programming in R Functional Programming in R Advanced Statistical Programming for Data Science, Analysis and Finance Thomas Mailund Functional Programming in R: Advanced Statistical Programming for Data Science, Analysis

More information

Building Custom Tasks for SQL Server Integration Services

Building Custom Tasks for SQL Server Integration Services Building Custom Tasks for SQL Server Integration Services Andy Leonard Building Custom Tasks for SQL Server Integration Services Andy Leonard Farmville, Virginia, USA ISBN-13 (pbk): 978-1-4842-2939-2 ISBN-13

More information

Also Available Powers friends of ED ADObE LEARNING LIbRARY SHELVING CATEGORY 1. DREAmwEAVER 2. web DEVELOPmENT

Also Available Powers friends of ED ADObE LEARNING LIbRARY SHELVING CATEGORY 1. DREAmwEAVER 2. web DEVELOPmENT friends of ED ADOBE LEARNING LIBRARY Leverage the power of Dreamweaver s CSS tools to build attractive, standards-compliant websites. Use and customize Dreamweaver s PHP features to build searchable, database-driven

More information

Excel 2007 PivotTables Recipes

Excel 2007 PivotTables Recipes Excel 2007 PivotTables Recipes A Problem-Solution Approach Debra Dalgleish Excel 2007 PivotTables Recipes: A Problem-Solution Approach Copyright 2007 by Debra Dalgleish All rights reserved. No part of

More information

Expert C# 5.0 with.net 4.5 Framework

Expert C# 5.0 with.net 4.5 Framework Expert C# 5.0 with.net 4.5 Framework Mohammad Rahman Apress Expert C# 5.0: with.net 4.5 Framework Copyright 2013 by Mohammad Rahman This work is subject to copyright. All rights are reserved by the Publisher,

More information

Learn PHP 7. Object-Oriented Modular Programming using HTML5, CSS3, JavaScript, XML, JSON, and MySQL. Steve Prettyman

Learn PHP 7. Object-Oriented Modular Programming using HTML5, CSS3, JavaScript, XML, JSON, and MySQL. Steve Prettyman THE EXPERT S VOICE IN WEB DEVELOPMENT Learn PHP 7 Object-Oriented Modular Programming using HTML5, CSS3, JavaScript, XML, JSON, and MySQL Steve Prettyman Learn PHP 7 Object-Oriented Modular Programming

More information

THE EXPERT S VOICE. Covers. Excel 2003 and Excel As Your. Database. Paul Cornell, Jr. Excel

THE EXPERT S VOICE. Covers. Excel 2003 and Excel As Your. Database. Paul Cornell, Jr. Excel THE EXPERT S VOICE Excel Covers Excel 2003 and Excel 2007 As Your Database Paul Cornell, Jr. Excel As Your Database Paul Cornell, Jr. Excel As Your Database Copyright 2007 by Paul Cornell, Jr. All rights

More information

A Programmer's Guide to

A Programmer's Guide to J2EE FrontEnd Technologies: A Programmer's Guide to Servlets, JavaServer Pages, and Enterprise JavaBeans LENNART JGRELID APress Media, LLC J2EE FrontEnd Technologies: A Programmer's Guide to Servlets,

More information

Pro ASP.NET MVC 5. Adam Freeman

Pro ASP.NET MVC 5. Adam Freeman Pro ASP.NET MVC 5 Adam Freeman Pro ASP.NET MVC 5 Copyright 2013 by Adam Freeman This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is

More information

Web Programming with Dart. Moises Belchin Patricia Juberias

Web Programming with Dart. Moises Belchin Patricia Juberias Web Programming with Dart Moises Belchin Patricia Juberias Web Programming with Dart Copyright 2015 by Moises Belchin and Patricia Juberias This work is subject to copyright. All rights are reserved by

More information

Pro Windows PowerShell

Pro Windows PowerShell Pro Windows PowerShell Hristo Deshev Pro Windows PowerShell Copyright 2008 by Hristo Deshev All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic

More information

Pro Windows PowerShell

Pro Windows PowerShell Pro Windows PowerShell Hristo Deshev Pro Windows PowerShell Copyright 2008 by Hristo Deshev All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic

More information

Introducing Aviary. Mike Peutz

Introducing Aviary. Mike Peutz Introducing Aviary Mike Peutz Introducing Aviary Copyright 2009 by Mike Peutz All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical,

More information

Microformats: Empowering Your Markup for Web 2.0. John Allsopp

Microformats: Empowering Your Markup for Web 2.0. John Allsopp Microformats: Empowering Your Markup for Web 2.0 John Allsopp Microformats: Empowering Your Markup for Web 2.0 Copyright 2007 by John Allsopp All rights reserved. No part of this work may be reproduced

More information

Professional ASP.NET 2.0 Databases. Thiru Thangarathinam

Professional ASP.NET 2.0 Databases. Thiru Thangarathinam Professional ASP.NET 2.0 Databases Thiru Thangarathinam Professional ASP.NET 2.0 Databases Professional ASP.NET 2.0 Databases Thiru Thangarathinam Professional ASP.NET 2.0 Databases Published by Wiley

More information

Enterprise JavaBeans 2.1

Enterprise JavaBeans 2.1 Enterprise JavaBeans 2.1 STEFAN DENNINGER and INGO PETERS with ROB CASTANEDA translated by David Kramer APress Media, LLC Enterprise JavaBeans 2.1 Copyright 2003 by Stefan Denninger and Ingo Peters with

More information

J2ME Games with MIDP 2

J2ME Games with MIDP 2 J2ME Games with MIDP 2 CAROL HAMER APress Media, LLC J2ME Games with MIDP 2 Copyright ~ 2 0 0 4 by Carol Hamer Originally published by Apress in 2004 All rights reserved. No part of this work may be reproduced

More information

Foundation Flash Catalyst. Greg Goralski LordAlex Leon

Foundation Flash Catalyst. Greg Goralski LordAlex Leon Foundation Flash Catalyst Greg Goralski LordAlex Leon Foundation Flash Catalyst Copyright 2010 by Gerg Goralski and LordAlex Leon All rights reserved. No part of this work may be reproduced or transmitted

More information

Programming in C# for Experienced Programmers

Programming in C# for Experienced Programmers Programming in C# for Experienced Programmers Course 20483C 5 Days Instructor-led, Hands-on Introduction This five-day, instructor-led training course teaches developers the programming skills that are

More information

MATLAB Numerical Calculations. César Pérez López

MATLAB Numerical Calculations. César Pérez López MATLAB Numerical Calculations César Pérez López MATLAB Numerical Calculations Copyright 2014 by César Pérez López This work is subject to copyright. All rights are reserved by the Publisher, whether the

More information

Beginning SQL Server 2008 for Developers

Beginning SQL Server 2008 for Developers Beginning SQL Server 2008 for Developers From Novice to Professional Robin Dewson Beginning SQL Server 2008 for Developers: From Novice to Professional Copyright 2008 by Robin Dewson All rights reserved.

More information

Pro Angular 6. Third Edition. Adam Freeman

Pro Angular 6. Third Edition. Adam Freeman Pro Angular 6 Third Edition Adam Freeman Pro Angular 6 Adam Freeman London, UK ISBN-13 (pbk): 978-1-4842-3648-2 ISBN-13 (electronic): 978-1-4842-3649-9 https://doi.org/10.1007/978-1-4842-3649-9 Library

More information

Excel Pivot Tables Recipe Book

Excel Pivot Tables Recipe Book Excel Pivot Tables Recipe Book A - Approach DEBRA DALGLEISH Excel Pivot Tables Recipe Book: A - Approach Copyright 2006 by Debra Dalgleish All rights reserved. No part of this work may be reproduced or

More information

Ubuntu on a Dime. The Path to Low-Cost Computing. James Floyd Kelly

Ubuntu on a Dime. The Path to Low-Cost Computing. James Floyd Kelly Ubuntu on a Dime The Path to Low-Cost Computing James Floyd Kelly Ubuntu on a Dime: The Path to Low-Cost Computing Copyright 2009 by James Floyd Kelly All rights reserved. No part of this work may be reproduced

More information

Scalable Big Data Architecture

Scalable Big Data Architecture Scalable Big Data Architecture A Practitioner s Guide to Choosing Relevant Big Data Architecture Bahaaldine Azarmi Scalable Big Data Architecture Copyright 2016 by Bahaaldine Azarmi This work is subject

More information

Pro Android C++ with the NDK

Pro Android C++ with the NDK Pro Android C++ with the NDK Onur Cinar Apress Pro Android C++ with the NDK Copyright 2012 by Onur Cinar This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or

More information

Beginning ASP.NET. 4.5 in C# Matthew MacDonald

Beginning ASP.NET. 4.5 in C# Matthew MacDonald Beginning ASP.NET 4.5 in C# Matthew MacDonald Contents About the Author About the Technical Reviewers Acknowledgments Introduction xxvii xxix xxxi xxxiii UPart 1: Introducing.NET. 1 & Chapter 1: The Big

More information

Practical Amazon EC2, SQS, Kinesis, and S3

Practical Amazon EC2, SQS, Kinesis, and S3 Practical Amazon EC2, SQS, Kinesis, and S3 A Hands-On Approach to AWS Sunil Gulabani Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS Sunil Gulabani Ahmedabad, Gujarat, India ISBN-13

More information

Summary of Contents. Chapter 3: Designing and Creating the Development Database. Chapter 5: SWl Server Ouery Analyzer

Summary of Contents. Chapter 3: Designing and Creating the Development Database. Chapter 5: SWl Server Ouery Analyzer of Contents Introduction Chapter 1: Introduction to SOL Server 2000 Chapter 2: Installing the Personal Edition of SOL Server 2000 Chapter 3: Designing and Creating the Development Database Chapter 4: SOL

More information

ASP.NET 3.5 ASP.NET 3.5. in C# Beginning. From Novice to Professional. Updatesofts.com. Matthew MacDonald

ASP.NET 3.5 ASP.NET 3.5. in C# Beginning. From Novice to Professional. Updatesofts.com. Matthew MacDonald cyan MaGenTa yellow Black pantone 123 c Books for professionals By professionals The expert s Voice in.net Companion ebook Available Beginning ASP.NET 3.5 in C# 2008: Dear Reader, Author of Pro ASP.NET

More information

Beginning Robotics Programming in Java with LEGO Mindstorms

Beginning Robotics Programming in Java with LEGO Mindstorms Beginning Robotics Programming in Java with LEGO Mindstorms Wei Lu Beginning Robotics Programming in Java with LEGO Mindstorms Wei Lu Keene, New Hampshire, USA ISBN-13 (pbk): 978-1-4842-2004-7 ISBN-13

More information

C# 6.0 in a nutshell / Joseph Albahari & Ben Albahari. 6th ed. Beijin [etc.], cop Spis treści

C# 6.0 in a nutshell / Joseph Albahari & Ben Albahari. 6th ed. Beijin [etc.], cop Spis treści C# 6.0 in a nutshell / Joseph Albahari & Ben Albahari. 6th ed. Beijin [etc.], cop. 2016 Spis treści Preface xi 1. Introducing C# and the.net Framework 1 Object Orientation 1 Type Safety 2 Memory Management

More information

"Charting the Course to Your Success!" MOC B Programming in C# Course Summary

Charting the Course to Your Success! MOC B Programming in C# Course Summary Course Summary Description This training course teaches developers the programming skills that are required for developers to create Windows applications using the C# language. During their five days in

More information

Pro Oracle Application Express

Pro Oracle Application Express Pro Oracle Application Express John Edward Scott and Scott Spendolini Pro Oracle Application Express Copyright 2008 by John Edward Scott and Scott Spendolini All rights reserved. No part of this work may

More information

Beginning the Linux Command Line. Sander van Vugt

Beginning the Linux Command Line. Sander van Vugt Beginning the Linux Command Line Sander van Vugt Beginning the Linux Command Line Copyright 2009 by Sander van Vugt All rights reserved. No part of this work may be reproduced or transmitted in any form

More information

Carlo Scarioni. Pro Spring Security

Carlo Scarioni. Pro Spring Security Carlo Scarioni Pro Spring Security Pro Spring Security Copyright 2013 by Carlo Scarioni This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material

More information

Visual Studio Condensed. Patrick Desjardins

Visual Studio Condensed. Patrick Desjardins Visual Studio Condensed Patrick Desjardins Visual Studio Condensed Copyright 2014 by Patrick Desjardins This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or

More information

From Novice to Professional

From Novice to Professional Beginning SQL Server 2000 DBA: From Novice to Professional Tony Bain, with Baya Pavliashvili, Joseph Sack, Michael Benkovich, and Brian Freeman APress Media, LLC Beginning SQL Server 2000 DBA: From Novice

More information

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio Introduction XXV Part I: C# Fundamentals 1 Chapter 1: The.NET Framework 3 What s the.net Framework? 3 Common Language Runtime 3.NET Framework Class Library 4 Assemblies and the Microsoft Intermediate Language

More information

SQL Server Security Distilled Second Edition

SQL Server Security Distilled Second Edition SQL Server Security Distilled Second Edition MORRIS LEWIS APress Media, LLC SQL Server Security Distilled, Second Edition SQL Server Security Distilled, Second Edition Copyright 2004 Morris Lewis Originally

More information

Taking Your iphone to the Max

Taking Your iphone to the Max Taking Your iphone to the Max Erica Sadun Taking Your iphone to the Max Copyright 2008 by Erica Sadun All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,

More information

Pro ASP.NET SharePoint 2010 Solutions Techniques for Building SharePoint Functionality into ASP.NET Applications

Pro ASP.NET SharePoint 2010 Solutions Techniques for Building SharePoint Functionality into ASP.NET Applications Pro ASP.NET SharePoint 2010 Solutions Techniques for Building SharePoint Functionality into ASP.NET Applications Dave Milner i Pro ASP.NET SharePoint 2010 Solutions: Techniques for Building SharePoint

More information

James Cryer. Pro Grunt.js

James Cryer. Pro Grunt.js James Cryer Pro Grunt.js Pro Grunt.js Copyright 2015 by James Cryer This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned,

More information

Material Design Implementation with AngularJS

Material Design Implementation with AngularJS Material Design Implementation with AngularJS UI Component Framework First Edition V. Keerti Kotaru Material Design Implementation with AngularJS V. Keerti Kotaru Hyderabad, Andhra Pradesh, India ISBN-13

More information

Practical Prototype and script.aculo.us

Practical Prototype and script.aculo.us Practical Prototype and script.aculo.us Andrew Dupont Practical Prototype and script.aculo.us Copyright 2008 by Andrew Dupont All rights reserved. No part of this work may be reproduced or transmitted

More information

Microsoft. Microsoft Visual C# Step by Step. John Sharp

Microsoft. Microsoft Visual C# Step by Step. John Sharp Microsoft Microsoft Visual C#- 2010 Step by Step John Sharp Table of Contents Acknowledgments Introduction xvii xix Part I Introducing Microsoft Visual C# and Microsoft Visual Studio 2010 1 Welcome to

More information