Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: pmaia
  • Order by date
  1. pmaia

    I/O error 21

    Originally, you indicated that you wanted to TRAP the dialog from popping up... Try this: UINT prevErrorMode; // save off the current error mode prevErrorMode = SetErrorMode(SEM_FAILCRITICALERRORS); // access the media... or not, but the error will come // in the form of a return code, and...
  2. pmaia

    Can BCB recognize Unix Format files?

    Here is a quick trick to fix the files for access from a DOS/Windows based system. Load the File with EDIT. Save File as the original name. Exit from EDIT. All better now. Edit can read UNIX EOL'd files, but only saves DOS/WINDOWS EOL'd files. At least EDIT has one good use!
  3. pmaia

    encrypting files

    I have a couple of routines that I use to encrypt/decrypt passwords for many of the programs that I write. It is very simple and, at best, will only keep the honest people honest. You're welcome to it, if it will help: // encrypt a password from text to add-index char *EncryptPassword(char...
  4. pmaia

    Closing a DOS box from VB

    A couple of ways...<br> 1) With explorer, find command.com (cmd.exe on NT). (Type 'echo %COMSPEC%' at an MSDOS prompt to find the one it will use.) From explorer, right click on it and set the close on exit check box. save and exit.<br> <br> 2) Launch the batch file with the /C (run command and...

Part and Inventory Search

Back
Top