How Can I Make a 3 Column Grid?
Microsoft Visual Basic can help you create a grid control with multiple columns for a desktop application. A DataGridView control provides a way to display customized data to a user. You can add...
View ArticleHow to Find the SQRT of a Number in VB
Visual Basic uses standard symbols for math calculations such as "+" for addition and "*" for multiplication. However, advanced calculations such as absolute values and square roots do not have a...
View ArticleHow to Send ESC Sequences With VB.NET
It is often necessary when programming to embed control characters in documents that are being sent to printers. Control characters create events such as line feed/carriage returns and tabs. Without...
View ArticleHow to Use Access 2007 VBA to Step Through & Check Fields
Knowing how to use Visual Basic for Applications (VBA) when working with Microsoft Access can save you time when you need to display contents in a database table. You can retrieve the contents of a...
View ArticleHow to Extract WinZip Using Visual Basic
Visual Basic is a programming language included with the Visual Studio programming software. You can use the programming language to unzip a file. You can unzip files in Web or desktop applications....
View ArticleHow to Control Buttons on a Dialog Box
Dialog boxes are commonly used in programming to allow users to browse for files. In Microsoft Visual Basic.NET (VB.NET), use an OpenFileDialog control to allow browsing for a file on a computer's hard...
View ArticleHow to Assign Hot Keys to a Text Box in Visual Basic
Visual Basic is a programming language that lets you create interactive forms for desktop applications. To make the form more convenient for users, you can assign a hot key to a text box, so users can...
View ArticleHow to Add Another Cell to a SUMIF Statement
A SUM+IF statement allows the programmer to utilize the AND and OR logical Boolean expressions. This statement should not be confused with the SUMIF() worksheet function. The SUMIF() function will...
View ArticleHow to Determine Control With a Current Focus VB
The Visual Basic language and Integrated Development Environment from Microsoft, unlike many other languages, is designed from the ground up to work with Graphical User Interfaces. One way it does this...
View ArticleHow to Access Query Refresh
Not displaying the latest information in your database application can be a problem if the data displayed is used to make critical decisions. You can use a list box control to display information from...
View ArticleHow to Use Boolean Flags in VB
VB, or Visual Basic, is a programming language from Microsoft, and it has many data types. Textual data is stored in the string data type, numbers in integers and Boolean flags in the Boolean data...
View ArticleReturn Value of VBA Function
Visual Basic applications, or VBAs, can be both simple and complex, depending on the software engineers involved and the needs for which the software seeks to meet. In VBA programming, functions allow...
View ArticleHow to Convert RGB to VB6
Converting a color's RGB value into its Visual Basic 6.0 (VB6) integer value is important when you don't want to use one of VB6's eight pre-defined colors. RGB stands for a color's red, green and blue...
View ArticleHow to Create a Table in VB.NET
VB.NET uses ADO.NET controls to connect to a database server and run queries. The "create table" query creates a table from your VB.NET code. Programmers create tables from code to set up temporary...
View ArticleDate Comparison in VBA
Comparing dates in Microsoft Visual Basic for Applications is no different than comparing any other data type. The values you compare must be of type "Date." You can use the standard comparison...
View ArticleHow to Convert to Binary in VBA
Use Visual Basic for Applications (VBA) scripts to perform complex tasks and calculations in Microsoft Office. VBA comes with 11 built-in type conversion functions, which you can use to switch numbers...
View ArticleHow to Run a Powershell Inside Visual Basic Programming
PowerShell lets programmers manipulate the Windows operating system from the command line. With PowerShell, you can access objects from the .NET framework as well as the Window's file system. A...
View ArticleHow to Convert QBasic to Visual Basic
The simple QBasic programming language was shipped with every DOS computer in the 1980s and early '90s. Microsoft's Visual Basic language has since replaced it, allowing hobbyists to write programs...
View ArticleVBA Dim Types
VBA Dim types are the types of variables you can use in a VBA program. These types consist of integer, date, decimal, string and object types. By understanding these types you can declare variables...
View ArticleHow to Use SQLite in Vb.net
SQLite is a free, public domain database engine. It is a small code library written in C that your applications can call. A SQLite database is a file containing tables, data, triggers, foreign keys and...
View Article