Tip Bank

DevX - Software Development Resource

Saving and restoring all IDE settings

At times you’d like to save all the current settings of the Visual Basic environment and restore them afterwards. For example, you may want to alternate between the MDI environment

DevX - Software Development Resource

Convert a VB6 project back to VB5

If you load a VB6 project file in the VB5 environment you get a warning, even though the project is correctly loaded. The cause of the warning is a VB6

DevX - Software Development Resource

Persistent breakpoints

When you close a VB IDE session, VB saves the code but doesn’t save the current set of breakpoints. If you need (non-conditional) breakpoints to persist among sessions, don’t use

DevX - Software Development Resource

Rebase compiled DLLs

Many VB developers know that they should specify a DLL Base Address value – in the Compile tab of the Project Properties dialog box – that is different from the

DevX - Software Development Resource

Problem with Streams

Question: Why does a simple program such as the following produce compilation errors? #include#includeusing namespace std;int main(){ ostream_iterator os(cout); vector vi(3,0); os=vi[0]; os++; os=vi[1]; return 0;} I use the Microsoft

DevX - Software Development Resource

Linking SQL Server to Informix

Question: Can I set up a live ODBC link from SQL Server 7 to an Informix (Standard Engine) database? Answer: You can set up your Informix server as a linked

DevX - Software Development Resource

Accessing the Address of a String Element

Question: In the following code, how do I get the address of the first character of str in the function discard? discard(string *name){ //..}int main(){ string str; cin >> str;

DevX - Software Development Resource

Get Server Time at Workstation

Question: We want to timestamp transactions on an application that is not yet using a client/server database. Is there a Windows 2000 API that programmatically gets the server time? Answer:

DevX - Software Development Resource

SELECT Using LIKE

Question: Can I use LIKE across all columns in a single table without having to name each column specifically? Answer: You cannot do this as a direct query against a