Flora Europaea (Volume 3)

The Ultimate VB .NET and ASP.NET Code Book

The Ultimate VB .NET and ASP.NET Code Book 

 Table of content


1 2

  • 1. Table of Contents

  • 2. BackCover

  • 3. The Ultimate VB.NET and ASP.NET Code Book

  • 4. Chapter 1: Moving from VB6

    Overview

  • 5. What Is .NET?

    What Is .NET?

  • 6. Exploring Visual Studio .NET

    Exploring Visual Studio .NET

  • 7. Creating a Web Application

    Creating a Web Application

  • 8. How Your Code Changes

    How Your Code Changes

    Understanding the Framework

    Integer Upgrades

    Strings

    Variant and Currency

    Array Alterations

    New Operators

    Declaring Properties

    User-Defined Types

    Change the Scope

    ByVal Is Default

    Set Has Disappeared

    Error Handling Changes

    The Class Keyword

  • 9. Conclusion

    Conclusion

  • 10. Chapter 2: Creating Great Windows Applications

    Overview

  • 11. The Essentials

    The Essentials

  • 12. Developer Secrets

    check consecutive spaces vb.net key press

    vb.net how to reset animated GIF picturebox vb.net

  • 13. Protecting Your Code with Obfuscation

    Protecting Your Code with Obfuscation

    Best of All Worlds: Creating an Ultra-Thin Client

    The Easy Way to Download Full Application Updates

  • 14. Chapter 3: Web Sites in Seconds

    Overview

  • 15. The Essentials

    The Essentials

  • 16. Developer Secrets

    Developer Secrets

    User Interface

    Code Techniques

    Optimization

    Errors

    and Other Tips

  • 17. User Interface

    User Interface

    Five-Step Checklist for the Validation Controls

    Displaying Web Warning Messages: Technique 1

    Displaying Web Warning Messages: Technique 2

    Unveiled: How to Create a Default Enter Button

    Wonders of the Little-Known SmartNavigation Property

    The Secret Behind User Controls

    Why the Panel Control Is Super Useful

    Moving List Items Up and Down

    Easily

    Resizing in Web Applications

    Stopping Your User from Right-Clicking

    Creating Scrollable Micro Windows

    Why You Should Learn CSS

  • 18. Code Techniques

    Code Techniques

    Three Steps to Changing Your Page Title in Code

    How to Automatically Fill Out Email Fields

    Sending Mail in ASP.NET

    The Trick to Creating User-Friendly URLs

    Adding Real-Time HTML to Your Page

    The Secret to Uploading Files with Ease

    Storing Uploaded Files in Your Database

    Working with Uploaded Images

    Creating Images Dynamically

    Code for Generating Thumbnails on the Fly

    Five Steps to ASP.NET Authentication

    Forms Authentication

    Without Web.config

    Authenticating Just Part of Your Site

    The Best Place to Store Your Settings

    Steal Fantastic Forum Code from Microsoft and Save Yourself Hours

    Integrating with PayPals Instant Payment Notification

  • 19. Optimization, Errors, and Other Tips

    Optimization

    Errors

    and Other Tips

    Subfolders in Web Applications: Confused?

    Choosing a Directory Other Than c:inetpubwwwroot

    Create Super-Fast ASP.NET Applications

    with Caching

    Nine Steps to Successful Debugging

    Hiding Error Code from Your Clients

    Forget 404: Customizing Your Page Not Found

  • 20. Server.Transfer vs. Response.Redirect

    Server.Transfer vs. Response.Redirect

    Using .IsClientConnected for Long Processes

    Preventing Client Caching

    with Meta Tags

    Uploading Files Larger Than 4MB

    What to Do When Session_End Doesnt Work

    Spying on Your Web Host: Checking Uptime in .NET

    Can It Cope? Stress Testing Your Web Apps

    The Two Methods of Moving Web Servers

    Where to Put Your Files with an ASP.NET Host

    Uh-oh: Installing IIS After Visual Studio .NET

  • 21. Chapter 4: Working with Data

    Overview

  • 22. The Essentials

    The Essentials

  • 23. Developer Secrets

    Developer Secrets

    Generating GUIDs in a Flash

    Making Your Own Connection String Creator

    Finding the Last Identity Number Added

    Cheating with SQL

    Returning Multiple Tables into a DataSet

    Checking Whether SQL Server Is Available

    Seven Steps to a Quick

    Editable Windows Grid

    Nine Steps to a Quick

    Editable Web Grid

    How to Use HTML in a Web Grid

    Using Hyperlinks in Your Web Grid

    Dates

    Currency

    Percentages: Formatting Your Web Grid Data

    Looking Good: Color-Coding Your Web Grid

    Little-Known Technique for Confirming Web Deletes

    Selecting Multiple Web Form Grid Items

    Hotmail-Style

    Click Anywhere and Select

    with a Web Grid

    The Lowdown on Using Dropdown Boxes in a Web Grid

    Speedy

    Personalized Web Data Binding

    Quick and Easy Data Paging

    with Your Web Grid

    Sorting in Seconds

    with Your Web Grid

    Amazingly Simple Method for Exporting Your Web Grid to Excel

    Returning a DataSet from an Excel Spreadsheet

    Get Microsoft to Write Your Code: Amazing Undocumented SQL Server Tool

  • 24. Chapter 5: The Lowdown on Web Services

    Overview

  • 25. The Essentials

    The Essentials

  • 26. Developer Secrets

    Developer Secrets

    Exposing Database Information

    the Quick and Easy Way

    Five Things You Need to Do Before Publicizing Your Web Service

    Improving Performance with Easy Caching

    Online Translations: Get Your Programs Speaking Spanish in Seconds

    Adding Google Search to Your Programs

    Querying the Amazon.com Web Service

    View the Real World in Your Application

    with TerraServer

    Asynchronous Access: Secrets of Calling a Web Service in the Background

    Web Services

    Proxies

    Connection ClosedOh My

    Change a Web Service URL

    Without Recompiling

    Where to Find the Best Web Services Around

  • 27. Chapter 6: From Microwaves to Pocket PCs: Special Project Types

    Overview

    Plug into Windows: Creating Your Own Windows Service

    Installing Your Service

    Get the DOS Feel: Creating a Basic Console Application

    From Mobiles to Microwaves: Creating Applications with the MIT

    Creating Your Mobile Web Application

    Writing Mobile-Aware Code

    Testing Your Mobile Web Application

    Portable Computing: Creating Apps for Your PDA

    Building for the Compact Framework

    Deploying Your Applications

    Going On from Here

  • 28. Chapter 7: More .NET Secrets

    Overview

  • 29. Developer Secrets

    Developer Secrets

    Working with the Internet

    Manipulating Files and Folders

    Dates

    Numbers

    Strings

    Graphics and Fonts

    Using the Registry and Event Log

    Distributed Computing

    Visual Studio Tips

  • 30. Working with the Internet

    Working with the Internet

    Creating Your Own Web Browser

    How to Snatch the HTML of a Web Page

    How to Snatch HTML

    with a Timeout

    Tricks of Parsing a Web Page for Links and Images

    Converting HTML to Text

    Easily

    Real Code for Posting Data to the Web

    Adding a Web Shortcut to the Favorites

    Retrieving Your IP AddressAnd Why You May Want To

    Is an Internet Connection Available?

  • 31. Manipulating Files and Folders

    Manipulating Files and Folders

    Two Easy-to-Use Functions for Reading and Writing Files

    Files: Moving

    Deleting

    Attributes

    and More

    Checking Whether Two Files Are Identical

    The Trick to Temporary Files

    Doing Directories

    Watching a Directory for Changes

    How Big Is That Filein English?

    Retrieving Special Folder Paths

    Which Program Handles That File Extension?

    Retrieving a Drive Serial Number

    The .NET Replacement for App.Path

    INI Files Will Never Die: How to in .NET

  • 32. Dates, Numbers, Strings

    Dates

    Numbers

    Strings

    Is That a Whole Number

    or Not?

    Checking for a Date the Intelligent .NET Way

    1st

    2nd

    3rd: Using Ordinal Numbers in Your App

    Random Numbers That Work

    Finding the Number of Days in a Month

    Adding and Subtracting Days

    Months

    Years

    Calculating the Next Working Day

    Easy Check for a Leap Year

    Figuring Out Quarters

    Calculating the Years Between Two Dates

    Converting a String to Proper Case

    Storing Text Snippets on the Clipboard

    Generating Memorable Passwords

    Automatically

    Encryption in Just Twelve Lines of Code

    Implementing Powerful MD5 Encryption

    Converting a String into the Color Type

    Binding a Combo Box to Enumeration Values

  • 33. Graphics and Fonts

    The Ultimate VB .NET and ASP.NET Code Book

  • 34. Using the Registry and Event Log

    Using the Registry and Event Log

    How to Read and Write the Registry

    Putting Messages in the Event Log

  • 35. Distributed Computing

    Distributed Computing

    The Cheats Guide to XML

    Reading an XML Document in Code

    Writing an XML Document in Code

    Using XML and DataSets

    The Three Words to SQL Server XML Success

    Quick XML Review

    Six Steps to Basic Transactions with COM

    Quick Guide to Using MSMQ

    Which to Choose: Web Services vs. Remoting

  • 36. Visual Studio Tips

    Visual Studio Tips

    Writing a Developer TODO: List

    Storing Often-Used Code in the Toolbox

    Organizing Your Project with Folders

    Figuring out the Command Window

    Discovering Whether Youre Running in the IDE

    Saving Time by Recording Macros

    Using the VS .NET Command Prompt

    The Old School: Upgrading

    COM

    and the API

  • 37. Chapter 8: Unveiled: The Hidden .NET Language

    Overview

  • 38. How It Works

    How It Works

  • 39. Your Regex Library

    Your Regex Library

    Exactly-One-Digit Checker

    Real Number Matcher

    Alphanumerical Matcher: No Spaces or Dots

    24-Hour Clock Time Check

    Identifying Valid Dates

    File Path and Extension Check

    Checking for Repeated Words

    Getting Capitalized Words

    Matching Numbers from a String

    Who Are You?Name Checker

    Naughty-Word Filter Expression

    True Email Address Validation

    Validating a Web Site Address

    Internet URL Matcher: FTP

    HTTP

    HTTPS

    Checking for a Valid Domain

    IP Address Checker

    Extracting Links and Images from HTML

    Checking HTML Color Codes

    Credit Card Validation

    Credit Card Regular Expression

    Password Format Enforcing Expression

    Defining Your Own HTML: Custom Tags

    with Expressions

    ISBN Checker

    Is That a GUID?

    U.S. ZIP Code Checker

    U.S. Social Security Number Checker

    U.S. Phone Number Checker

    U.S. State Checker

    U.K. Postal Code Matcher

    U.K. National Insurance Number Check

    U.K. Telephone Number Validator

    Converting American and British Dates

    French

    German

    and Japanese Expressions

    The Simple Cure for Loose Expressions

  • 40. Chapter 9: The Quick C Translation Guide

    Overview

  • 41. Translating C to VB .NET

    Translating C to VB .NET

    Translation Listing

    1. Comments: welcome to C

    2. Remove the End-of-Line Semicolon;

    3. Data Types: int

    bool

    float

    DateTime

    4. Functions: public bool writeEventLog(string entry)

    5. Methods: public void activateAlarm()

    6. Variables: string strText;

    7. String Contents: n and

    8. Objects: myObject new myClass();

    9. Scope: public

    private

    internal

    static

    10. Arguments: ref and out keywords

    11. Arithmetic: x;

    12. If-Then: if (x y) else

    13. Comparison: and and and

    14. Select Case: switch x

    15. Loops: for (x1; x10; x1)

    16. Errors: try catch finally

    17. The Mystery of this

    18. Events: obj.event new class.delegate(handler);

    19. Classes: Properties

    20. Classes: Constructors and Finalizers

    21. Class Interfaces: myInterface myObject2 (myInterface)myObject1;

    22. Class Inheritance Keywords: base

    virtual

    abstract

    sealed

  • 42. Cheating at the Conversion

    Cheating at the Conversion

  • 43. Where to Go from Here

    Where to Go from Here

  • 44. Appendix

    I: Installing VS.NET

  • 45. II: Default Project Files

    II: Default Project Files

    Windows Application

    Class Library

    Web Application

    Web Service

  • 46. III: Windows Form Controls

    III: Windows Form Controls

  • 47. IV: VB.NET Data Types

    IV: VB.NET Data Types

  • 48. V: VB.NET Naming Conventions

    V: VB.NET Naming Conventions

  • 49. Index

    Symbols and Numbers

  • 50. Index_A

    A

1 2

 

Authors: Moore K.

ISBN: 1590591062   Current page: 1 from 76

This World book online are presented on flylib.com

Our library present to you materials from book The Ultimate VB .NET and ASP.NET Code Book.

Warning! The page Table of content from this book is informational only! Do not print out this page! Do NOT SUBMIT this page as part of your website or work without confirmation from the authors.

You can read the contents of the book, but we strongly recommend that you purchase. or example, you can Buy this book on Amazon.com


  • Authors:
  • Moore K.
  • Keys:
  • developer
  • trade
  • windows
  • files
  • making
  • creating
  • generating
  • secrets
  • Buy this book on Amazon.com

Buy on Amazon
 
Flora Europaea (Volume 3)
The Ultimate VB .NET and ASP.NET Code Book
if you may any questions - contact us: flylib(at)qtcs.net
Privacy Policy