I have a rebar control added to an MDI window, containing a child window in a single band. I would like to know how to go about making the document windows within the MDI respect the rebar when maximized instead of have the rebar cover parts of the window.
Also, how would I go about making the...
Thanks for the reply, I'm very new to writing PostScript and after a lot of searching and trying things I cannot work out how to do it, could you point me in the right direction?
TIA
I am working on a project to create postscript from a data file, it's working ok for adding images and single-lines of text but I cannot work out how to make text wrap, is it possible?
I have an automated export running using CRAXDDRT20.DLL to open and export to PDF, under some conditions I need the report to cancel exporting but if I call CancelExport() or release the report object, the Export function never returns leaving my app hanging.
any ideas on how to end the export...
Those variables are declared using:
define(server, "192.000.000.000"); //Not the correct IP obviously
So they don't need $'s, I can't see any reason why shouldn't work either but for some reason it doesn't, it's weird.
I mean it directs to error.html every time (As in the second failure) but if I remove the first one it works so there connection is definately available on the backup server.
Does your IIS user account have permission to write to the files? Not sure exactly how to do it in Windows but in Linux / OSX there is a web user (usually called www I think), you need to give it permission to write to the files.
Is there a way to have a PHP script try to connect to a server and try another server if a connection cannot be established?
I have tried the following:
$link = @mysql_connect(server, username, password);
if( !$link ) {
$link = @mysql_connect(backupserver, username, password);
if(...
I already have it printing to file using the command line, the only problem is that the /t switch which should terminate Acrobat after printing does not seem to work.
I have tried the PDF2PS util with ghostscript but it seems to fail everytime, the only reliable method I have found is Acrobat, I have found the command line to print to postscript but it does not quit acrobat when it's finished so I can't queue the files and process them in sequence.
Is it possible to automatically print a PDF file to PostScript either by COM/ActiveX or command line or something?
I need to have large PDF files converted to postscript over night so need to automate it somehow
Anyone got any ideas?
Hi,
Does anyone know if it's possible to stop a Windows 2000 Server from logging out the Admin account?
I have an application running on the server which requires the admin account to be logged in but it auto-logs off every evening.
Thanks in advance,
Dan.
I am trying to paint some text in a window and have it change colour when the mouse is over it, I am using the code:
case WM_PAINT:
{
HFONT pOldFont;
char *szBuffer;
CRect rcClient;
PAINTSTRUCT ps;
COLORREF col;
HFONT hNewFont;
BITMAP bm;
HDC hDC = BeginPaint(data->m_hWnd, &ps);
HDC...
Right, it's been so long since I used C++ I have completely forgotten how to do this (I know its easy).
I have created a Window using CreateWindowEx with a defined style and a set of checkboxes to enable/disable style flags.
How do I write an if statement to say:
If the current windowstyle...
Hi,
I am trying to open a Crystal Report using CRAXDDRT20.dll from Crystal Reports .NET, I am using the code:
HRESULT hr = NULL;
IApplicationPtr Crystal;
IReportPtr rep;
hr = Crystal.CreateInstance("CRYSTALRUNTIME.APPLICATION");
rep = Crystal->OpenReport(report->CString());
But it fails at...
Thanks for the reply.
That solved most of the problems I had, the only problem I now have is the multi-line text.
I have switched on text wrapping which allows me to print multi-line but I need to print a name and address in a box on a pre-printed sheet, I can position it fine for the first...
I am writing an app to generate cheques from data files, I am new to PCL and it is confusing me a lot!
The things I need to know are:
How do I start/end a page?
How do I download and select a font (I only really need Arial)?
How can I print a multi-line text block?
I have managed to get some...
I wrote an app a while ago using CR 8.5 which opens a report and builds a table which shows which page each record starts on (Because it can reflow depending on system).
I did it by exporting the report to PDF and using the BeforeFormatPage event then reading the field value on that page, the...
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.