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 Rhinorhino 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 barryp

  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...

Part and Inventory Search

Back
Top