List of Figures

Chapter 1: Moving from VB6

Figure 1-1: Creating our new Windows application project
Figure 1-2: Our Code window
Figure 1-3: Pick a menu option, any menu option.
Figure 1-4: Creating a new ASP.NET Web application
Figure 1-5: Painting our Web page
Figure 1-6: Our final Web application, in full IE6 glory

Chapter 2: Creating Great Windows Applications

Figure 2-1: Our Splitter control in action
Figure 2-2: Neat visual error handling with the ErrorProvider component
Figure 2-3: The MonthCalendar control. Is there anything it cant do?
Figure 2-4: Visually setting our tab order
Figure 2-5: Is that a banana in my system tray?
Figure 2-6: Our autocomplete combo box strutting its stuff
Figure 2-7: A simple little application, this time snapping to a LinkLabel control
Figure 2-8: My sample application, capturing the active window (again and again)
Figure 2-9: Sample navigation bars, all created with the free XtraNavBar Suite
Figure 2-10: Two applications: one supporting the default XP theme, the other theme-less
Figure 2-11: Our code doing its stuff: translating RTF into HTML
Figure 2-12: Dragging and dropping from Windows Explorer
Figure 2-13: Viewing the available performance counters through the Server Explorer

Chapter 3: Web Sites in Seconds!

Figure 3-1: An in-your-face Web error messages with just one line of code!
Figure 3-2: Another way to display messages, albeit somewhat quieter than the last
Figure 3-3: Its difficult to see, but the New Forum Posts section is contained inside a Panel control. If there are no posts or theres a problem connecting to the server, it isnt displayed. Another excellent use.
Figure 3-4: An example of the easy micro window in play Web Sites in Seconds!
Figure 3-5: The result of our specially formatted mailto: link
Figure 3-6: Click on the button and pick a file!
Figure 3-7: The result of our code: hey, its my shopping basket . Apparently. Web Sites in Seconds!
Figure 3-8: The White Cliff logo, resized to perfection
Figure 3-9: Authentication kicking in, as I try to access a restricted page
Figure 3-10: Have all this forum functionality, in seconds! Web Sites in Seconds!
Figure 3-11: Specifying a virtual folder alias for our new location
Figure 3-12: Our edited Web.config file
Figure 3-13: Error 404 redirection kicking in, when I access a nonexistent page
Figure 3-14: ASP.NET only been running for 13 minutes? Sounds dodgy. Change your host.
Figure 3-15: A little test I ran earlier with a bottle -necking application
Figure 3-16: Pick yer choices and copy yer files!

Chapter 4: Working with Data

Figure 4-1: Fill out your databases details, then copy the OLE DB connection string.
Figure 4-2: Putting together our SQL statement the easy way
Figure 4-3: My example DataGrid. Its quite big.
Figure 4-4: A selected record in my final, editable Web grid
Figure 4-5: Demonstrating simple HTML in a Web grid
Figure 4-6: A sample grid, with the order date field using the {0:D} formatting expression
Figure 4-7: My sample color -coded Web grid
Figure 4-8: Confirm your Web deletes in a Web grid, easily!
Figure 4-9: Selecting multiple items in our Web grid, Hotmail-style
Figure 4-10: Click anywhere and select, with this crafty code
Figure 4-11: My Web form so far, hosting one Connection , two DataAdapters , and a typed DataSet
Figure 4-12: Setting properties for our DataGrid columns , through the Property Builder
Figure 4-13: Designing how our template cell will look, in View and Edit mode
Figure 4-14: How the DataGrid looks so far, dropdown box and all
Figure 4-15: Visualizing the Update and Cancel options our user will have after clicking on Edit
Figure 4-16: Give yourself a promotion: demonstrating an editable Web grid dropdown
Figure 4-17: Simple paging in seconds!
Figure 4-18: Click and sort , in just a few lines of code
Figure 4-19: My Web grid, embedded as an Excel sheet within Internet Explorer
Figure 4-20: My sample application, grabbing data straight from an Excel workbook
Figure 4-21: My free copy of SQL Server Centric .NET Code Generator in action

Chapter 5: The Lowdown on Web Services

Figure 5-1: Setting up our initial data objects
Figure 5-2: Plugging directly into the power that is Google, through Web services
Figure 5-3: Our small application taps into, with a few lines of code
Figure 5-4: Spy on the Pentagon, with the Terraserver Web service.
Figure 5-5: The latest Web service contributions, from the front page of XMethods

Chapter 6: From Microwaves to Pocket PCs: Special Project Types

Figure 6-1: Creating a Windows Service project
Figure 6-2: Setting up our installer component
Figure 6-3: Viewing Services via the Server Explorer
Figure 6-4: Say hello to the home of your console code!
Figure 6-5: My sample console application in action
Figure 6-6: Creating a new ASP.NET Mobile Web application
Figure 6-7: Designing our Mobile Web application
Figure 6-8: My sample application in the Nokia simulator
Figure 6-9: Visually designing my Pocket PC application in Visual Studio .NET
Figure 6-10: A sample application running in the Pocket PC 2002 Emulator

Chapter 7: More .NET Secrets

Figure 7-1: My Web browser application visiting some totally random Web site
Figure 7-2: My sample application, retrieving HTML from , then converting it to text
Figure 7-3: A couple of plug-plug Internet shortcuts added by my sample code
Figure 7-4: My file size in Englishall thanks to this nifty little function!
Figure 7-5: Enter a number and get its suffix with this sample application.
Figure 7-6: Using the MonthCalendar control to display the current quarter start and end dates
Figure 7-7: My sample proper case application
Figure 7-8: Generating a memorable five-character password in just one click
Figure 7-9: An example that uses our simple Crypt function to both encrypt and decrypt at once
Figure 7-10: Strangely, I didnt pass art .
Figure 7-11: The colorful result of our lines of code
Figure 7-12: My blue to alice blue form. In black and white.
Figure 7-13: Our complex event log sample shown in the Event Viewer
Figure 7-14: Our produced XML document, viewed in Internet Explorer
Figure 7-15: Viewing our transactional components in Component Services
Figure 7-16: Viewing available queues through the Server Explorer
Figure 7-17: If only all TODO lists were this short .
Figure 7-18: Adding code to the toolbox
Figure 7-19: One of my company C# projects, really taking advantage of folders
Figure 7-20: A sample command window in use
Figure 7-21: The command prompt, ready for use

The Ultimate VB .NET and ASP.NET Code Book
The Ultimate VB .NET and ASP.NET Code Book
ISBN: 1590591062
EAN: 2147483647
Year: 2003
Pages: 76
Authors: Karl Moore

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: