• Fri frakt över 249 kr
  • •
  • Snabba leveranser
  • •
  • Billiga böcker
Kundservice

Du är på sajten för privatpersoner.

Företag, bibliotek eller offentlig verksamhet?

Du handlar på classic.bokus.com, där alla dina funktioner finns intakta.
Till classic.bokus.com
Bokus logotyp. Gå till startsidan.
  • Erbjudanden
  • Nyheter
  • Student
  • Topplistor
  • Barn & ungdom
  • Bokus Play
  • E-böcker
  • Pocketböcker
  • Spel & pussel

10% studentrabatt med kod TERM26

Sidfot

Mina sidor

    Hjälp

    • Kundservice
    • Vanliga frågor och svar
    • Frakt och leverans
    • Retur vid ångerrätt
    • Reklamera vara
    • Betalning
    • Köpvillkor
    • Allmänna villkor
    • Information om webbplatsens tillgänglighet

    Om Bokus

    • Om oss
    • Pressrum
    • För studenter
    • För företag
    • För bibliotek och offentlig verksamhet
    • För leverantörer
    • Hållbarhet

    Populärt

    • Aktuella erbjudanden
    • Presentkort
    • Studentlitteratur
    • Nya böcker
    • Topplistor
    • Signerade böcker
    • Engelska böcker

    Inspiration

    • Boktips
    • BookTok
    • Populära bokserier
    • Barnbokskaraktärer
    • Populära författare

    Mina sidor

      Hjälp

      • Kundservice
      • Vanliga frågor och svar
      • Frakt och leverans
      • Retur vid ångerrätt
      • Reklamera vara
      • Betalning
      • Köpvillkor
      • Allmänna villkor
      • Information om webbplatsens tillgänglighet

      Om Bokus

      • Om oss
      • Pressrum
      • För studenter
      • För företag
      • För bibliotek och offentlig verksamhet
      • För leverantörer
      • Hållbarhet

      Populärt

      • Aktuella erbjudanden
      • Presentkort
      • Studentlitteratur
      • Nya böcker
      • Topplistor
      • Signerade böcker
      • Engelska böcker

      Inspiration

      • Boktips
      • BookTok
      • Populära bokserier
      • Barnbokskaraktärer
      • Populära författare
      Logotyp för Bokus
      Följ oss på Facebook (extern länk)Följ oss på Instagram (extern länk)Följ oss på YouTube (extern länk)Följ oss på TikTok (extern länk)
      bokus @ CookiesAnpassa cookiesIntegritetspolicyKöpvillkor
      Till Citymail hemsida (extern länk)Till Budbee hemsida (extern länk)Till Postnord hemsida (extern länk)Till Schenker hemsida (extern länk)Till Early Bird hemsida (extern länk)Till Walleys hemsida (extern länk)
      1. Data och IT
      2. Programmeringsböcker

      Visual Basic 2015 in 24 Hours, Sams Teach Yourself

      AvJames Foxall

      Häftad, Engelska, 2015

      Del i serien Sams Teach Yourself

      247 kr

      Beställningsvara. Skickas inom 7-10 vardagar. Fri frakt över 249 kr.

      Beskrivning

       

      In just 24 sessions of one hour or less, you’ll learn how to build complete, reliable, and modern Windows applications with Microsoft® Visual Basic® 2015. Using a straightforward, step-by-step approach, each lesson builds on what you’ve already learned, giving you a strong foundation for success with every aspect of VB 2015 development.

       

      Notes present interesting pieces of information.

      Tips offer advice or teach an easier way to do something.

      Cautions advise you about potential problems and help you steer clear of disaster.

       

      Learn How To

       

      • Master VB 2015 by building a complete feature-rich application
      • Navigate VB 2015 and discover its new shortcuts
      • Work with objects, collections, and events
      • Build attractive, highly-functional user interfaces
      • Make the most of forms, controls, modules, and procedures
      • Efficiently store data and program databases
      • Make decisions in code
      • Use powerful object-oriented techniques
      • Work with graphics and text files
      • Manipulate filesystems and the Registry
      • Add email support
      • Create efficient modules and reusable procedures
      • Interact effectively with users
      • Write code to preview and print documents
      • Debug with VB 2015’s improved breakpoint features
      • Distribute your software

       

      Download all examples and source code presented in this book from informit.com/title/9780672337451 as they become available.


      Who Should Read This Book

      Those who have little or no programming experience or who might be picking up Visual Basic as a second language.

       

      Bug Alert

      Description: Changing the startup form's name in a VB WinForms app does not update the "Startup form" #4517

      Explanation: In the latest Visual Basic update on GitHub, Microsoft accidentally introduced a significant bug that you should be aware of. In the Visual Basic project properties dialog on one of the tabs (Application), is a drop down box for selecting the "startup object". This can be either a Main method or a System.Windows.Forms instance (or System.Windows.Window for WPF). When you do a rename on a form (say from the code editor in source or from the solution explorer) currently set as the startup form the rename doesn't cascade to the startup object project property cause the project to enter an invalid state where the user must now manually reset this project property from the now nonexistent Form to the new name. This is a huge annoyance.

      The fix for the bug (until Microsoft addresses) can be found here:
      http://www.jamesfo

      Produktinformation

      • Utgivningsdatum:2015-08-20
      • Mått:180 x 230 x 30 mm
      • Vikt:961 g
      • Format:Häftad
      • Språk:Engelska
      • Serie:Sams Teach Yourself
      • Antal sidor:608
      • Upplaga:1
      • Förlag:Pearson Education
      • ISBN:9780672337451

      Utforska kategorier

      • Programmeringsböcker inom Data och IT

      Mer om författaren

      James Foxall is President & CEO of Tigerpaw Software, a commercial software company providing complete business automation to more than 40,000 users in 28 countries in the IT/Networking, Telecommunications, Systems Integrator, Security, and Point of Sale industries. In his current role as President and CEO, James provides the vision and management to keep Tigerpaw focused on its customers and properly serving its markets.  James has a Masters degree in Business Administration and a BS degree in Management of Information Systems. Devoted to creating better businesses through technology, James has written 15 books, which have been published in over a dozen languages around the world. He is considered an authority on business process improvement and application interface and behavior standards of Windows applications, and serves the business community as an international speaker on automating business processes in the SMB environment.

      Innehållsförteckning

      • Introduction . . . . . . . . . . . . . xviiPart I: The Visual Basic 2015 EnvironmentHour 1: Jumping in with Both Feet: A Visual Basic 2015 Programming Tour . 1Starting Visual Basic 2015 . . . . . . . . . . 2Creating a New Project . . . . . . . . . . 3Understanding the Visual Studio 2015 Environment . . . . . 6Changing the Characteristics of Objects . . . . . . . 7Adding Controls to a Form. . . . . . . . . 13Designing an Interface . . . . . . . . . . 15Writing the Code Behind an Interface. . . . . . . 20Running a Project . . . . . . . . . . . 24Summary . . . . . . . . . . . . 27Q&A . . . . . . . . . . . . . 28Workshop. . . . . . . . . . . . 28Exercises. . . . . . . . . . . . . 29Hour 2: Navigating Visual Basic 2015 . . . . . . . . 31Using the Visual Basic 2015 Start Page . . . . . . . 31Navigating and Customizing the Visual Basic Environment . . . 34Working with Toolbars . . . . . . . . . . 40Adding Controls to a Form Using the Toolbox . . . . . . 41Setting Object Properties Using the Properties Window . . . . 43Managing Projects . . . . . . . . . . . 50A Quick-and-Dirty Programming Primer. . . . . . . 57Getting Help. . . . . . . . . . . . 59Summary . . . . . . . . . . . . 60Q&A . . . . . . . . . . . . . 60Workshop. . . . . . . . . . . . 61Exercises. . . . . . . . . . . . . 61Hour 3: Understanding Objects and Collections . . . . . . 63Understanding Objects . . . . . . . . . . 64Understanding Properties. . . . . . . . . . 64Understanding Methods. . . . . . . . . . 72Building a Simple Object Example Project . . . . . . . 73Understanding Collections . . . . . . . . . 79Using the Object Browser . . . . . . . . . . 82Summary . . . . . . . . . . . . 84Q&A . . . . . . . . . . . . . 84Workshop. . . . . . . . . . . . 85Exercises. . . . . . . . . . . . . 85Hour 4: Understanding Events . . . . . . . . . . 87Understanding Event-Driven Programming . . . . . . 87Building an Event Example Project . . . . . . . . 97Keeping Event Names Current . . . . . . . . 103Summary . . . . . . . . . . . . 103Q&A . . . . . . . . . . . . . 104Workshop. . . . . . . . . . . . 104Exercises. . . . . . . . . . . . 105Part II: Building a User InterfaceHour 5: Building Forms: The Basics . . . . . . . . 107Changing a Form’s Name . . . . . . . . . 108Changing a Form’s Appearance . . . . . . . . 109Showing and Hiding Forms . . . . . . . . . 122Summary . . . . . . . . . . . . 128Q&A . . . . . . . . . . . . . 128Workshop. . . . . . . . . . . . 129Exercises. . . . . . . . . . . . 130Hour 6: Building Forms: Advanced Techniques . . . . . . 131Working with Controls . . . . . . . . . . 131Creating Topmost Nonmodal Windows. . . . . . . 151Creating Transparent Forms . . . . . . . . . 151Creating Scrollable Forms . . . . . . . . . 152Creating MDI Forms . . . . . . . . . . 154Setting the Startup Form . . . . . . . . . 158Summary . . . . . . . . . . . . 159Q&A . . . . . . . . . . . . . 160Workshop. . . . . . . . . . . . 160Exercises. . . . . . . . . . . . 161Hour 7: Working with Traditional Controls . . . . . . . 163Displaying Static Text with the Label Control. . . . . . 163Allowing Users to Enter Text Using a Text Box. . . . . . 164Creating Buttons. . . . . . . . . . . 172Creating Containers and Groups of Option Buttons . . . . . 176Displaying a List with the List Box . . . . . . . . 180Creating Drop-Down Lists Using the Combo Box . . . . . 188Summary . . . . . . . . . . . . 190Q&A . . . . . . . . . . . . . 191Workshop. . . . . . . . . . . . 191Exercises. . . . . . . . . . . . 192Hour 8: Using Advanced Controls. . . . . . . . . 193Creating Timers . . . . . . . . . . . 193Creating Tabbed Dialog Boxes . . . . . . . . 197Storing Pictures in an Image List Control . . . . . . 200Building Enhanced Lists Using the List View Control . . . . 202Creating Hierarchical Lists Using the Tree View Control . . . . 207Summary . . . . . . . . . . . . 211Q&A . . . . . . . . . . . . . 212Workshop. . . . . . . . . . . . 212Exercises. . . . . . . . . . . . 213Hour 9: Adding Menus and Toolbars to Forms . . . . . . 215Building Menus . . . . . . . . . . . 215Using the Toolbar Control . . . . . . . . . 229Creating a Status Bar . . . . . . . . . . 235Summary . . . . . . . . . . . . 237Q&A . . . . . . . . . . . . . 237Workshop. . . . . . . . . . . . 238Exercises. . . . . . . . . . . . 238Part III: Making Things Happen—ProgrammingHour 10: Creating and Calling Code Procedures . . . . . . 239Creating Visual Basic Code Modules . . . . . . . 239Writing Code Procedures . . . . . . . . . 242Calling Code Procedures . . . . . . . . . 248Exiting Procedures. . . . . . . . . . . 254Avoiding Infinite Recursion . . . . . . . . . 255Summary . . . . . . . . . . . . 256Q&A . . . . . . . . . . . . . 257Workshop. . . . . . . . . . . . 257Exercises. . . . . . . . . . . . 258Hour 11: Using Constants, Data Types, Variables, and Arrays . . . . 259Understanding Data Types. . . . . . . . . 260Defining and Using Constants . . . . . . . . 263Declaring and Referencing Variables . . . . . . . 266Working with Arrays . . . . . . . . . . 273Determining Scope . . . . . . . . . . 276Declaring Variables of Static Scope . . . . . . . . 281Using Variables in Your Picture Viewer Project. . . . . . 282Renaming Variables . . . . . . . . . . 286Summary . . . . . . . . . . . . 287Q&A . . . . . . . . . . . . . 288Workshop. . . . . . . . . . . . 288Exercises. . . . . . . . . . . . 289Hour 12: Performing Arithmetic, String Manipulation, and Date/Time Adjustments . .. 291Performing Basic Arithmetic Operations with Visual Basic . . . 291Comparing Equalities . . . . . . . . . . 295Understanding Boolean Logic. . . . . . . . . 296Manipulating Strings. . . . . . . . . . 298Working with Dates and Times . . . . . . . . 304Summary . . . . . . . . . . . . 309Q&A . . . . . . . . . . . . . 310Workshop. . . . . . . . . . . . 310Exercises. . . . . . . . . . . . 311Hour 13: Making Decisions in Visual Basic Code . . . . . . 313Making Decisions Using If...Then. . . . . . . 313Branching Within a Procedure Using GoTo . . . . . . 324Summary . . . . . . . . . . . . 326Q&A . . . . . . . . . . . . . 327Workshop. . . . . . . . . . . . 327Exercises. . . . . . . . . . . . 328Hour 14: Looping for Efficiency . . . . . . . . . 329Looping a Specific Number of Times Using For...Next . . . . 329Using Do...Loop to Loop an Indeterminate Number of Times . . . 336Summary . . . . . . . . . . . . 341Q&A . . . . . . . . . . . . . 341Workshop. . . . . . . . . . . . 342Exercises. . . . . . . . . . . . 342Hour 15: Debugging Your Code . . . . . . . . . 343Adding Comments to Your Code . . . . . . . . 344Identifying the Two Basic Types of Errors . . . . . . 346Using Visual Basic’s Debugging Tools . . . . . . . 349Breaking Only When a Condition Is Met. . . . . . . 358Breaking Only When a Breakpoint Is Hit a Certain Number of Times . 359Sending Messages to the Output Window Using Tracepoints. . . 360Writing an Error Handler Using Try...Catch...Finally . . . 360Summary . . . . . . . . . . . . 368Q&A . . . . . . . . . . . . . 368Workshop. . . . . . . . . . . . 368Exercises. . . . . . . . . . . . 369Hour 16: Designing Objects Using Classes . . . . . . . 371Understanding Classes. . . . . . . . . . 372Instantiating Objects from Classes . . . . . . . . 381Summary . . . . . . . . . . . . 388Q&A . . . . . . . . . . . . . 388Workshop. . . . . . . . . . . . 388Exercises. . . . . . . . . . . . 389Hour 17: Interacting with Users . . . . . . . . . 391Displaying Messages Using the MessageBox.Show() Function. . . 391Creating Custom Dialog Boxes. . . . . . . . 398Using InputBox() to Get Information from a User . . . . . 401Interacting with the Keyboard . . . . . . . . 404Using the Common Mouse Events . . . . . . . . 406Summary . . . . . . . . . . . . 409Q&A . . . . . . . . . . . . . 410Workshop. . . . . . . . . . . . 410Exercises. . . . . . . . . . . . 411Hour 18: Working with Graphics . . . . . . . . . 413Understanding the Graphics Object . . . . . . . 413Working with Pens . . . . . . . . . . 416Using System Colors . . . . . . . . . . 417Working with Rectangles . . . . . . . . . 421Drawing Shapes . . . . . . . . . . . 422Drawing Text . . . . . . . . . . . 423Persisting Graphics on a Form . . . . . . . . 425Building a Graphics Project Example . . . . . . . 425Summary . . . . . . . . . . . . 432Q&A . . . . . . . . . . . . . 432Workshop. . . . . . . . . . . . 432Exercises. . . . . . . . . . . . 433Part IV: Working with DataHour 19: Performing File Operations . . . . . . . . 435Using the OpenFileDialog and SaveFileDialog Controls . . . 435Manipulating Files with the File Object. . . . . . . 443Manipulating Directories with the Directory Object . . . . 452Summary . . . . . . . . . . . . 453Q&A . . . . . . . . . . . . . 454Workshop. . . . . . . . . . . . 454Exercises. . . . . . . . . . . . 455Hour 20: Working with the Registry and Text Files . . . . . . 457Working with the Registry . . . . . . . . . 457Reading and Writing Text Files . . . . . . . . 470Summary . . . . . . . . . . . . 480Q&A . . . . . . . . . . . . . 481Workshop. . . . . . . . . . . . 481Exercises. . . . . . . . . . . . 482Hour 21: Working with a Database . . . . . . . . 483Introducing ADO.NET . . . . . . . . . . 484Manipulating Data . . . . . . . . . . 491Summary . . . . . . . . . . . . 502Q&A . . . . . . . . . . . . . 502Workshop. . . . . . . . . . . . 503Exercises. . . . . . . . . . . . 503Hour 22: Printing . . . . . . . . . . . . 505Preparing the Picture Viewer Project . . . . . . . 506Printing and Previewing a Document . . . . . . . 509Changing Printer and Page Settings . . . . . . . 519Scaling Images to Fit a Page . . . . . . . . . 522Summary . . . . . . . . . . . . 527Q&A . . . . . . . . . . . . . 528Workshop. . . . . . . . . . . . 528Exercises. . . . . . . . . . . . 528Hour 23: Sending Emails. . . . . . . . . . 529Understanding the Classes Used toSend Emails . . . . . . . . . . . . 530Sending Email from Your Picture Viewer Application . . . . 530Summary . . . . . . . . . . . . 543Q&A . . . . . . . . . . . . . 544Workshop. . . . . . . . . . . . 544Exercises. . . . . . . . . . . . 544Part V: Deploying Solutions and BeyondHour 24: Deploying Applications . . . . . . . . . 545Understanding ClickOnce Technology. . . . . . . 545Using the Publish Wizard to Create a ClickOnce Application . . . 547Testing Your Picture Viewer ClickOnce Install Program . . . . 552Uninstalling an Application You’ve Distributed . . . . . 553Setting Advanced Options for Creating ClickOnce Programs. . . 556Summary . . . . . . . . . . . . 557Q&A . . . . . . . . . . . . . 557Workshop. . . . . . . . . . . . 557Exercises. . . . . . . . . . . . 558Appendix A: The 10,000-Foot View . . . . . . . . 559TOC, 9780672337451, 7/19/2015

      Betyg & recensioner

      5/5
      1. 5/5

        En bok för den som vill lära sig grunderna

        En välstrukturerad bok med bra förklaringar till grundläggande begrepp inom Visual Basic. Efter att ha fått lära sig det mest väsentliga om menyer, formulär och diverse andra grundläggande begrepp får läsaren börja läsa om mer teoretiska begrepp som klasser, objekt, egenskaper och först därefter ge sig in i kodandets värld. Till viss del kan man jämföra med en bilskoleelev som helt saknar erfarenhet av bilkörning och först får lära sig var pedaler, instrument etc. sitter och vad de används till innan han eller hon får starta bilen. Förhoppningsvis blir boken översatt till svenska då den kräver relativt goda kunskaper i engelska.

        Hans H

        31 augusti 2015
      Hoppa över listan

      Mer från samma serie

      Bradley Jones, Peter Aitken, Dean Miller - C Programming in One Hour a Day, Sams Teach Yourself, Häftad
      • -10% student

      C Programming in One Hour a Day, Sams Teach Yourself

      Bradley Jones, Peter Aitken, Dean Miller

      Häftad, 2013

      312 kr

      Siddhartha Rao - C++ in One Hour a Day, Sams Teach Yourself, Häftad

      C++ in One Hour a Day, Sams Teach Yourself

      Siddhartha Rao

      Häftad, 2022

      358 kr

      Greg Perry, Dean Miller - Beginning Programming in 24 Hours, Sams Teach Yourself, Häftad

      Beginning Programming in 24 Hours, Sams Teach Yourself

      Greg Perry, Dean Miller

      Häftad, 2020

      220 kr

      Mike Geig - Unity Game Development in 24 Hours, Sams Teach Yourself, Häftad

      Unity Game Development in 24 Hours, Sams Teach Yourself

      Mike Geig

      Häftad, 2022

      458 kr

      Brad Dayley - jQuery and JavaScript in 24 Hours, Sams Teach Yourself, Övrigt

      jQuery and JavaScript in 24 Hours, Sams Teach Yourself

      Brad Dayley

      315 kr

      Jennifer Kyrnin - Bootstrap in 24 Hours, Sams Teach Yourself, Övrigt

      Bootstrap in 24 Hours, Sams Teach Yourself

      Jennifer Kyrnin

      315 kr

      Jeffrey Fritz - ASP.NET Core in 24 Hours, Sams Teach Yourself, Övrigt

      ASP.NET Core in 24 Hours, Sams Teach Yourself

      Jeffrey Fritz

      300 kr

      Jeffrey Aven - Apache Spark in 24 Hours, Sams Teach Yourself, Övrigt

      Apache Spark in 24 Hours, Sams Teach Yourself

      Jeffrey Aven

      575 kr

      Siddhartha Rao - C++ in One Hour a Day, Sams Teach Yourself, Övrigt

      C++ in One Hour a Day, Sams Teach Yourself

      Siddhartha Rao

      518 kr

      Rogers Cadenhead - Java in 24 Hours, Sams Teach Yourself (Covering Java 9), Övrigt

      Java in 24 Hours, Sams Teach Yourself (Covering Java 9)

      Rogers Cadenhead

      403 kr

      Hoppa över listan

      Du kanske också är intresserad av

      Rogers Cadenhead, Jesse Liberty - C++ in 24 Hours, Sams Teach Yourself, Häftad

      C++ in 24 Hours, Sams Teach Yourself

      Rogers Cadenhead, Jesse Liberty

      Häftad, 2016

      5,0 utav 5 stjärnor. Totalt antal röster:(1)

      247 kr

      Jeffrey Fritz - ASP.NET Core in 24 Hours, Sams Teach Yourself, Häftad

      ASP.NET Core in 24 Hours, Sams Teach Yourself

      Jeffrey Fritz

      Häftad, 2018

      67 kr

      Mike Geig - Unity Game Development in 24 Hours, Sams Teach Yourself, Häftad

      Unity Game Development in 24 Hours, Sams Teach Yourself

      Mike Geig

      Häftad, 2022

      458 kr

      Julie Meloni, Jennifer Kyrnin - HTML, CSS, and JavaScript All in One, Häftad

      HTML, CSS, and JavaScript All in One

      Julie Meloni, Jennifer Kyrnin

      Häftad, 2019

      4,0 utav 5 stjärnor. Totalt antal röster:(1)

      275 kr

      Mike Geig - Unity 2018 Game Development in 24 Hours, Sams Teach Yourself, Övrigt

      Unity 2018 Game Development in 24 Hours, Sams Teach Yourself

      Mike Geig

      539 kr

      Julie Meloni - Sams Teach Yourself HTML, CSS, and JavaScript All in One, Övrigt

      Sams Teach Yourself HTML, CSS, and JavaScript All in One

      Julie Meloni

      300 kr

      Trudi Reisner - Sams Teach Yourself Microsoft Office Excel 2003 in 24 Hours, Häftad

      Sams Teach Yourself Microsoft Office Excel 2003 in 24 Hours

      Trudi Reisner

      Häftad, 2003

      245 kr

      Ben Forta - SQL in 10 Minutes a Day, Sams Teach Yourself, Häftad
      • -10% student

      SQL in 10 Minutes a Day, Sams Teach Yourself

      Ben Forta

      Häftad, 2020

      266 kr

      Rogers Cadenhead - Java in 24 Hours, Sams Teach Yourself (Covering Java 9), Övrigt

      Java in 24 Hours, Sams Teach Yourself (Covering Java 9)

      Rogers Cadenhead

      403 kr

      Laura Lemay, Rafe Colburn, Jennifer Kyrnin - HTML, CSS & JavaScript Web Publishing in One Hour a Day, Sams Teach Yourself, Häftad

      HTML, CSS & JavaScript Web Publishing in One Hour a Day, Sams Teach Yourself

      Laura Lemay, Rafe Colburn, Jennifer Kyrnin

      Häftad, 2016

      5,0 utav 5 stjärnor. Totalt antal röster:(1)

      304 kr