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...
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...
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...
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...
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 =...
I have a script which is run by CRON
It looks in a folder on a remote server for a file & if there will copy it across, process it then ON THE REMOTE SERVER move it to a 'done' folder.
Most of the time - it works
BUT all too frequently it hangs for hours on the MOVE
I use
/usr/bin/ssh -q...
I use
if `php -q mystuff.php`
within a shellscript run from crontab
How can I pass an error status from within my PHP to the shell script ?
If I say exit(-1); within PHP I do not see this in my shellscript.
I'm sure I come across the answer - but can't find it when I really need it !
I make an sql query like
$query = "SELECT * FROM `product` as p, `productlanguage` as p1, `productlanguage` as p2 WHERE (p.guid=p1.d_id and p1.lang_id='de') and (p.guid=p2.d_id and p2.lang_id='en')"...
Hi
On a Linux server I use MySQL
I have a shellscript run by CRON which initialises one of my databases
I need to DROP & re-CREATE the database & then initialise the tables
I have an SQL file to do this but how can I pass the database name to the SQL script ?
init.sql contains
DROP...
Please help a newbie !
I have a shell script which takes 2 parameters
I now need to run this script usiong a control file
e.g.
Control File contains
param1.1 param1.2
param2.1 param2.2
param3.1 param3.2
The shell script would be run 3 times
How can I set up a loop to achieve this?
I have...
Hi
This is probably a stupid question - but here goes !
I've put together an application using PHP & MySQL using the internet.
Several contacts tell me that a large number of potential customers are NOT allowed internet access. So could I release the package on CD-ROM.
Fine.
I can include...
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.