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 > Tasks and Techniques

Tasks and Techniques - Page 2

Algorithms
Arrays
Classes
Controls
Data Types
Deployment
Input
  Output
Installation
Printing
Registry
String Manipulation
Threading
21-40 of 1861     Previous     Next
Launching an Asynchronous Operation Using BackgroundWorker
by Jayadev D
The .NET BackgroundWorker class makes it a snap to launch asynchronous operations on a separate thread.
Adding an Installer Class to a Windows Service
by Wan Omar
Follow these simple steps to add an installer class to your Windows service.
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.
Prevent Users from Launching Multiple Instances of Your Application
by Greggory Payne
Here's how you can make sure that only one instance of your application is running on any given machine.
Converting Between List and String Types
by Srinath MS
You can convert .NET Lists to delimited strings—and vice-versa.
Understanding Java's Integer Pool Can Avoid Problems
by Shreyas Pai
When apparently-equal integer values fail an equality test, remember the integer pool.
Returning Zero-Length Arrays in Java
by Nagaraj Ramesh
Define a static final zero-length array and return that rather than null from methods that return array types.
Add "Copy To Folder" and "Move To Folder" to Windows Explorer's Context Menus
by Srinath MS
Customize your Windows Explorer context menu by adding these two convenient commands.
Convert Hashtable Keys or Values into an ArrayList
by Deepak Choudhari
The key is to use the ArrayList constructor that takes an ICollection.
Simple Script to Run Java Applications on Linux and Windows
by Bea Petrovicova
This simple script lets you run a Java application on both Linux and Windows.
Create a Generic List at Run Time
by Srinath MS
This tip shows you how to create a generic list of a specified type at run time.
Using the OneWay Web Service Attribute
by Srinath MS
When you call a void web service method, apply the OneWay attribute to avoid having the calling thread wait for a response.
Displaying Embedded Newline Characters from ASP.NET Resource Files
by Deepankar Sinha
Embedded newline (\n) characters don't display properly in the browser, but a simple character-replace operation does the trick.
Algorithm to Switch Between RGB and HSB Color Values
by Duc Nguyen
Changing between RGB and HSB color values is easy using this algorithm.
Create an XML File or XmlDocument Directly from a StringBuilder
by Julio Henriquez
Creating an XML file (or XmlDocument object) using a StringBuilder is easier than working directly with the System.Xml.XmlDocument Class.
Be Careful of Negative Array Indices
by Akash Aggarwal
Negative array indices can cause unexpected behavior when porting an application from 32 to 64 bits.
Build a Custom Formatter for a Java.util.logging Logger
by Leonard Anghel
See how to develop a custom log formatter and customize the formatter for your logging needs.
Handling Null Session and Request Variables
by Jarzebowski Mark
In ASP.NET, if you try to use a session or request variable before it has been set, you'll get an error.
Create a New Event Using AWTEventMulticaster
by Anghel Leonard
This code showa how to create a new event using AWTEventMulticaster.
Obtain the Local Absolute Path of a Class File
by
This tip shows how to obtain the local absolute path of a class file containing the specified class name, as prescribed by the current classpath.
21-40 of 1861     Previous     Next
Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date