devxlogo

Tip Bank

DevX - Software Development Resource

Changing Windows NT Password Progmatically

Question: How can I change my Windows NT server password through a program? Answer: Actually, this is rather simple. However, heed the following precaution from the MSDN documentation on this

DevX - Software Development Resource

Help

Question: When we copy an image (in bmp format) in a help file, we get a “not enough memory space” error when we compile. What are the formats of images

DevX - Software Development Resource

MTS 2 import package error

Question: I attempted to import a package (*.PAK) file from another MTS server, and I got an error message. Both MTS servers are running the same version ofNT and MTS.

DevX - Software Development Resource

Finding User NAME on NT

Question: My problem is that once I get the logged-on user id, I need to get their full name from the NT security. Is this possible? For example: UID: jsmith123Name:

DevX - Software Development Resource

User-defined string functions

Question: I am moving from other languages to Visual C++. I am trying to write a function that returns a string (or pointer to a string), which will then be

DevX - Software Development Resource

How Do You Delete All Files In A Directory?

Question: Deleting all files in a directory should bea basic function; however, I can’t seem tofind a function that will do this. Can you point me to a function that

DevX - Software Development Resource

Visual Basic or Visual C++

Question: I am interested in buying a new compiler and don’t know wether to purchase Visual Basic or Visual C++. I have taken a course in C++, but I am

DevX - Software Development Resource

DOS Level error code

Question: Do you know how to return DOS level code from a program upon exit? Answer: On most systems, you can simply return a value from your main function.int main(){