Visual Basic [VB] Programming Tutorials

Visual Basic or VB Programming Tutorials And Articles
  Title / Author Replies
Views
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...
32
454,202
Working with the DataGridView control is easy in Visual Basic.NET. The useful features of this control makes database software development a breeze. The ready-made features such as the properties, methods, functions and events do most of the tasks. What is DataGridView? This is a control in...
1
3,629
Working with graphics is easy in Visual Basic 6. VB6 gives you the flexibility and power to make graphical applications in easy steps. It is rich in graphics related features. The built-in methods, properties and events allow you to use these features most effectively. In this tutorial, you...
0
2,282
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. ...
17
44,451
A Simple Windows Like Calculator in Visual Basic 6. See the Screenshot. http://imgs.g4estatic.com/calculator/calc.png Keyboard Shortcuts Ascii code of '0' is '48' and is a short cut key to '0' Ascii code of '1' is '49' and is a short cut key to '1' Ascii code of '2' is '50' and is a...
16
10,783
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 tutorial i will...
9
23,394
A class is a part of the program that defines the properties, methods and events of one or more object that will be created during execution. An object is an entity created at run time, which requires memory and some resources and is then destroyed when it's no longer needed or when the application...
1
9,050
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 variable, decide...
11
122,277
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...
3
99,150
This is a new class written by me to extract the icon assigned to a file in your current system. Ex: Get the icon you see for mp3 files when you open your music folder. Many at first think this is just a WIN API wrapper for the SHGetfileinfo function. NOPE, that method would just grab the icon...
2
6,345
Though VB is an object oriented language with multithreading I was always dissapointed with its less flexibility in using threads with the GUI. Of course many of you may have seen this InvalidOperationBlahException saying you cannot put up a progress bar/ timer./ count down iun a seperate thread...
0
6,342
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...
6
292,941
I have searched long enough to release that there's no other SIMPLER way to archive the task of dragging out a virtual file ( a file that alreagy does not exist) Out of a VB.net program. This method is not 100% perfect but of course may be easier than calling the harsh shells. Background I...
4
7,077
Introduction This solution is to prevent the conversion of large numeric values in scientific notation while exporting to excel. Background This solution deals with the situation when there is a large numeric value, and while exporting to excel it gets converted to scientific notation....
3
7,555
The controls you select for your application's form are important because the controls (also called tools) provide the application interface for your users. Users interact with your application by clicking the controls and entering text in the controls. Placing and sizing controls are perhaps the...
2
11,306
'################################################################' '# #' '# VB_Packets Yahoo Mod 2 Fully Tested! 91 Working Packets! #' '# #' '# ...
11
15,099
Temp files are generally used for temporary storage and data manipulation. This is often necessary for storing user data, user preferences, session information, application cache, and many other types of information. In order to get the name of the file that you can use as a temp file in...
2
32,175
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
9,648
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....) ...
6
6,804
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
12,083