Tip Bank

DevX - Software Development Resource

Writing to File from Several Functions.

Question: The code below creates a file, Basket.doc, in the current directory. I am using a compiler with a component I would like to place in fWrite() to let me

DevX - Software Development Resource

Mouse movement control

Question: Can you tell me if there’s a way that I can force the mouse to move to a certain position on the screen, e.g. 20 pixels down, 15 pixels

DevX - Software Development Resource

Archiving Public Folders

Question: How are public folders archived? I have not been able to find a way to set the archival schedule on a public folder. Answer: Public folders aren’t archived, per

DevX - Software Development Resource

Views in SQL

Question: I have a text field in a table that returns the entire field when queried. As soon as I create a view in SQL Enterprise Manager though, the text

DevX - Software Development Resource

Protected Constructors

Question: Can a constructor in Java be declared as protected? Answer: Yes, Java constructors can be declared as protected. You will usually declare protected constructors when you do not intend

DevX - Software Development Resource

Problem with Pointer-to-Member in Templates

Question: I am trying to write a template that somewhat resembles how an inner class works in Java: template class Callback{public: Callback(T& t) : parent(t) { } void Execute() {

DevX - Software Development Resource

Hexadecimal Array

Question: I am trying to create an array of 256 hexidecimal values but am havingsome problems. How do I create a valid array using hexadecimals? Answer: Whether you use hexadecimal

DevX - Software Development Resource

MTS Objects Containing ADO

Question: I have an MTS object that contains an ADO connection object which I use in an ASP page. I look at the MTS console and confirm that the package