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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dba2

  1. dba2

    How to read date and time

    Many thanks alexcher, just what I needed! Regards, dba2
  2. dba2

    How to read date and time

    Thanks alexcher, can you lead me into the PS commands to achieve it? Regards, dba2
  3. dba2

    How to read date and time

    Thank you for your response Thomas. In case anyone else is hunting for a similar solution, after posting this question I found a suggestion by 'Dunkie' on Google Groups that a solution could be to have a script running in the background every minute with the output directed to a file. This I've...
  4. dba2

    How to read date and time

    Can anyone help please? I have a PostScript Interpreter running on a Sun Unix system and when I send a PostScript document to the Interpreter I want to be able to read the time and date. I have not been able to find any reference to PostScript Time or Date commands in the 'Red Book', are there...
  5. dba2

    How do I set Word OLE PrintOut properties

    Can anyone help please. I am using automation with Variants to interface with MS Word and I need to change the default PrintOut Property settings for 'PrintToFile' and 'OutputFileName'. If I call the PrintOut procedure with vMyDoc.OleProcedure("PrintOut") it obviously takes the default printer...
  6. dba2

    Can the Tab key be trapped in a TEdit event?

    Thanks bNasty I'll try it. In the meantime it looks as if the same problem exists in Delphi for which I've found a solution by Thomas Stutz which follows: ---------------------------------------------------------- Problem/Abstract: It's not possible to trap the tabulator-key in the...
  7. dba2

    Can the Tab key be trapped in a TEdit event?

    Thanks for the response, unfortunately I neglected to say that each following Edit box is disabled until the preceding one's entry has been validated as correct, hence the reason for the need to trap the Tab. Any other ideas please?
  8. dba2

    Can the Tab key be trapped in a TEdit event?

    I have created a form containing 4 TEdit boxes and have written code to validate the text entered. I want to be able to move back with Shift-Tab and forward with Tab between the edit boxes if validation is correct. I do not seem to be able to trap the Tab key through any of the TEdit events...
  9. dba2

    How can I intercept the Print Dialog

    I want to write some code that 'forces' a user, when selecting Print in any MS Office App., to enter a reference number. Subsequently when they click the 'OK' button in the PrinterDialog I need to append the reference number to the filename before forwarding the job to the printer. I believe...
  10. dba2

    How can I repeatedly check size of file being created by another progr

    I have written a program which includes the use of a progress bar representing the growing size of a file created by another program (which I have not written) called via CreateProcess(). Within my program I have created a loop that exists for the duration of the CreateProcess thread in which I...
  11. dba2

    I/O error 21

    I've just noticed your response pmaia, sorry for the delay in responding! Yes I do want to trap the dialog so I can replace it with my own message but since the error is not trappable within the DriveSelectionComboBoxChange() function/method I can't quite see how this will help me to resolve...
  12. dba2

    I/O error 21

    For anyone interested I've now made further progress thanks to finding a solution documented at: www.hamline.edu/~wnk/cpb/199803/msg00316.html The link to Harold Howe's web page mentioned in the article should now of course read: www.bcbdev.com
  13. dba2

    I/O error 21

    Many thanks again James, that suggestion has enabled me to find that the cause of the problem is associated with using a TDriveComboBox. If I use the TComboBox I don't get the error! PS I'm trying to order the book but as you probably know it's generally no longer available. David Aston
  14. dba2

    I/O error 21

    Many thanks James, this may be heading in the right direction. I have added catch(...) everywhere to create a ShowMessage to try to locate the problem but still no progress. I am already using GetDriveType but not GetVolumeInformation, it would be helpful if you could post samples please. BTW I...
  15. dba2

    I/O error 21

    Many thanks for the response Totte. I didn't explain that I want the CD drive to be available but need to replace the "I/O error 21" with a message like "Please insert a CD". I have inserted try-catches at all levels in the program but can't trap it. A work colleague with...

Part and Inventory Search

Back
Top