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 SkipVought 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: barryp
  • Order by date
  1. barryp

    WaitForMultipleObjects

    Salem Thanks. I've just improved things by adding a sleep(1000) between the first two beginthreads(). Now its working. But it would be good to fix it cleanly.
  2. barryp

    WaitForMultipleObjects

    I have N (atually 35) processes to complete - all just number crunching. Since I have a dual core PC I thought of using threads. So I kick off 2 threads & call WaitForMultipleObjects(2,h,FALSE,INFINITE) & pick up the rsponse, determine which thread has completed, update the paras & kick it off...
  3. barryp

    Need to create DCS 2 eps

    Hi I'm struggling to produce a 'good' DCS 2 EPS file. I have taken one produced by PhotoShop (in PhotoShop I produced an image with 4 spot color channels). Stripped out all the PhotoShop Specific stuff. replaced the Binary images with standard postscript 'image' greyscales. But although...
  4. barryp

    Multiple forms POST vs GET

    Vacunita Thanks - how did you know ? Iam trying to learn DreanWeaver & didn't know until I looked at the code it produced that it was expecting a GET not a POST !
  5. barryp

    Multiple forms POST vs GET

    Hi Can anyone see the problem here ? If I click on the submit in the first form I get the hidden datafield value=1 sent to my editHotel.php script. HOWEVER if I use method=GET it works !!! BUT I want method=POST please. <table border="1"> <tr> <td>name</td> <td>tel</td>...
  6. barryp

    Execute other Windows apps within MDI ?

    Before I get REALLY bogged down - is this even possible for a programmer just learning visual C 6 ? I want to write an MDI app which runs several other existing windows apps within MY window. It would be nice to 'tile' them so they are all visible. The idea is to visually compare the results of...
  7. barryp

    setcolorspace

    Hi I'm confused by the following code. 'scaleTimes' & 'centerShow' are defined & they're fine. It's the setcolorspace & the 6 pops + 0.304645 that gets me. Can someone walk through this code for me please ? I really need to separate this into 6 postscript files to send to 6 devices (one for...
  8. barryp

    Help with Macros please

    OK. The basic problem. I have a macro as described above which I use to do an indexed lookup on a dataset of 250 million records of individuals I am supplied with a list of individuals & need to , for each one, extract all their records (which then point on to other records in other datasets)...
  9. barryp

    Help with Macros please

    Hi I have encapsulated the SET KEY= index lookup into a macro which tests _iosrc_ & returns a SUCCESS or Failure flag My call is %INDLOOK(SET=,KEY=,OPTION=) the macro contains set &SET key=&KEY &OPTION; Question - I have a variable - myoption Length myoption $ 9; If i say...
  10. barryp

    Help with &quot;SET KEY=&quot; please

    Hi I have an index (not unique) on a dataset. Why does SET dataset KEY=mykey; SET dataset KEY=mykey; SET dataset KEY=mykey; SET dataset KEY=mykey; give different results to i=4; DO WHILE(i>0); SET dataset KEY=mykey; i=i-1; END; The first gives the first occurrence of a record matching...
  11. barryp

    screen output delayed

    PostScript Itseems to be the processing (ZIPPING) of a large file that causes the log-jamb A dozen small files work fine - the messages appearing in reasonable time & order Stick one large filr into the mix & all's well till this one is encountered then no more text appears in the ListBox...
  12. barryp

    screen output delayed

    Hi I've been trying to find out why the following code's output is delayed 'till all the processing is completed. I see the first line in the ListBox but then the rest don't appear till the end. void CAddDialog::OnOK() { STARTUPINFO startup; PROCESS_INFORMATION procinfo; CString...
  13. barryp

    SHORTFILEEXT

    Hi We are running SAS for Windows on several boxes Recently, one PC always creates SAS datasets with the SHORT ext SD7 instead of SAS7BDAT I cannot see why We don't use the -shortfileext anywhere and in options/system this param is set to zero Has anyone an idea what could have triggered...
  14. barryp

    worksheet.saveas File causes Workbook rename

    Hi I'm new to the power of Excel+VB I've tried Path = &quot;c:\temp\test.bat&quot; Worksheets(&quot;Sheet2&quot;).Activate ActiveSheet.SaveAs Filename:=Path, FileFormat:=xlTextPrinter ActiveSheet.Name = &quot;Sheet2&quot; I understand why I have to rename the Sheets...
  15. barryp

    Prevent Running Whole Script

    Thanks to you both for replying. Good ideas have been logged ! For, I guess, historic reasons the company has many scripts, each dedicated to particular 'jobs' & datasets. When its time for a job to be run 'we' load the script into the editor, highlight the 'include' section (several lines of...
  16. barryp

    Prevent Running Whole Script

    Hi We use SAS v8 for windows & an all-to-frequent mistake is to forget to highlight the PROC or DATA step to run. This results (of course) in the WHOLE script (all DATA & PROC steps) being run - disaster ! Being new to the company (& SAS) I thought that just adding a line &quot;SAS - STOP...
  17. barryp

    Database Naming Problem

    I've an SQL script which initialises my databases as required. This has been working fine. Now I have to create & use a database called 'Home+Away' My script now fails The lines in my sql file are DROP DATABASE IF EXISTS `Home+Away`; CREATE DATABASE `Home+Away`; USE `Home+Away`; The USE...
  18. barryp

    File Upload OK - How to stop REFRESH uploading again

    I've got my file upload working fine If I detect a duplicate file on the server I simply rename the file to 'file.001' or something & report to the user. If the user immediately hits the Browser Refresh then the file gets sent again, & again etc. How can I prevent this ??
  19. barryp

    downloading acrobat PDF

    Hi I have an ASP script which is given a filename as a parameter & must then download a page containing the PDF file So, I have Response.ContentType = &quot;application/pdf&quot; FilePath = Request.QueryString(&quot;docPath&quot;) FileName =...

Part and Inventory Search

Back
Top