Search:

Type: Posts; User: Mike Peat

Page 1 of 75 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: Programmatic PDF Export producing empty output

    I've finally got it working by the horrible expedient of setting a boolean property when it is triggered, using that to jump out of the sh1t code, then doing what needed to be done instead, then...
  2. Re: Programmatic PDF Export producing empty output

    Vincent

    No, it wasn't any of that stuff.

    I've pretty much narrowed it down to (a big pile of) sh1t code in the OnInitalizeReport procedure, but I'm still working on it. Looking good so far.
    ...
  3. Re: OnHttpRequest quick response for long running process (asynchronous)

    Marco

    Frankly I'd do this by kicking off a RunProgram with a worker process.

    Actually the way I've done it in the past is to have a non-UI DF program running in the background that checked a...
  4. Re: Programmatic PDF Export producing empty output

    Sam

    And do you know what? That (with 5 minutes of messing about) totally worked. :)

    So the problem is in the (horrible, legacy, inherited... ) code I'm dealing with. :(

    Thank you for...
  5. Re: Programmatic PDF Export producing empty output

    Thanks Sam

    It's late in the day here, but I'll give that a whirl when I'm next at it.

    I think I'm doing all that though. :(

    Mike
  6. Re: Programmatic PDF Export producing empty output

    Garret

    Logo - yes it does - I'll try without that... nope, didn't help. :(

    I am wondering if the fact that the report is the child of a business process could be the issue.

    Mike
  7. Re: Programmatic PDF Export producing empty output

    Garret

    Yup, beer and a nap soulds good. ;)

    Adding:


    Procedure ComReportExport String llsId C_drExportFormats lliType String llFileName

    Sleep 1
  8. Re: Programmatic PDF Export producing empty output

    Garret

    Thing is, I'm only outputting a single invoice (and at this stage it is only one page), so while I'm grateful for your efforts (and apologise to the brain cells for the rough treatment!...
  9. Re: Programmatic PDF Export producing empty output

    Hmm... I get "Invalid message. SET_OUTPUT_DEVICE_MODE". peOutputDestination is OK though, but alas it doesn't help. :(

    Mike
  10. Programmatic PDF Export producing empty output

    Hi

    I'm struggling with a DR Reports export problem. (DF19.1, DR8.0)

    I have a report (an invoice) which works OK if sent to a printer, or if previewed, and if previewed and then exported to...
  11. Replies
    10
    Views
    283

    Re: Unicode and ASCII vs. Text fields

    Re: "Best mistake ever" - that's a high bar to cross around here, dude! ;)

    Mike
  12. Replies
    32
    Views
    622

    Re: Am I the first webapp of the pool?

    Just noticed... in cFirstWebAppProcessChecker.pkg (lines 20-26):



    #IFNDEF get_ProcessHandle
    External_Function ProcessHandle "OpenProcess" Kernel32.DLL ;
    DWord dwDesiredAccess ;
    ...
  13. Replies
    32
    Views
    622

    Re: Am I the first webapp of the pool?

    Sture

    I've just checked under 20.1 and it seems OK, however I wouldn't go so far as to say we "know".

    Ask the guys who wrote it. ;)

    Mike
  14. Replies
    17
    Views
    277

    Re: Updating running DataFlex applications

    ;)
  15. Replies
    32
    Views
    622

    Re: Am I the first webapp of the pool?

    Sture

    Try this: download 14575 to your AppSrc directory, then in your WebApp:



    Use AllWebAppClasses.pkg

    Object oApplication is a cApplication
    End_Object
  16. Replies
    10
    Views
    230

    Re: YAFR: Breakpoint on Watch Window Delta.

    +1
  17. Replies
    14
    Views
    262

    Re: Preview: oReport has no Window handle

    Vincent

    My nasty work-around seems to do the trick, but I'll keep that up my sleeve. :)

    Mike
  18. Replies
    14
    Views
    262

    Re: Preview: oReport has no Window handle

    Michael

    Yes, it does... and ou recall correctly: it works quite well. :)

    Mike
  19. Replies
    14
    Views
    262

    Re: Preview: oReport has no Window handle

    Hi Garret

    Yes, this system can produce PDFs as well, but they want the previewer to work nicely as well.

    Mike
  20. Replies
    14
    Views
    262

    Re: Preview: oReport has no Window handle

    OK, I don't like it, but lacking another solution, the following code in the DRReport sub-class I'm using, DFReportMSSQL, seems to work:



    Function Window_Handle Returns Handle
    ...
  21. Replies
    14
    Views
    262

    Re: Preview: oReport has no Window handle

    Thanks Peter - I'll try that!

    Mike
  22. Replies
    14
    Views
    262

    Re: Preview: oReport has no Window handle

    Vincent - thanks for that.

    This is a system I've inherited, so don't really know it very well.

    Debugging, I can see that Page_Object never gets triggered, while PreviwClick is indeed triggered...
  23. Replies
    14
    Views
    262

    Preview: oReport has no Window handle

    Hi

    I have converted a bunch of reports from VRW 2.x to DR 8.0 and in addition am using Michael Mullan's sub-class cDRReportMSSQL (DF19.1).

    The reports run correctly, but clicking anywhere on...
  24. Replies
    6
    Views
    253

    Re: suggestion: Studio Tabs

    Dave

    Not exactly whay you want, but: open File Navigator (Menu --> View --> File Navigator); opened files are displayed in alphabetical order; double click gets you to the tab it is open in.
    ...
  25. Replies
    32
    Views
    622

    Re: Am I the first webapp of the pool?

    OK, trying that, it seems to work.



    Use AllWebAppClasses.pkg

    Define PROCESS_VM_READ for |CI$0010
    Define PROCESS_QUERY_INFORMATION for |CI$0400

    #IFNDEF get_EnumProcesses
Results 1 to 25 of 1867
Page 1 of 75 1 2 3 4