Visual Basic [VB] Programming Tutorials

Visual Basic or VB Programming Tutorials And Articles
  Title / Author Replies
Views Reverse Sort Order
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.
In VB you can use the Kill statement to delete files quickly but you lose the ability to retrieve the files easily. We will see how to delete files to the Recycle Bin that can be recovered. You can use Visual Basic's Kill statement to delete files from a disk. You can also use the methods that...
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...
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...
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....
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 program. This method is not 100% perfect but of course may be easier than calling the harsh shells. Background I...
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...
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...
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....) ...
Uniform Resource Identifiers (URIs) may represent Web requests, FTP requests, files, news, and e-mail. Whenever you need to work with URIs and determine a particular portion of a given URI, you can utilize the System.URI class available in Visual Studio .NET. This class allows you to represent and...
Put on form Picture Box control and button. Set property ScaleMode to 3-Pixel and post this code: Private Sub Command1_Click() Dim arr(1000, 1000) As Integer Dim i Dim y Dim iSumRed As Integer Dim iSumBlack As Integer iSumRed = 0
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...