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 bkrike 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 Killa

  1. Killa

    printing error trapping

    Thanks PHV just resorted the array index
  2. Killa

    subscript out of range

    I am getting a subscript out of range error when i redim the pdf_index array. what anm i doing wrong ? Thanks killa Sub get_issues() Static x, y For i = 0 To File2.ListCount PDF_file_issue = UCase(getissue(File2.List(i))) no_hit = True For j = 1 To arraymax If...
  3. Killa

    printing error trapping

    I am getting a subscript out of range error when i try to redim the pdf_index array anyone have an idea what i am doing wrong ? Thanks in advance Sub get_issues() Static x, y For i = 0 To File2.ListCount PDF_file_issue = UCase(getissue(File2.List(i))) no_hit = True For j =...
  4. Killa

    orinatation of a document

    thankyou i will give it a try
  5. Killa

    orinatation of a document

    how do u find out if the document is landscape or portrait
  6. Killa

    printing error trapping

    yeah i tried that it did not make any difference. i don't think it is causing an error because i can not trap it with err.number
  7. Killa

    printing error trapping

    Hi i am doing a small print routine that prints out word files to a postscript file this works fine until i get an error this causes the program to halt. Can i trap this error? so the program will run with out stopping. THE ERROR IS : The margins in section 1 are set outside the printable...
  8. Killa

    shell execution of batch files

    the program is running under XP if I run it from a command prompt it behaves in just the same way the batch file closes before the program has finished processing i have stripped the batch file down to just run the command just the command it behaves exactly same way the batch file as is...
  9. Killa

    shell execution of batch files

    Thanks again Hypertia Unfortunately the application started makes the batch file exit after it starts and prior to its ending. I rewrote the original batch file to use the start/wait option you suggested but it had no effect on the way the batch file behaved any More Ideas ?
  10. Killa

    shell execution of batch files

    Thanks Hypetia the shellwait function works very well on simple batch files, its a lovely piece of coding is there a way to trap wait for the execution of process programs spawned from a batch file The problem I have is that the batch file closes well before the process has ended do you have...
  11. Killa

    shell execution of batch files

    if i launch a batch file a = shell("batch.bat para1 para2") How can i tell programmically if the batch file has finished processing ? Any help would be much appreciated
  12. Killa

    program finished processing

    If i start a Batch file with a = Shell( batchfile) how can i tell if the batch has finished processing. i read that shell returns the task id of the process but can't find how to check if that task id still exist
  13. Killa

    File Closed

    Is there a way to see if a file has finished being written to? Back Ground I'm writing a program in visual basic to monitor a windows directory then process any files that appear there but it must ensure that the file has finished being written before proceeding any help would be much...
  14. Killa

    Tables in word

    Is there an easy way of identifying tables? can tables be named ? i want to create and edit a set number of tables using vba I have a button on the document for each table which opens the relevant form but i need to the data from table into the form and visa versa, this maybe done several...

Part and Inventory Search

Back
Top