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 strongm 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: *

  1. makaveliuk

    rebar and MDI window question

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

    Text-wrapping in PostScript?

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

    Text-wrapping in PostScript?

    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?
  4. makaveliuk

    Cancelling export

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

    Test for MySQL server and try another if not found

    It's running PHP 4.3 and MySQL 4 on an OSX Server.
  6. makaveliuk

    Test for MySQL server and try another if not found

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

    Test for MySQL server and try another if not found

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

    permission denied *urgent*

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

    Test for MySQL server and try another if not found

    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(...
  10. makaveliuk

    Create PostScript from PDF

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

    Any way to get production signatures using Acrobat?

    Have a look for "Quite Imposing" plug-in for Acrobat, that's what we used to use to do that until I wrote an app to do it.
  12. makaveliuk

    Create PostScript from PDF

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

    Create PostScript from PDF

    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?
  14. makaveliuk

    2000 Server disable logoff

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

    Painting text problem

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

    Stupid easy question..............

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

    Ole Objects (Crystal Reports)

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

    A few PCL questions

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

    A few PCL questions

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

    Report properties

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

Part and Inventory Search

Back
Top