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...
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...
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...
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...
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?
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...
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...
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...
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...
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
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
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.