Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Vb.net Examples

Recommended Posts

Many of you may be aware of this great set of .NET examples, but for those of you who are new to .NET, this set of 101 code samples can be a life saver when moving from VB6 to VB.NET. It is also useful for any newcomers to programming. These are all examples done by Microsoft and contain comments and descriptions. Almost anything you want to do in .NET, you will find a basic (or advanced) implementation in these examples. This was originally out when .NET 2002 was released, but all samples have been updated to .NET 2003. Here are a few of the cool samples included.

 

1) Windows Forms - XP Theme Support

2) Windows Forms - How-To Use Drag and Drop

3) Windows Forms - How-To DataGrid Sorting and Filtering

4) Windows Forms - How-To System Tray Icon

5) Web Development - Data Entry Form

6) UPGRADE SAMPLE - FORM CLOSING AND SAVE CHANGES

7) UPGRADE SAMPLE - FILE EXPLORER

8) Security - Use Cryptographic Hash Algorithms

9) NET Framework - Use Temporary Files

10) Language - How-To OO Features

11) Advanced .NET Framework (GDI+) - Animation with GDI+

12) Advanced .NET Framework - Interacting with a Windows Service

13) Advanced .NET Framework - Make WIn32 API Calls

14) Advanced .NET Framework (GDI+) - Use GDI+ to manipulate images

15) Data Access - Retrieve and Process data with a SQL Data Reader

 

These are just a few of the great examples you will get.

 

http://www.microsoft.com/en-us/download

Share this post


Link to post
Share on other sites

IT Software

Vb.net Examples

 

VB.Net is the very best langusge for developing windows & web application

 

-reply by Gyan Chand Sharma

Share this post


Link to post
Share on other sites

creating an address book in VB.NET using a text document to store the details

Vb.net Examples

 

Hi, I'm currently creating an addressbook where the form displayes a persons name, address, town and postcode all this information is stored in an text document I am having trouble coding the delete button as it has to delete it from the text boxes on the form and also from the text document were the info is stored can any one please help??

 

-reply by Emily

Share this post


Link to post
Share on other sites

Hi!@Gyan Chand SharmaIt is hard to define which language is the "best" for a given purpose because each language has its own advantages and disadvantages. You could have programming languages that offer you the ability to write code without ever having to define variables or data types and Visual Studio provides you with that capability for the Microsoft .NET platform but the practice is strongly discouraged because it could lead to errors that cannot be tracked at compile-time and would require significant testing effort to detect. It is possible to enforce the requirement for the developer to declare variables and their types, and to manually type-cast the variables to the desired type instead of having Visual Studio transform the variables into the appropriate type required for a given operation by setting the Option Explicit and Option Strict to On either at the top of each of the code files or by setting it as an option used by the compiler within the project properties.There were folks who would swear by Ruby on Rails (the language and the framework) for the development of web applications and did consider it superior to all else, but then again, you cannot really match the performance of an application written with FastCGI-C, Java, or .NET.@EmilyYou can clear the text boxes by setting the Text property to an empty string. Properties in .NET can be read from and written to with the same reference name, unlike mutators and accessors that have the "set" and the "get" in the name that requires you to use the appropriate name depending on whether you want to set a variable value or get it. This enables you to easily replace variable names with property names. For file manipulation, the classes in the System.IO namespace would provide you with the desired functionality. System.IO.File is probably what you want to look at, along with the InputStream and OutputStream classes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.