Quantcast
Channel: eHow - Visual Basics Programming How To's
Browsing latest articles
Browse All 106 View Live

Image may be NSFW.
Clik here to view.

How 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 Article



Return 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 Article

How 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 Article

How 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

VBA 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 Article

Image may be NSFW.
Clik here to view.

How 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


Text Function in VBA

Visual Basic for Applications (VBA) is a programming language developed by Microsoft which allows the development of user-defined functions and the automation of certain processes and calculations. VBA...

View Article


How to Combine Images From Two Bitmaps in VB.Net

Visual Basic code allows programmers and software designers to create interactive visual responses from code. Various command strings allow you to draw images and place them inside image boxes or...

View Article

Image may be NSFW.
Clik here to view.

How to Make a Reset Button on VBA

VBA (Visual Basic for Applications) is used in programs such as Microsoft Excel to add helpful features. The reset button is particularly useful since it can clear and restart code or program inputs....

View Article

How to Parse XML in VBScript

XML provides standard formatting for several different languages, so you can parse, export and edit data across different Web and database languages. VBScript is an older language used in Classic ASP....

View Article

Image may be NSFW.
Clik here to view.

How to Make a Pong Game With the Code in VB

Simplicity is the key to brilliance. Video games have continued to grow in complexity since their inception, but the title that is a household name among gamers of all generations still continues to...

View Article


How to Convert a String to INT in Classic ASP

Classic ASP requires programmers to write Web pages in the VBScript language. VBScript includes the "CInt" function, which converts a string to an integer value. The string must be a numeric value for...

View Article

How to Nest a Sub in VBA

Visual Basic programmers use nested subroutines, or nested subs, to isolate the execution of certain bits of code in their applications. A nested subroutine is a coded procedure that sits inside a...

View Article


Image may be NSFW.
Clik here to view.

What Is UBound and LBound in Visual Basic?

Incorporating arrays in your Visual Basic (VB) application can become very handy if you know how to use them. VB is a computer programming language engineered by Microsoft to develop desktop, Web and...

View Article

How to Screen Scrape in VBA

When creating an application by using the Visual Basic for Applications language, you can add a module to it to screen scrape a specific Web page. VBA is a programming language developed by Microsoft...

View Article


How to Use MSFlexGrid in VB6

The Visual Basic 6 "MSFlexGrid" control lets you organize data into a spreadsheet to display the data on a Windows desktop form. The MSFlexGrid control does not automatically parse a data set as the...

View Article

Different Ways to Format Dates in VBA

Different ways of formatting dates in VBA include those for creating date strings with spelled out months, formatting with just numbers, with weekdays, and with customized formats. You can see the...

View Article

The VBA Max Functions

The VBA Max functions are Max, MaxA, and Dmax, all of which your VBA programs can access from Excel's programming environment. You can find descriptions of these functions in the "Function library"...

View Article

How to Create a GPA Calculator in Visual Basic 2008

Visual Basic is an application development language created by Microsoft that's used to develop desktop software applications. Like most programming languages, VB can be used to execute mathematical...

View Article


Image may be NSFW.
Clik here to view.

How to Code a Login/Registration Form in VB

Coding a login and a registration form in Microsoft Visual Basic.NET (VB.NET) can make your applications more secure. A program that uses a login page often also uses a database to keep track of...

View Article


Image may be NSFW.
Clik here to view.

What Is a Variant in VB?

Learning how to use variant variables is a good idea if you’re planning to start programming in Visual Basic. Programmers often have a misunderstanding of variant variables by thinking that they don’t...

View Article

How Can I Change Regional Settings by VBA?

The VBA language lets you call internal Windows functions, including the function that changes regional settings. Include the DLL function in Windows that makes the change on the system, then call the...

View Article

Image may be NSFW.
Clik here to view.

How to Make a Blinking Button in VB

Learning how to make a blinking button in your Visual Basic.NET (VB.NET) application can make your application more appealing to the user. You’re going to need to repeat a section of code to change the...

View Article


Image may be NSFW.
Clik here to view.

How to Pass a Collection to a Function in VBA

Passing a collection to a function in Visual Basic for Applications (VBA) is very similar to passing other variable data types. A collection is an object that’s used for grouping similar objects or...

View Article

Image may be NSFW.
Clik here to view.

How to Use VB VBA to Perform a Ping Test

Automating the process of pinging different addresses using Visual Basic for Applications (VBA) can save you a lot of time, especially when you have to ping many addresses. To ping an address means to...

View Article

How to Make a Roman Numerals Converter in VB Code

The Visual Basic language does not have an automatic Roman numerals converter, so you must manually set up a set of "switch" statements that determine the numeric value and change the numeric value to...

View Article

How to Make a Pop Up in Visual Basic

Pop-up windows may be controversial on the Web, but they can help your Visual Basic application interact with users and extract valuable real time feedback from them. Your Visual Basic applications,...

View Article



How to Convert Text in HTML to RichTextBox in Vb.NET

The VB.NET language includes a "WebRequest" and "WebResponse" class that retrieves the content from a Web page and assigns the content to a variable, which you then use to transfer the data to a...

View Article

How to Use WMI to Detect VMWare

Use the Windows WMI service, which runs on every Windows computer, to detect software -- including VMWare -- running on a computer. Administrators use this service to verify that software is installed...

View Article

Image may be NSFW.
Clik here to view.

How to Convert an Image to Transparent in Visual Basic

Making all or part of an image transparent is a relatively simple task and can yield visually interesting effects. For example, you can place an image on a Web page and adjust its opacity. Developers...

View Article

A Command List for QBasic

QBasic is a structured, third-generation programming language that supports a variety of commands, including variable commands, mathematical commands, input/output commands and if/then commands. These...

View Article


How to Build a JSON Parser in VB.NET

JSON is a type of data transmission protocol that standardizes key-values and allows you to parse the data from any internal or external source. To create a JSON parser in VB.NET, you use JSON.NET...

View Article

How to Interact With SharePoint From VBA

The Visual Basic for Applications service lets you interface with SharePoint from Microsoft Office applications. SharePoint includes a database that you can use to retrieve data or import documents...

View Article

How to Use VBA and Regex

Use the VBScript regular expression class to enable your VBA programs to perform regular expression searches. Regular expressions are text patterns that can help you search for strings with a complex...

View Article


VB6 Run Time Error 70: Permission Denied

A runtime error is an error that occurs in a program that is usually unforeseen by a programmer and often results in the program crashing. In Visual Basic 6, runtime error 70 indicates that the program...

View Article


VBA Object Required

When you work in the VBA programming language -- Visual Basic for Applications -- you may encounter the error statement "Object Required." This means your command made a reference to a property or a...

View Article

Image may be NSFW.
Clik here to view.

The VBS Script Kill Process

Running processes that are not being used can ultimately cause memory problems in a system. A common problem when working with external programs is not being able to kill a process completely. A...

View Article

Access to the Path Is Denied in Visual Studio 2010

Windows 7 and Vista both include security enhancements that limit access to disk files. Unless privileges are raised with administrator access, all files other than the data in the Users folders are...

View Article

Comparison of WinDev and VB.NET

VB.NET and WinDev are object-oriented computer programming environments developed by Microsoft and PC Soft, respectively. Both programming environments are optimized for use on computers running...

View Article


How to Redirect to a Different Server

When you move a website or a Web page to a different server, it's important to automatically redirect visitors to the new location so they don't receive a Page Not Found error. It also helps the page...

View Article

Image may be NSFW.
Clik here to view.

How to Create Hyperlinks Based on Folder Names Using VBA

Web links often reflect the directory structure of the website. For example, "http://example.com/images" refers to a folder called "images" in the root folder of the "example.com" website. To...

View Article


Image may be NSFW.
Clik here to view.

How to Add VBScript to Excel

Microsoft Office Excel includes many powerful features that you can use to automate difficult or repetitive tasks or add new functionalities to your workbooks. Excel integrates seamlessly with Visual...

View Article

How to Use VBA to Protect Drawing Objects

Microsoft Excel lets you create objects and shapes to improve the way you display your data. With the program's "Shapes" palette, you can easily create illustrations and diagrams. There are times when...

View Article


Image may be NSFW.
Clik here to view.

Debugging Tools for Visual Basic

Visual Basic debugging tools help users find problems in their macro codes. A macro code is a series of commands that users may activate through a single command, which helps them speed up a number of...

View Article

How to Download a Web Page With VBScript

VBScript uses the HttpWebRequest control to download websites and interface with the website's pages. Download the page and store it as a file, or display the downloaded code to a Web page. The...

View Article

Image may be NSFW.
Clik here to view.

How to Use ListView With a CheckBox in VBA

Using a "ListView" control with check boxes in your Visual Basic for Applications (VBA) form can make your application more dynamic by providing the user with options. A "ListView" control displays...

View Article

Image may be NSFW.
Clik here to view.

How to Send an Email via G-Mail in Visual Basic 6

Visual Basic 6 (VB6) is Microsoft's take on the classic Basic computer programming language. The VB6 version of the language and the IDE program used to create software was the last version released by...

View Article


How to Initialize an Array in VBA

Visual Basic for Applications (VBA) is a version of Microsoft' Visual Basic programming language used within applications, primarily members of the Microsoft Office suite of programs. Arrays are one of...

View Article

Browsing latest articles
Browse All 106 View Live




Latest Images