Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Delphi 6 hangs when I drop a Report Component

edited July 2002 in General
Weird one: new project, one form, add a dataset, datasource,
dbpipeline, set it to the datasource, click on the report component and
click on the form - Delphi 6 hangs and never responds again - have to
shut down with the task manager.

Tried deleting RBuilder folder and all rb*.* files from winnt\system32,
then reinstalling 6.03 professional from scratch.

No change.

Please tell me what to try next!

Comments

  • edited July 2002
    One more hint: when Delphi 6 stoped responding, I waited several minutes,
    and the form showed up but not the rest of the IDE. However, this time
    Delphi closed when I clicked CLOSE on the taskbar, and gave an AV in the
    rtl60 bpl.


  • edited July 2002
    Soooo... I followed all the instructions in the Repairing a Corrupt
    Installation message. Still didn't fix it.

    So I tried to open the RB demo.dpr. It opened, but wouldn't compile.
    It couldn't find system.pas.

    Somehow my search path settings had gotten blown out (cleared). I added
    $(DELPHI)\bin, \lib, \projects\bpl, and did likewise in the
    Environment options library path, and then the RB demo compiled and ran.
    And so did my test app, and my real app.

    And lo, after 6 hours, the problem was gone.

    I am frustrated (I don't know with what) but relieved.
  • edited July 2002
    Soooo... I followed all the instructions in the Repairing a Corrupt
    Installation message. Still didn't fix it.

    So I tried to open the RB demo.dpr. It opened, but wouldn't compile.
    It couldn't find system.pas.

    Somehow my search path settings had gotten blown out (cleared). I added
    $(DELPHI)\bin, \lib, \projects\bpl, and did likewise in the
    Environment options library path, and then the RB demo compiled and ran.
    And so did my test app, and my real app.

    And lo, after 6 hours, the problem was gone.

    I am frustrated (I don't know with what) but relieved.
  • edited July 2002
    Believe it or not, after using RB for a day without problems, the same
    problem reoccurred tonight!

    This time, it only took me an hour to theorize and then demonstrate that
    RB wants the default printer to be there.

    I develop on a laptop that goes from home to office. I don't reboot
    between moves, although I run IPCONFIG on arrival.

    Tonight, after only an hour of fiddling (this is after 8 hours doing the
    same yesterday), I asked myself why only RBuilder was having a problem,
    and the printer idea popped into my head. I connected to the printer
    here (requiring a permissions login on my wife's computer which has the
    printer), then set that printer as the default, and voila.
  • edited July 2002
    One thing you can do is set the PrinterName of the Report's PrinterSetup
    property to Screen.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited July 2002
    Will do - thanks.


This discussion has been closed.