Search:

Type: Posts; User: Mike Peat

Page 1 of 75 1 2 3 4

Search: Search took 0.03 seconds.

  1. 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...
  2. 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
  3. 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
  4. 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
  5. 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!...
  6. 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
  7. 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...
  8. Replies
    10
    Views
    252

    Re: Unicode and ASCII vs. Text fields

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

    Mike
  9. Replies
    32
    Views
    610

    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 ;
    ...
  10. Replies
    32
    Views
    610

    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
  11. Replies
    17
    Views
    261

    Re: Updating running DataFlex applications

    ;)
  12. Replies
    32
    Views
    610

    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
  13. Replies
    10
    Views
    209

    Re: YAFR: Breakpoint on Watch Window Delta.

    +1
  14. Replies
    14
    Views
    246

    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
  15. Replies
    14
    Views
    246

    Re: Preview: oReport has no Window handle

    Michael

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

    Mike
  16. Replies
    14
    Views
    246

    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
  17. Replies
    14
    Views
    246

    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
    ...
  18. Replies
    14
    Views
    246

    Re: Preview: oReport has no Window handle

    Thanks Peter - I'll try that!

    Mike
  19. Replies
    14
    Views
    246

    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...
  20. Replies
    14
    Views
    246

    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...
  21. Replies
    6
    Views
    241

    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.
    ...
  22. Replies
    32
    Views
    610

    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
  23. Replies
    32
    Views
    610

    Re: Am I the first webapp of the pool?

    OK, how about if you run a check like the one in my process pool demo, and find no others, do your thing?

    Bit of a race condition going on there... can the first one do the check before the second...
  24. Replies
    32
    Views
    610

    Re: Am I the first webapp of the pool?

    Sture

    My little process pool demo (listing here, zip download here) gets all WebApp the process IDs to show them. Would that help?

    Mike
  25. Replies
    6
    Views
    164

    Re: Using your own user table in a WebApp

    Thanks Sture - just what I was hoping/looking for. :)

    Mike
Results 1 to 25 of 1864
Page 1 of 75 1 2 3 4