Showing posts with label Visual Basic. Show all posts
Showing posts with label Visual Basic. Show all posts

Wednesday, December 11, 2013

Microsoft Visual Basic 2013 Step by Step

Your hands-on guide to Visual Basic fundamentals
Expand your expertise—and teach yourself the fundamentals of Microsoft Visual Basic 2013. If you have previous programming experience but are new to Visual Basic 2013, this tutorial delivers the step-by-step guidance and coding exercises you need to master core topics and techniques.
Discover how to:
  • Master essential Visual Basic programming techniques
  • Begin building apps for Windows Store, Windows Phone 8, and ASP.NET
  • Design apps using XAML markup, touch input, and live tiles
  • Tackle advanced language concepts, such as polymorphism
  • Manage data sources including XML documents and web data
  • Create a Windows Phone 8 app that manages key lifecycle events

Friday, October 19, 2012

Beginning ASP.NET 4.5 in VB



This book is the most comprehensive and up to date introduction to ASP.NET ever written. Focusing solely on Visual Basic, with no code samples duplicated in other languages, award winning author Matthew MacDonald introduces you to the very latest thinking and best practices for the ASP.NET 4.5 technology.

Assuming no prior coding experience, you'll be taught everything you need to know from the ground up.  Starting from first principals, you'll learn the skills you need to be an effective ASP.NET developer who is ready to progress to more sophisticated projects and professional work.

You'll be taught how to use object orientation and code-behind techniques to lay out your code clearly in a way other developers can easily understand. You'll learn how to query databases from within you web pages, spice up your layouts using ASP.NET AJAX and deploy your finished websites to production servers.  You'll also learn how to debug your code when things go wrong and the performance and scalability issues that can affect your web projects as they grow.

With this book you can take your first steps towards becoming a successful ASP.NET developer with confidence.

What you’ll learn

  • Learn everything you need to know to build ASP.NET 4.5 applications with confidence.
  • Dive into the deepest, broadest, introductory ASP.NET coverage available.
  • Be guided by an award winning author who will steadily progress your knowledge from first principals to advanced techniques over the course of the book.

Who this book is for

This book is ideal for anyone new to .NET development who wants to learn how ASP.NET 4.5 works. No prior programming knowledge is assumed and all concepts are explained from first principals.

Table of Contents

Part 1: Introducing .NET 
1. The .NET Framework 
2. The C# Language 
3. Types, Objects, and Namespace

Part 2: Developing ASP.NET Applications

4. Visual Studio
5. Web Form Fundamentals
6. Web Controls
7. Error Handling, Logging, and Tracing
8. State Management

Part 3: Building Better Web Forms
9. Validation
10.Rich Controls 
11.User Controls and Graphics 
12.Styles, Themes, and Master Pages 
13.Website Navigation

Part 4: Working with Data
14.ADO.NET Fundamentals 
15.Data Binding 
16.The Data Controls 
17.Files and Streams 
18.XML

Part 5: Website Security 
19.Security Fundamentals 
20.Membership 
21.Profiles

Part 6: Advanced ASP.NET 
22.Advanced ASP.NET Components 
23.Caching 
24.LINQ and the Entity Framework 
25.ASP.NET AJAX 
26.Deploying ASP.NET Applications

Thursday, March 8, 2012

Silverlight 5/Visual Basic: Add event handling code

- Modify from the last article "Hello Visual Basic Silverlight 5, using Microsoft Visual Studio 11 Ultimate Beta". Edit MainPage.xaml in XAML view to add property of Click="button1_Click", to specify the call-back function once the button clicked.
    <Grid x:Name="LayoutRoot" Background="White">
<StackPanel>
<TextBlock x:Name="textBlock" Text="Hello!"></TextBlock>
<Button x:Name="button1" Click="button1_Click" Content="Click Me"></Button>
</StackPanel>
</Grid>


- Click the Design tab to switch to Design view, and double click on the button, to insert code of button1_Click() in MainPage.xaml.vb.


- Enter the code:
    Private Sub button1_Click(sender As Object, e As RoutedEventArgs)
textBlock.Text = "Hello, I'm here!"
End Sub

button1_Click()

- Run it.
Silver 5/Visual Basic: Add event handling code


Next:
- Border of Silverlight

Wednesday, March 7, 2012

Hello Visual Basic Silverlight 5, using Microsoft Visual Studio 11 Ultimate Beta

- Click New Project... in start-up page of Microsoft Visual Studio 11 Ultimate Beta.
New Project...

- Select template of Silverlight under Visual Basic, Silverlight Application with name of "hello_VBSilverLight". Click OK.
New Project

- Uncheck "Host the Silverlight application in a new Web site", select Silverlight Version of Silverlight 5, click OK.
New Silverlight Application

- The application wizard will generate the start-up project for you.
Start-up Silverlight 5 project

- Edit MainPage.xaml in XAML view - double click on the XAML tab to open XAML editor, we are going to insert something using XAML manually, instead of using graphical Design tool.
Open XAML editor

- Type in something inside the <Grid> element:
<UserControl x:Class="hello_VBSilverLight.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400">

<Grid x:Name="LayoutRoot" Background="White">
<StackPanel>
<TextBlock x:Name="textBlock" Text="Hello!"></TextBlock>
<Button x:Name="button1" Content="Click Me"></Button>
</StackPanel>
</Grid>
</UserControl>

Edit XAML

- Now, click the "Start" button. A browser will open and load your Hello World Silver 5 application.
Hello VB Silverlight 5


Next:
- Silverlight 5/Visual Basic: Add event handling code

Wednesday, November 30, 2011

Visual Basic Fundamentals: Development for Absolute Beginners

Over the course of 25 episodes Visual Basic Fundamentals: Development for Absolute Beginners, Bob Tabor from www.LearnVisualStudio.net will teach you the fundamentals of Visual Basic programming. Tune in to learn concepts applicable to video games, mobile environments, and client applications. Walk you through getting the tools, writing code, debugging features, customizations and much more! Each concept is broken into its own video so you can search for and focus on the information you need.





Link: Visual Basic Fundamentals: Development for Absolute Beginners