Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > Visual Basic

Visual Basic - Page 2

Document Management
String Manipulation
Visual Basic For Applications (vba)
Web Apps
21-40 of 5069     Previous     Next
Disable the Standard Windows Close, Minimize, and Maximize Buttons
by Ted Atogwe
In .NET Windows Forms, disabling the standard Windows close, minimize, and maximize buttons is as simple as setting the Window Style or adding one line of code.
Convert a Delimited String to a Generic List<string>
by Srinath MS
Split the string at the delimiter and then add each item to a new string list.
Using String.split(String) vs. Using a StringTokenizer
by Hrudananda Pattanaik
It's not always safe to use String.split(String). Consider using the String Tokenizer API instead.
Displaying Row Numbers in a DataGrid
by Srinath MS
Create a running number column that shows the row number in a DataGrid control.
Publishing 32-Bit ASP.NET Applications to a 64-Bit OS
by Prafulla Doye
You can publish applications compiled in 32-bit mode on 64-bit systems, but you have to do a bit of setup work.
Call PowerShell Cmdlets from C#
by Cody Batt
Take advantage of pre-written cmdlet functionality in your own applications.
Adding Workdays to a Date
by Chad Juliano
To calculate a future or past date taking only working days into account, use this handy function.
Send Email Using a DNS Server
by Usman Sarfraz
Here's how to send email from .NET using a DNS server.
Preserve Browser Scroll Position After a Postback
by Nagaraj Divella
When a user posts values back to the server, you can maintain the same scroll position after the response using these methods.
How to Save URL Contents to an MHTML Archive Format
by Srinath MS
Using the CDO Message object, you can easily save content from a URL to an HTML archive (.mht) file.
Execute DOS Commands from a Java Program
by Hrudananda Pattanaik
Use this tip to run DOS commands from your Java Program on Windows.
Comparing Constant Strings with String Variables
by Ritesh Patel
Avoid NullPointerExceptions by comparing string constants with string variables—not the other way around.
Using SetForegroundWindow on Windows Owned by Other Processes
by Alexander Ocher
Find out how to specify which window should appear in the foreground—even if it's running on a different thread.
Send Email Over SMTP Aschronously
by Srinath MS
To keep your UI responsive, you can send email asynchronously.
Using the WebClient Class to Download Data to a File
by Srinath MS
It's easy to save data to a local or network file using the WebClient class.
Determining Whether a Site Is Running or a URL Is Valid
by Srinath MS
The HttpWebRequest class makes these tasks simple.
Get the Name of the Executing ASP.NET Page
by Deepak Choudhari
Use this tip's code to find the name of the executing page.
Binding a Hashtable to a DropDownList Web Server Control
by Deepak Choudhari
Set the DataSource, DataTextField, and DataValueField properties correctly, and you're done.
An OCX-less Progress Bar
by Brian Abernathy
Here's a simple way to add a functional progress bar without including the Common Controls library.
Make Minor Code Changes to .ASPX Pages Without Rebuilding
by Jaya Nehru
Use this workaround to take advantage of the OnPreRender event, and avoid rebuilding your entire project when you need to make only minor changes to your ASPX pages.
21-40 of 5069     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date