• 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
  • Student
  • Topplistor
  • Barn & ungdom
  • Bokus Play
  • E-böcker
  • Ljudböcker
  • Pocketböcker
  • Spel & pussel

10% rabatt på allt med kod NYSTART10 →

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
    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

    Beginning Visual Basic 2015

    AvBryan Newsome

    Häftad, Engelska, 2016

    329 kr

    Beställningsvara. Skickas inom 5-8 vardagar. Fri frakt över 249 kr.

    Fler format och utgåvor

    E-bok

    427 kr

    E-bok

    427 kr

    Beskrivning

    Learn Visual Basic step by step and start programming right away Beginning Visual Basic 2015 is the ideal guide for new programmers, especially those learning their first language. This new edition has been updated to align with Visual Studio 2015, and also refocused to concentrate on key beginner topics. Precise, step-by-step instructions walk you through important tasks, and clear explanations targeted to beginners will have you writing your first Visual Basic application quickly. You'll start from the absolute beginning, assuming no prior programming experience, and then gradually build your skills to write Visual Basic applications for Windows and the Web. Coverage includes objects, class libraries, graphics, databases, and much more, with explicit instructions on using ASP.NET, SQL Server, ADO.NET, and XML. Visual Studio is the usual environment for Visual Basic programming, and the latest upgrade has made Visual Basic more feature compatible with C# to allow programmers to move fluidly between the two languages. Don't know C#? Don't worry! This book starts from the very beginning of Visual Basic programming to help you build your skills from the ground-up. Understand flow control and data structureDebug Windows applications, dialog boxes, and menusMaster objects and object-oriented techniquesAccess databases, program graphics, and program for the WebOver three million programmers use Visual Basic, and many of them learned it as their first language. It's beginner-friendly, versatile, and visually oriented, making it an ideal introduction to the programming mindset, workflow, and hard skills. Beginning Visual Basic 2015 gets you started on the right foot, with clear, patient instruction and plenty of hands-on practice.

    Produktinformation

    • Utgivningsdatum:2016-01-05
    • Mått:188 x 234 x 33 mm
    • Vikt:1 066 g
    • Format:Häftad
    • Språk:Engelska
    • Antal sidor:624
    • Förlag:John Wiley & Sons Inc
    • ISBN:9781119092117

    Utforska kategorier

    • Programmeringsböcker inom Data och IT

    Mer om författaren

    About the author Bryan Newsome is a senior programmer/analyst and a Microsoft Certified Application Developer for VB.NET. Since starting his career with Visual Basic 5, he has embraced each new version and now creates all new applications leveraging the .NET platform and VB.NET. Bryan has built a reputation around providing solutions and mentoring on leading-edge Microsoft technologies. Visit us at wrox.com where you have access to free code samples, Programmer to Programmer forums, and discussions on the latest happenings in the industry from around the world.

    Innehållsförteckning

    • INTRODUCTION xxvii CHAPTER 1: WELCOME TO VISUAL BASIC 2015 1Implementing Event-Driven Programming 2Installing Visual Basic 2015 3The Visual Studio 2015 IDE 5The Profi le Setup Page 5The Menu 6The Toolbars 8Creating a Simple Application 9Windows in the Visual Studio 2015 IDE 10Modifi ed Hungarian Notation 17The Code Editor 18Using the Help System 22Summary 23CHAPTER 2: THE MICROSOFT .NET FRAMEWORK 25The .NET Vision 25This Sounds Like Java 26Where Now? 27Writing Software for Windows 27The .NET Framework Classes 28Executing Code 30Common Language Runtime 31Code Loading and Execution 31Application Isolation 31Security 32Interoperability 33Exception Handling 33The Common Type System and Common Language Specification 33Summary 34CHAPTER 3: WRITING SOFTWARE 37Information and Data 37Algorithms 38What Is a Programming Language? 39Working with Variables 40Comments and Whitespace 43Comments 43Whitespace 45Data Types 45Working with Numbers 45Common Integer Math Operations 46Integer Math Shorthand 49The Problem with Integer Math 50Floating-Point Math 50Working with Strings 53Using Dates 62Boolean 69Storing Variables 69Binary 69Bits and Bytes 70Representing Values 70Converting Values 72Methods 74Why Use Methods? 74Methods You’ve Already Seen 75Building a Method 78Choosing Method Names 81Scope 82Summary 84CHAPTER 4: CONTROLLING THE FLOW 87Making Decisions 87The If Statement 88The Else Statement 90Allowing Multiple Alternatives with ElseIf 90Nested If Statements 92Single-Line If Statement 92Comparison Operators 92String Comparison 101Select Case 102Case-Insensitive Select Case 106Multiple Selections 108The Case Else Statement 109Different Data Types with Select Case 110Loops 110The For...Next Loop 110The Do...Loop Loops 116Nested Loops 120Quitting Early 121Quitting Do...Loops 123Infinite Loops 124Summary 125CHAPTER 5: WORKING WITH DATA STRUCTURES 127Understanding Arrays 128Defining and Using Arrays 128Using For Each...Next 131Passing Arrays as Parameters 133Sorting Arrays 136Going Backward 137Initializing Arrays with Values 138Understanding Enumerations 139Using Enumerations 140Determining the State 143Setting Invalid Values 146Understanding Constants 146Using Constants 146Different Constant Types 148Structures 148Building Structures 149Adding Properties to Structures 152Working with ArrayLists 153Using an ArrayList 153Deleting from an ArrayList 158Showing Items in the ArrayList 161Working with Collections 162Creating CustomerCollection 163Adding an Item Property 164Building Lookup Tables with Hashtable 166Using Hashtables 166Cleaning Up: Remove, RemoveAt, and Clear 169Case Sensitivity 172Advanced Array Manipulation 173Dynamic Arrays 173Using Preserve 175Summary 176CHAPTER 6: BUILDING WINDOWS APPLICATIONS 179Responding to Events 180Counting Characters 184Counting Words 188Creating More Complex Applications 191Creating the Toolbar 192Creating the Status Bar 195Creating an Edit Box 196Clearing the Edit Box 197Responding to Toolbar Buttons 199Using Multiple Forms 202About Dialog 202Summary 206CHAPTER 7: DISPLAYING DIALOGS 209The MessageBox 210Available Icons for MessageBox 210Available Buttons for MessageBox 211Setting the Default Button 211Miscellaneous Options 212The Show Method Syntax 212Example Message Boxes 214The OpenFileDialog Control 218The OpenFileDialog Control 218The Properties of OpenFileDialog 218OpenFileDialog Methods 220Using the OpenFileDialog Control 221The SaveDialog Control 226The Properties of SaveFileDialog 226SaveFileDialog Methods 227Using the SaveFileDialog Control 227The FontDialog Control 231The Properties of FontDialog 231The Methods of FontDialog 232Using the FontDialog Control 232The ColorDialog Control 235The Properties of ColorDialog 236Using the ColorDialog Control 237The PrintDialog Control 238The Properties of PrintDialog 239Using the PrintDialog Control 240The PrintDocument Class 240The Properties of the PrintDocument Class 240Printing a Document 241The FolderBrowserDialog Control 248The Properties of FolderBrowserDialog 248Using the FolderBrowserDialog Control 249Summary 252CHAPTER 8: CREATING MENUS 255Understanding Menu Features 255Images 256Access Keys 256Shortcut Keys 256Check Marks 256The Properties Window 257Creating Menus 259Designing the Menus 259Adding Toolbars and Controls 261Coding Menus 263Coding the View Menu and Toolbars 267Testing Your Code 269Context Menus 272Creating Context Menus 272Enabling and Disabling Menu Items and Toolbar Buttons 275Summary 279CHAPTER 9: DEBUGGING AND ERROR HANDLING 283Major Error Types 284Syntax Errors 284Execution Errors 288Logic Errors 288Debugging 289Creating a Sample Project 289Setting Breakpoints 306Debugging Using the Watch Window and QuickWatch Dialog Box 313Debugging with the Autos Window 316Debugging with the Locals Window 316Error Handling 318Using Structured Error Handling 319Summary 321CHAPTER 10: BUILDING OBJECTS 325Understanding Objects 326Encapsulation 327Methods and Properties 327Events 328Visibility 328What Is a Class? 329Building Classes 330Reusability 330Designing an Object 332State 332Behavior 333Storing State 333Real Properties 336Read/Write Properties 339Auto-Implemented Properties 342The IsMoving Method 343Constructors 345Inheritance 346Adding New Methods and Properties 348Adding a GetPowerToWeightRatio Method 350Changing Defaults 352Polymorphism: Scary Word, Simple Concept 354Overriding More Methods 354Inheriting from the Object Class 356Objects and Structures 357The Framework Classes 357Namespaces 358The Imports Statement 360Creating Your Own Namespace 361Inheritance in the .NET Framework 364Summary 365CHAPTER 11: ADVANCED OBJECT-ORIENTED TECHNIQUES 367Building a Favorites Viewer 368Internet Shortcuts and Favorites 368Using Classes 371Scanning Favorites 377Viewing Favorites 384An Alternative Favorite Viewer 386Building a Favorites Tray 387Displaying Favorites 388Using Shared Properties and Methods 392Using Shared Properties 392Using Shared Methods 397Understanding Object-Oriented Programming and Memory Management 398Garbage Collection 400Releasing Resources 400Defragmentation and Compaction 401Summary 402CHAPTER 12: ACCESSING DATA USING STRUCTURED QUERY LANGUAGE 405What You Need to Complete This Chapter’s Exercises 406What Is a Database? 407Database Tables 407Primary and Foreign Keys 413Queries 415Understanding Basic SQL Syntax 415Using SELECT Statement 416Using the JOIN Statement 417Using the UPDATE Statement 419Using the DELETE Statement 419Using the INSERT Statement 420Using the SQL Comment 421Executing Queries in SQL Server 421Summary 425CHAPTER 13: DATABASE PROGRAMMING WITH SQL SERVER AND ADO.NET 427ADO.NET 428ADO.NET Data Namespaces 428The SqlConnection Class 429Working with the Connection String Parameters 430Opening and Closing the Connection 431The SqlCommand Class 431The SqlDataAdapter Class 434The DataSet Class 438DataView 438The ADO.NET Classes in Action 440Data Binding 450BindingContext and CurrencyManager 450Binding Controls 451Binding Examples 452Summary 480CHAPTER 14: ASP.NET 483Thin]Client Architecture 484Web Forms versus Windows Forms 485Windows Forms Advantages 485Web Forms Advantages 485Web Applications: The Basic Pieces 486Web Servers 486Browsers 486HyperText Markup Language 487JavaScript 487Cascading Style Sheets 487Active Server Pages 488Benefits of ASP.NET Web Pages 488Special Website Files 488Development 489Controls: The Toolbox 489Building Websites 490Creating a Web Form for Client] and Server]Side Processing 490Website Locations with VS 2015 495Performing Data Entry and Validation 498Using the GridView to Build a Data]Driven Web Form 507Summary 512CHAPTER 15: DEPLOYING YOUR APPLICATION 515What Is Deployment? 516ClickOnce Deployment 516XCOPY Deployment 521Visual Studio 2015 Setup Application Options 522Deploying Different Solutions 522Private Assemblies 523Shared Assemblies 523Deploying Desktop Applications 524Deploying Web Applications 524Deploying XML Web Services 524Useful Tools 525Summary 525CHAPTER 16: WINDOWS 8 APPS 529Windows 8 Application Design Principles 530Using Touch 530Application Commands 531Windows 8 Controls 532Coding Windows 8 Apps with XAML 533Creating Your First Windows 8 App 534Application Layout 548Application Views 548Screen Sizes and Orientation 548Summary 553APPENDIX: EXERCISE SOLUTIONS 557INDEX 569