Skip to Content

Parameter Dialog Hidden when Viewer / Form Brought to Front

I have a separate application that's launching my .NET winform app via a file association. I need my app to come to the front, i.e. become the topmost form. But when I call the methods to bring the form to the front or even call the viewer's BringToFront() method, the parameter dialog box essentially gets choked out and disappears and so, being unable to find that and enter the required parameters, the viewer just locks up the screen and has to be closed via Task Manager. Is there any way to get a reference to the parameter dialog box so that I can bring THAT to the front?

Thank you,

Laszlo

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on May 22, 2013 at 02:25 PM

    I finally got this to work using the viewer's "Paint" method instead of "Load".

    Thank you for the responses.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 21, 2013 at 10:11 PM

    I think it would be nice to have a little bit more clear description of:

    But when I call the methods to bring the form to the front or even call the viewer's BringToFront() method, the parameter dialog box essentially gets choked out and disappears

    E.g.; the parameter dialog box essentially gets choked. Not sure what that means at all.

    Also;

    What version of CR?

    What version of .NET?

    Is this happening on your dev computer or after you deploy the app?

    What OS?

    - Ludek

    Senior Support Engineer AGS Primary Support, Global Support Center Canada

    Follow us on Twitter

    Got Enhancement ideas? Try the SAP Idea Place

    Share Your Knowledge in SCN Topic Spaces

    Add a comment
    10|10000 characters needed characters exceeded

    • The load event does not fire? Sorry but I keep missing stuff here... E.g.; the "normal" work flow would be something like:

      Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()crReportDocument.Load("C:\Crystal\crnet\vbnet_win_simplepreviewreport\World Sales Report.rpt")               'Bind the report to the viewerCrystalReportViewer1.ReportSource = crReportDocument

      What part of the code above would not fire in your case?

      - Ludek

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.