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.
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...
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...
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 !
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>...
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...
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...
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)...
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...
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...
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...
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...
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...
Hi
I'm new to the power of Excel+VB
I've tried
Path = "c:\temp\test.bat"
Worksheets("Sheet2").Activate
ActiveSheet.SaveAs Filename:=Path, FileFormat:=xlTextPrinter
ActiveSheet.Name = "Sheet2"
I understand why I have to rename the Sheets...
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...
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 "SAS - STOP...
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...
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 ??
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 = "application/pdf"
FilePath = Request.QueryString("docPath")
FileName =...
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.