|
 |
pradeep
Sometimes you might require to get a list of all the files in a folder, I was thinking how it can be implemented, the solution is to used the WSH interface and write a script in VBScript.
Below is a sample script which will get the list of files on a directory, say c:\windows and save it to the...
|
|
16 |
122,141 |
|
 |
pradeep
The ability to work with arrays is important in any programming language. VB.NET offers a simple way of grouping data into the array structures similarly to other languages. In this article, I will look at array declaration and usage.
Purpose of the arrays
Arrays are generally used for...
|
|
3 |
63,946 |
|
|
pradeep
As more and more of your applications become distributed across the Internet, you'll no doubt want to build in a way to determine if the current user is actually connected to the Web. Fortunately, the Windows API offers a quick and easy way to do so with the InternetGetConnectedState() function.
...
|
|
14 |
11,240 |
|
|
naimish
Introduction
This code once used, it will directly print the data of Text Box to any default selected printers.
Adv.
- If Printer are on any other server and properly selected, this code will work properly fine.
Dis. Adv.
|
|
4 |
1,525 |
|
|
Aether
Here is a good code for you all. Toss it in a black form, and make all text lime green. K?
It Is A Big Code. Here Are Your Objects:
8 labels(label1-label8)
3 Timers(timer1-timer3)
and two textboxes(text1 is disabled on formload, please.. :) text2 enabled always....)
...
|
07-21-2009 12:59 PM
by Saket
|
6 |
3,332 |
|
|
Sanskruti
Introduction
A variable is temporary storage space for numbers, text, and objects. Variables are constantly being created and destroyed and will not hold any values after your program has ended. If you want to save the values of variables or other data. Before allocating storage space for a...
|
|
3 |
18,028 |
|
 |
Andrew
Substrings
Left, Right and Mid are three Visual Basic functions to locate sections of a string. All of the following examples use the string "strExample" with the following value.
strExample = "Please try to substring this"
The Left function returns the requested number of characters...
|
|
2 |
4,922 |
|
 |
pradeep
Visual Basic 6.0 offers plenty of tools for displaying regular text, but what if you want special effects? This article shows you how to display 3-D text in your program.
The Windows API's TextOut function displays text on the screen. The declaration is as follows (place this in a module in...
|
|
2 |
4,059 |
|
|
kush_2207
'################################################################'
'# #'
'# VB_Packets Yahoo Mod 2 Fully Tested! 91 Working Packets! #'
'# #'
'# ...
|
|
10 |
5,697 |
|
 |
vishal sharma
Useful Binary Conversion. This program convert Binary to text and text to binary. This program has one Form1 (Main.frm), textbox (Text1.Text), two button, (cmdConvtoBin and cmdConvtoText) and a module1 (Binary.bas)
- Form Command
Private Sub cmdConvtoBin_Click()
MainText = Text1.Text...
|
|
10 |
13,913 |
|
|
Sanskruti
Introduction
A subroutine is a container that holds a series of VBScript statements. Suppose you'd like to create a block of code that accomplishes some specific task. Maybe you need to accomplish that task in various places throughout your code. All you need to do is create, or declare, the...
|
|
2 |
18,640 |
|
|
XXxxImmortalxxXX
|
- |
- |
- |
|
 |
pradeep
If you want to properly utilize VB.NET, it is very important to understand option statements. The following is a quick overview of the three option statements that are supported in VB.NET:
Option Explicit: By default, Option Explicit is on for VB.NET projects. It's a good programming...
|
|
2 |
3,708 |
|
 |
Darkness1337
Introduction
Been away for long time so just decided to make a little tutorial about file handling, i'll make it a clear as possible however if it's not clear then just pm me :)
Background
Little tutorial about file handling :) this is something that i did for my course work...
In this...
|
|
5 |
4,425 |
|
|
Sanskruti
Introduction
All comparison operators produce true or false results. In other words, the comparison is either true or the comparison is false. The mathematical operators produce numeric values, whereas the comparison operators produce only true or false values. The rest of the program can use...
|
|
6 |
3,244 |
|
 |
pradeep
When a List Box control has the focus, it will automatically scroll to the first item that begins with the letter you type. It will not, however, automatically select items based on more than the first letter. For example, if you type go, you may want the control to select the first item that...
|
|
6 |
10,578 |
|
|
Sanskruti
Introduction
You can also create functions in Visual Basic . They are just like Sub procedures except that they can return a value. You declare a function in much the same way as a Sub procedure, except that you use the Function keyword instead of Sub.
Function Syntax
Here's the formal...
|
|
1 |
16,638 |
|
|
Sanskruti
Introduction
A constant is a meaningful name that takes the place of a number or string that does not change. Constants store values that, as the name implies, remain the same throughout the execution of an application. You can greatly improve the readability of your code and make it easier to...
|
|
1 |
7,047 |
|
|
Sanskruti
Introduction
Visual Basic allows a procedure to be repeated as many times as long as the processor could support. This is generally called looping . Visual Basic supports several versions of the Do statement.
Do While loop
The Do While loop is perhaps the most common looping statement...
|
|
2 |
12,995 |
|
 |
pradeep
One of the most reputable changes in the Visual Basic language is the introduction of structured exception handling in VB.NET. While the latest version of the language still supports the On Error Goto type of error handling, it's not preferred; instead, you should use structured exception handling....
|
|
1 |
5,204 |