|
Debugging custom action in Visual Studio.net Setup project
|
Total Hit (3798) |
I had spent quite bit of time searching around and finally got something which gives you ability to debug custom action in visual studio setup project. Here is few steps to debug custom action code.
Generally you write a seperate DLL which includes custom action code. To learn more about how to w
....Read More |
Rating
|
|
|
How to find all base classes of any type in .Net
|
Total Hit (2938) |
The following code shows how to print all base classes for a specified object.
«code LangId=2»Function PrintBaseClasses(ByVal obj As Object)
Dim t As System.Type
t = obj.GetType
Do While Not t Is Nothing
Debug.Write(t.Name)
t = t.BaseType
If Not t Is No
....Read More |
Rating
|
|
|
Object Oriented features in VB.net (Part-2)
|
Total Hit (10906) |
In the previous article we discussed the basic concepts of Object Oriented Programming. Now let's implement all this in our favorite language - VB.net.
«big»Creating Classes in VB.net«/big»
As we discussed earlier, objects are instances of a specific template – called a Class. A "Class" contai
....Read More |
Rating
|
|
|
Object Oriented features in VB.net (Part-3)
|
Total Hit (8579) |
«big»Inheritance«/big»
Now that VB.Net supports many object oriented features, lets discuss about Inheritance. Inheritance is the cornerstone of Object Oriented programming. VB.net supports inheritance and I am sure VB6 programmers will welcome this step. Inheritance gives us an ability to define
....Read More |
Rating
|
|
|
Working with DateTime and TimeSpan Object in VB.net
|
Total Hit (34757) |
In this article we will explore some key language features which are frequently used by VB programmers.
«big»DateTimes in VB.net«/big»
VB.net provides many new features for DateTime datatype. Unlike VB6 in VB.net you can initialize DateTime variable with verity of initial values. In VB.net you
....Read More |
Rating
|
|
|
Language features - Variables and types
|
Total Hit (2608) |
The Microsoft .NET Framework provides a robust system of primitive types to store and represent data in your application. Data primitives represent integer numbers, floating-point numbers, Boolean values, characters, and strings.
In VB.net you can declare variable using Dim statement as shown be
....Read More |
Rating
|
|
|
|
Language features - Array
|
Total Hit (8741) |
Arrays allow you to refer to a series of variables by the same name and to use a number, called an index or subscript, to tell them apart. This helps you create shorter and simpler code in many situations, because you can set up loops that deal efficiently with any number of elements by using the in
....Read More |
Rating
|
|
|
Language features - String
|
Total Hit (4559) |
String is a powerful datatype which you use everyday. VB.net gives you great functionality with String class. In this article we will see some common functions of string class and will also learn about StringBuilder class for very fast string operations.
<big>Facts about String class</big>
<b>
....Read More |
Rating
|
|
|
Language features - Operators
|
Total Hit (1977) |
In this article we will see all operators supported by VB.net
Here is the list of operators categories
«code LangId=999»<table class="dtTABLE" cellSpacing="0" id="table2" bordercolorlight="#808080" border="1" style="border-collapse: collapse" width="100%">
<tr vAlign="top">
<th wi
....Read More |
Rating
|
|
|
Language features - DateTime and TimeSpan Objects
|
Total Hit (3354) |
In this article we will explore some key language features which are frequently used by VB programmers.
«big»DateTimes in VB.net«/big»
VB.net provides many new features for DateTime datatype. Unlike VB6 in VB.net you can initialize DateTime variable with verity of initial values. In VB.net you
....Read More |
Rating
|
|
|
Create Transparent Forms in VB.NET
|
Total Hit (2004) |
Generally, the classes form the «b»System.Drawing«/b» namespace are used to draw objects and print text directly on a form or control. However you can have some interesting visual effects by modifying just a few properties of a form.
There are two new properties now which will allow you to create
....Read More |
Rating
|
|
|
Converting a date string entered by the user to a VB Date value.
|
Total Hit (2269) |
This code formats a date string entered by the user, adding slashes and correct number of year digits and converts it to a proper date format.
You can use the following code to make your user interface more friendly. It will help you in correcting and preventing mistakes over what date is entered.
....Read More |
Rating
|
|
|
Using Date values in VB.NET
|
Total Hit (2183) |
The versatile Date datatype in VB.NET provides a large amount of built in functionality to manipulate dates and times. The ability to add, subtract and compare date values is very useful in particular.
For example, suppose you are managing hundreds of clients in an insurance company. Since insu
....Read More |
Rating
|
|
|
Tutorial - Introduction to Microsoft.net
|
Total Hit (9454) |
«a name=#L1»«/a»
«big»Introduction«/big»
This tutorial series is intended to initiate the reader into the world of .NET. I will try to cover most of the important .Net features. This tutorial will be useful for anyone with a programming background, especially for those who know VB.
There ar
....Read More |
Rating
|
|
|
Tutorial - Language and Syntax changes in VB.Net for VB6 Programmers
|
Total Hit (11307) |
If you are a VB6 programmer and want to learn VB.net then it will be easier for you but still you need to learn new language and syntax changes in VB.net. This article is for VB6 programmers who are moving to VB.net. New programmers can skip this article, we will cover each language feature in detai
....Read More |
Rating
|
|
|
A general benchmarking class
|
Total Hit (2913) |
Many times we need to benchmark some routine or a block of code. This class will help you to benchmark a routine or a block of code.
«code LangId=2»Public Class BenchMark
Delegate Sub BenchmarkDelegate()
Enum BenchmarkModes
DontShow
Console
MessageBox
End
....Read More |
Rating
|
|
|
Tutorial - Getting familiar with Visual Studio.net IDE
|
Total Hit (12511) |
In this article we will look at the new exciting features of Visual Studio.net 2003 IDE.
«a name=#L1»«/a»
«big»Main window«/big»
Visual Studio.net IDE provides several layout options to provide simulated environment from previous versions. You can select different profile for keyboard or window
....Read More |
Rating
|
|
|
|
Tutorial - Assembly
|
Total Hit (24309) |
«a name=#L1»«/a»
«big»What is Assembly?«/big»
An assembly is the primary building block of a .NET Framework application. It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files). All managed types and resources are marked e
....Read More |
Rating
|
|
|
Object Oriented features in VB.net (Part-1)
|
Total Hit (5975) |
In this article we will discuss about Object Oriented Features available in VB.net
Let’s first understand the basic terminology used in Object Oriented Programming.
«big»Classes, Objects, Members and Abstraction«/big»
An object in programming is a construct that represents something from th
....Read More |
Rating
|
|
|
|
How to send/receive XML document using HTTP POST ?
|
Total Hit (10598) |
In my recent project we had a requirement to send a HTTP request in XML document format (e.g. request for a specific order detail). The response was also in XML format. So now question is how would you do that in .Net? Here is the code snippet which you can use to do the same thing.
«code LangId=
....Read More |
Rating
|
|
|
How To Recursively Search Directories by Using Visual Basic .NET
|
Total Hit (1565) |
This article demonstrates through code how to recursively search subdirectories for files, starting with a root directory. A search string is specified so that you can search for files that match a certain criteria. Each part of the code is explained as necessary. A working code sample is also provi
....Read More |
Rating
|
|
|
|
|
Custom Actions - Part 1
|
Total Hit (1961) |
Custom Actions are deployment projects .NET programs written by your team that execute near the end of the installation process. You can use them to perform installation shores hard to implement with the existing features exposed by the setup project, in this order of ideas a custom action can insta
....Read More |
Rating
|
|
|
Custom Actions - Part 2
|
Total Hit (1895) |
Custom Actions are deployment projects .NET programs written by your team that execute near the end of the installation process. You can use them to perform installation shores hard to implement with the existing features exposed by the setup project, in this order of ideas a custom action can insta
....Read More |
Rating
|
|
|
Calling .Net Classes from Visual Basic 6
|
Total Hit (1002) |
Despite all the power and features of Visual Studio.Net, lots of developers are sticking with good old Visual Basic 6 for at least some of their development projects. There's good reason for this. Tens of thousands of developers know VB6 from the inside out, and can create applications quickly and e
....Read More |
Rating
|
|
|
Embedding MSDE SQL Engine in a Visual Studios .Net Setup application
|
Total Hit (1385) |
This document is a step by step description of adding SQL server to an Windows Application and embedding the MSDE engine into the application setup and installer program. By doing this you will automate the installation of the SQL server, the mounting of the datafiles and granting access to your app
....Read More |
Rating
|
|