devxlogo

Tip Bank

DevX - Software Development Resource

Reflection – Constructors and array params

Question: I need to call a constructor of a dynamically loaded class, and thatconstructor takes a single parameter which is an array of strings,(i.e., constructor(String [] args). How can I

DevX - Software Development Resource

Extracting bits.

Question: How do I extract the value from a certain number of bits of an unsigned type? ex: date is stored as unsigned date = 0x26cf; bits meaning 0-4 Day

DevX - Software Development Resource

DLLs on NT

Question: I’ve written an application that uses external DLLs. It works fine on Win95. When I try to load it on NT, it says it can’t find any of the

DevX - Software Development Resource

fflush()

Question: I am having difficulty finding information and examples on how to use the flush function. Answer: If you are not sure how to use this function, then you probably

DevX - Software Development Resource

How do I make a shortcut in Windows 95/98

Question: I would like to create a shortcut on the desktop. How do I do that without copying a file to the windowsdesktop directory? Answer: The basic approach is to

DevX - Software Development Resource

NT Date Format

Question: I am trying to develop a VB program to interface with a database from a third-party imaging product. The database is SQL Server and the product stores dates as

DevX - Software Development Resource

Polymorphism

Question: Given a reference to an object B that is a subclass of A and overrides method foo(), is there any way I can invoke the base implementation of foo()

DevX - Software Development Resource

Rich Text Edit – Syntax Highlighting

Question: I’m building an application where the user can type several lines of text and save it to disk (as plain text). It would be nice if some words appeared

DevX - Software Development Resource

Using a stored procedure like a subquery

Question: I’m trying to get something like this to work. How can I take the output of a stored procedure and use it in a subquery? create procedure pcore asselect