Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > Security > Visual Basic

Visual Basic - Page 2

21-40 of 3200     Previous     Next
Clear All the Controls in a Form
by Syed Mohamed
Use this code to clear all the controls in a form.
Using a Default Button and a Multiline Text Box on the Same Form
by Valpied Adam
Placing the following code into your click event on the default button on your form enables you to use a default button and a multiline text box on the same form.
Add Two Long Numbers Together Without Causing an Overflow Error
by David Day
This function adds two long numbers together as if they were unsigned, and does not cause an overflow error. You may need this when implementing the SHA-1 Hashing function.
Limit the Focus of an MSFlexGrid to a Certain Range of Columns and Rows
by Shuhaimen Ismail
Learn how to limit the focus in a big MSFlexGrid to a certain range of columns and rows.
Apply a Gradient to Any Control that Has an hDC
by Bryan Utley
This tip shares a class that allows you to apply a gradient to any control that has an hDC—forms, Pictureboxes, etc
Using Pixels in WinForms .NET
by Michel Posseth
This tip shows you a way to use pixels as a replacement for twips in your WinForms. This is especially handy for people who still need to use twips ocassionally (like, for Crystal Reports, etc.).
Masked Edit Control
by Raghavan Swaminathan
Learn how to include characters in your mask that are also part of the set of mask syntax characters.
Display itemdata in a ComboBox
by Nkata Levi
This code shows how to display specific itemdata in a ComboBox.
Sending Emails with Customized Attachment File Names
by Sander Kleykens
Use this code to create an application that allows you to generate email attachment file names on-the-fly when the attachment file is saved.
Connecting to Oracle without Configuring the tnsnames.ora File
by Bill Cressman
Learn how to avoid configuring Oracle's pesky tnsnames file when connecting to a database.
A Better Way to Validate a Node Checkbox in a Treeview
by Eric van Blokland
This tip provides a workaround for validating a noce checkbox in a treeview.
Registering ActiveX Files
by Ita Taka
Find out an easy way to register ActiveX files.
Read Time Zone Names Stored in the Registry
by Dinesh Asanka
The following code reads the time zone names stored in the registry and places those names in a combobox.
Unicode Text Files with the Scripting.FileSystemObject
by Michel Posseth
This tip opens a Unicode-encoded text file, reads the entire file, and then splits it into individual lines for processing.
Cache Your Repeated Calls to the Database
by Jamie Longstreet
Find out how to cache your repeated calls to the database.
Remove the Read-only Checkbox from a Common Dialog Control
by Pankaj Agarwal
Find out how to remove the read-only checkbox from a common dialog control.
Launch a Process with the WshShell Exec Method
by Stephane Courcy-Poitras
The WshShell Exec method can be used to launch a process. This function uses it to launch a command line and return it's output, with a timeout parameter.
Easily Retrieve File Attributes
by Dambar Tiwari
This code provides a handy way to get file attributes in a foolproof way.
Storing Values in a Windows Registry with VB
by Gayatri Sekhar
This tip shows you VB code you can use to permanently store values in a Windows registry—as well as code to retrieve and delete those values.
Convert the Filesize in a Number into String Format
by Budhabhatti Mitesh
Use this code to convert the filesize in a number into string format.
21-40 of 3200     Previous     Next
Sitemap