Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, November 23, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > Visual Basic.Net > Namespaces
Search:
What's New - What's Hot


Emit with a human face        
Total Hits: 43  |  Today: 0 Author: Igor Tkachev.       Rating:  
Read Reviews | Write Review |   Your Rating: 

The System.Reflection.Emit namespace provides classes to create dynamic assemblies at runtime. It allows compilers and tools to emit MSIL, execute it and store it to a disk. Although Emit is a powerful tool, it is also extremely hard to use....

Understanding and Using Assemblies and Namespaces in .NET        
Total Hits: 239  |  Today: 0 Author: Mike Gunderloy       Rating:  
Read Reviews | Write Review |   Your Rating: 

Microsoft .NET provides several ways to think of your code as more than just a bunch of disconnected lines. As a Visual Basic programmer, you're already familiar with the concept of a class, a section of code that defines an object and its behavior. But two of the higher-level groupings may be unfamiliar to you:
1.An assembly provides a fundamental unit of physical code grouping. 2.A namespace provides a fundamental unit of logical code grouping.
As you'll see in this document, you can u...

Visual Basic .NET: New Programming Model and Language Enhancements Boost Development Power        
Total Hits: 103  |  Today: 0 Author: Ted Pattison       Rating:  
Read Reviews | Write Review |   Your Rating: 

Visual Basic .NET is the result of a significant rebuild of Visual Basic for the Microsoft .NET Framework. There are a number of changes that make Visual Basic .NET easier to use, more powerful than Visual Basic 6.0, and give it the kind of access to system resources that in the past required the use of languages like C++. One of the most important additions is object inheritance. In Visual Basic .NET, all managed types derive from System.Object. An important new language feature is garbage coll...

Perform a Reverse Lookup        
Total Hits: 527  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

This does a reverse lookup and displays the IP address of a given host. The resulting IP address will be displayed in a MessageBox....

Getting an Extension Association from the Registry        
Total Hits: 289  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

This function will return the program that is associated with the passed in extension....

The My Namespace in Sedna        
Total Hits: 76  |  Today: 0 Author: Doug Hennig       Rating:  
Read Reviews | Write Review |   Your Rating: 

New to Sedna, Visual FoxPro emulates the My namespace first introduced in Visual Basic 2005. The My namespace makes .NET Framework classes more discoverable and allows you to write less code. Sedna, the next version of Visual FoxPro (VFP), includes a My namespace as well, for the same reasons. In this article, I’ll look at how Sedna implements My....

How to enumerate currently executing processes in VB.NET        
Total Hits: 1017  |  Today: 0 Author: Aadil       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article will show how to enumerate all the processes executing in VB.NET.
The System.Diagnostics namespace contains classes that you can use to find out about the processes currently executing. You can find a lot of information about these processes, you can find the number of threads spawned by each of the process, the Win32 handle id, the virtual memory occupied, time passed since the process started etc.
All of this information is contained in a class called Process. You can get an...

Globalization in Visual Basic .NET        
Total Hits: 208  |  Today: 1 Author: Dan Mabbutt       Rating:  
Read Reviews | Write Review |   Your Rating: 

One of the big changes in software, and especially in the move up from VB 6 to VB.NET, is the ability to build globalization into your code! In a recent article about resource files in Visual Basic, I wrote, "Microsoft has heard clearly heard the jingling clink of Rupees, Euros, Yen, and Kroner in .NET." Resource files are one way that you can make your code available to people speaking different languages, but theres a lot more to it than that. In this article, I'm going to show you the code yo...

Find your IP Address        
Total Hits: 809  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

To find your IP address we first ask for your machine name, then we pass that to the GetHostName function that gives us a valid IPHostEntry object. This object contains your IP address in the AddressList array, so we just dump the value to the console....

Getting the Name and IP of your Networked Computers        
Total Hits: 1175  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

This code will locate each machine on your network and will report the name and IP address of each. This dynamically adds textboxes to the form to show each one in, so if your network is large you will want to modify it to display in a listbox or something else....

Create a Watched Folder in VB.NET        
Total Hits: 447  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

Create a new form and add a Button to it called Button1. Add this code then delete, modify, rename or create a file in your c:\ directory. The application will write the change to the output window....

Opening a file with it's associated executable        
Total Hits: 826  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

a Simple File Processing From WebSite....

ArrayList Tutorial in VB.NET        
Total Hits: 3022  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

Adding objects is simple just use the add method...

Mail Tutorial in VB.NET        
Total Hits: 774  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

It's always valuable to boil a problem down to it's simplest form, so here is the boiled down SMTP Mail solution:...

Writing Assemblies in Multiple Languages        
Total Hits: 360  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

Most of us already know about the wide array of languages the .NET Framework supports. We also know that we can code assemblies that make up projects using different languages. Something that we might not be so aware of is, coding one assembly using more than one language....

Understanding Enumerations        
Total Hits: 70  |  Today: 0 Author: Rachael Schoenbaum ,Scott Mitchell       Rating:  
Read Reviews | Write Review |   Your Rating: 

An enumeration is a special type in the .NET Framework that is comprised of a number of named constants. While you might not have created an enumeration type yourself, you have likely used enumerations many times in day-to-day programming. For example, each item in an ASP.NET DataGrid has an ItemType property, which is of type ListItemType. ListItemType is an enumeration with values like Header, Item, AlternatingItem, Footer, and others. Too, if you've created files with the System.IO.File class...

Protect Private Data with the Cryptography Namespaces of the .NET Framework        
Total Hits: 130  |  Today: 0 Author: Dan Fox       Rating:  
Read Reviews | Write Review |   Your Rating: 

The .NET Framework includes a set of cryptographic services that extend the services provided by Windows through the Crypto API. In this article, the author explores the System.Security.Cryptography namespace and the programming model used to apply cryptographic transformations. He discusses reasons why cryptography is easier in .NET than it was before, including the easy programmatic acccess developers have to the cryptography APIs and the difference between symmetric and asymmetric algorithms....

Creating a Multi-User TCP Chat Application        
Total Hits: 530  |  Today: 1 Author: Rockford Lhotka       Rating:  
Read Reviews | Write Review |   Your Rating: 

In recent weeks, I have encountered a number of people writing Visual Basic® .NET applications that use TCP sockets, to create host or client applications. Most have done this in Visual Basic 6 with the Winsock technology, and many struggle to achieve similar results in Visual Basic .NET because the underlying technology for working with sockets has changed in the .NET world. This is an interesting topic to address because we get the opportunity to explore not only socket-level programming in Vi...

Sorting the Unsortable Collection        
Total Hits: 395  |  Today: 0 Author: Rockford Lhotka       Rating:  
Read Reviews | Write Review |   Your Rating: 

Rocky Lhotka dives into the interfaces supporting collections as he shows how to implement a wrapper class to sort collections that don't support sorting. Collections are widely used throughout the .NET Framework and our applications. If you use object-oriented (OO) designs you almost certainly create and use collections. Even if you don't use pure OO designs, you probably at least use pre-existing collections. One problem I constantly face with collections is that most collections are not sorta...

Queue Tutorial in VB.NET        
Total Hits: 1088  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

To add items to the Queue you use Enqueue method. This method takes an object of any type but to keep things simple lets just give it a string object....


1  2  Next >> 


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net