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 4

Algorithms
Arrays
Classes
Controls
Data Types
Deployment
Input
  Output
Installation
Printing
Registry
String Manipulation
Threading
61-80 of 1869     Previous     Next
Finding Modulus of a Very Large Number with a Normal Number
by Sameer Palande
Divide the number into smaller numbers, then find the remainders of these smaller numbers. Add up the remainders and repeat the process. As long as the remainders are retained, the final answer wont change.
Loading Classes Directly from .jar Archives
by Leonard Anghel
Find out how to make a custom class loader to load classes directly from your .jar archives.
Set Multiple Fonts Using Single CFont Object
by Jijeesh KV
Did you know you can set multiple fonts for several controls using a simple CFont object in MFC?
Using Templates for Concurrent XSLT Transformations
by Leonard Anghel
Use Templates to use a Transformer object (from the TrAX API) in multiple threads running concurrently.
Prevent Inheritance from a Base Class
by Venkata Edara
Use the code in this tip to avoid deriving from your base class.
Add MS AJAX Extensions to a Visual Studio 2005 Setup Project
by Vlad Hrybok
MS AJAX Extensions is an assembly (DLL) that must be present on the target system in order for your AJAX-enabled ASP.NET application to work
How to Determine the Default Web Browser
by Alexander Ocher
Sometimes people assume that the default Web browser is the program that is registered in the Windows registry to open files with .html extension.
Obtain Class Methods Using Reflection
by Leonard Anghel
Learn how to obtain all methods, all declared methods, and one specific method for the java.lang.reflect.Method class.
Write a VB6 String that Contains Double Quotation Marks
by Xianzhong Zhu
There are typically two ways to express the string that contains double quotation marks.
Concatenating Strings
by Anthony Burke
When you're concatenating only a few strings, it's faster to add them than to use StringBuilder.
Override a Child Class' Parent Method
by Anthony Burke
Here's a workaround to override a child class' parent method with a more granular return type.
Extending the Existing CLR Type
by Naresh Rohra
With .NET 3.0, you can extend any existing CLR type by adding one or more public methods to it—without recompiling the library
Passing Strings Between Delphi DLL and VBA
by Romeo Besas
Unlike other routines, this one doesn't need to pass the length of the returned string for later Trimming in VBA.
Displaying "Bit" Database Fields in Web Forms
by Srinath MS
When fields with 'Bit' Data Types are displayed on Web Pages, they shows as True/False, as opposed to showing the actual '0' / '1'.
Create a Color Using "<<" and "|" Operators
by Leonard Anghel
This tip shows you how to create the RED color using the "<<" and "|" operators. After that, the color is used to fill a rectangle.
Autocomplete Combo Boxes
by Lalit Dwivedi
If you want autocomplete in VB, you've got to do it yourself and this tip shows you how.
Multi-Threading: When printf Can Be Better than cout
by John Hendrix
printf and fprintf are much less likely to be preempted in the middle of streaming data.
Use the XSLT 2.0 Character-map Element to Replace Characters
by Leonard Anghel
Here's an example of how to use XSLT 2.0's new character-map element to replace a character (or group of characters) with another character (or group of characters) on the transformation runtime.
Potential Problems with Friend Classes and Functions in C++
by Alexander Ocher
In C++, it is possible to declare as a friend a class which was not declared anywhere else. This behavior is specified in the C++ Standard (11.4), but it can lead to problems if used incorrectly.
An Improved szEncryptDecrypt VB6 Funtion
by Scott Likely
The szEncryptDecrypt function in a previous tip did not handle unicode strings properly, but otherwise worked well. The changes in the following version should work for any string by explicitly converting each character to ASCII and back.
61-80 of 1869     Previous     Next
Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date