conversations.from: human
conversations.value: What could be a title for a book about Write, Vista, Webapplications with the genre: Computers & Technology, Programming Languages?
conversations.from: assistant
conversations.value: A title for this book could be 'Visual Basic 2008 For Dummies'
conversations.from: human
conversations.value: Do you know the first four paragraphs for this book?
conversations.from: assistant
conversations.value: Visual Basic 2008 For Dummies
  That said, Visual Basic packs a fair amount of power into the System.Drawing classes. While these classes are somewhat primitive in some areas, and using them might cause you to have to write a few more lines of code than you should, there isn't much that these classes can't do with sufficient work.
  The drawing capability provided by the.NET Framework is divided into four logical areas by the namespace design provided by Microsoft. All the general drawing capability is right in the System.Drawing namespace. Then you find several specialized namespaces:
  Even at the highest level, graphics programming consists of drawing polygons, filling them with color, and labeling them with text — all on a canvas of some sort. Unsurprisingly, this leaves you with four objects that you find are the core of the graphics code you write: graphics, pens, brushes, and text.
  Generally speaking, the Graphics class creates an object that is your palette. It is the canvas. All the methods and properties of the Graphics object are designed to make the area you draw upon more appropriate for your needs.
conversations.from: human
conversations.value: Delete the last sentence.
conversations.from: assistant
conversations.value: Visual Basic 2008 For Dummies
  That said, Visual Basic packs a fair amount of power into the System.Drawing classes. While these classes are somewhat primitive in some areas, and using them might cause you to have to write a few more lines of code than you should, there isn't much that these classes can't do with sufficient work.
  The drawing capability provided by the.NET Framework is divided into four logical areas by the namespace design provided by Microsoft. All the general drawing capability is right in the System.Drawing namespace. Then you find several specialized namespaces:
  Even at the highest level, graphics programming consists of drawing polygons, filling them with color, and labeling them with text — all on a canvas of some sort. Unsurprisingly, this leaves you with four objects that you find are the core of the graphics code you write: graphics, pens, brushes, and text.
  Generally speaking, the Graphics class creates an object that is your palette. It is the canvas.
conversations.from: human
conversations.value: Do you know five more paragraphs?
conversations.from: assistant
conversations.value: Macros are so cool that they get their own user interface, which I show in Figure 19-4. And macros are so powerful and flexible, they have the potential to totally change your development patterns. Here, I present a small part of their power. (I leave the experimenting up to you.)
  One of the neatest things you can do is record a keystroke-saving macro for later playback. If you have a task (such as formatting text) that you expect to do more than once, record it as a macro. I have a whole host of macros I recorded to format strings for paragraphs and lists. Formatting with prerecorded macros makes site management with Visual Studio a breeze.
  For example, copy some text from Notepad, just as if you received it from a client, and paste the text in the Code View. Each paragraph will be one long line of text in the Code View screen.
  The macro is now recorded and, what's more, it is actually code that resides in the temporary macro spot in the Macro Explorer. Listing 19-2 shows this code.
conversations.from: human
conversations.value: Add another sentence about HTML, formatting.
conversations.from: assistant
conversations.value: Macros are so cool that they get their own user interface, which I show in Figure 19-4. And macros are so powerful and flexible, they have the potential to totally change your development patterns. Here, I present a small part of their power. (I leave the experimenting up to you. )
  One of the neatest things you can do is record a keystroke-saving macro for later playback. If you have a task (such as formatting text) that you expect to do more than once, record it as a macro. 
  One of my favorite ways to use a macro is to record HTML formatting. I have a whole host of macros I recorded to format strings for paragraphs and lists. Formatting with prerecorded macros makes site management with Visual Studio a breeze. 
  For example, copy some text from Notepad, just as if you received it from a client, and paste the text in the Code View. Each paragraph will be one long line of text in the Code View screen. 
  The macro is now recorded and, what's more, it is actually code that resides in the temporary macro spot in the Macro Explorer. Listing 19-2 shows this code.
conversations.from: human
conversations.value: Do you know the last five paragraphs?
conversations.from: assistant
conversations.value: Regular expressions out of Perl are very useful, for instance. Perl is a language that makes heavy use of Regular Expressions, and our.NET Regular Expressions are similar. With good search criteria, it is easy to find Perl regular expressions that match things you might need — search "Regex Email," for example.
  Using kbAlertz isn't about VB 2008 as much as it's about having access to information that's handy for anyone in a Windows environment. I subscribe to the alerts and get information on changes to the security best practices, among other things.
  Speaking of open source code (weren't we?), don't overlook CodePlex — Microsoft's new Open Source Management System. This is an all-.NET library of open source projects that you can join, use, or browse.
  I use open source projects as my own personal education medium. Throughout my career, I have looked at how other people have done things, both good and bad, and formulated my own plans. CodePlex is a great place to do that.
  It's also a lot of fun. Right now, the most popular project is a.NET driver for the nunchucks from the Wii. Cool stuff.
conversations.from: human
conversations.value: Swap the first and the last sentence.
conversations.from: assistant
conversations.value: Cool stuff. Perl is a language that makes heavy use of Regular Expressions, and our.NET Regular Expressions are similar. With good search criteria, it is easy to find Perl regular expressions that match things you might need — search "Regex Email," for example.
  Using kbAlertz isn't about VB 2008 as much as it's about having access to information that's handy for anyone in a Windows environment. I subscribe to the alerts and get information on changes to the security best practices, among other things.
  Speaking of open source code (weren't we?), don't overlook CodePlex — Microsoft's new Open Source Management System. This is an all-.NET library of open source projects that you can join, use, or browse.
  I use open source projects as my own personal education medium. Throughout my career, I have looked at how other people have done things, both good and bad, and formulated my own plans. CodePlex is a great place to do that.
  It's also a lot of fun. Right now, the most popular project is a.NET driver for the nunchucks from the Wii.Regular expressions out of Perl are very useful, for instance.