Designer Control automaticaly opens its Preview Window

Hey Guys
I am having a problem and hope you can help to fix it up
Here is the code i use to open a new Report Using RDC XI with VB6
Set m_Report = Nothing
Set m_Report = m_Application.NewReport
CRDesignerCtrl1.ReportObject = m_Report
The Above Statements work fine when New Report is created for the first time.
The Problem is at run time, when i create another new Report (Using Statements above mentioned) Designer Control automaticaly opens its Preview Window tab "Main Report Preview".
As I am using My own Viewrer Control, I don't want this Tab to be opened. I have searched a lot but yet to find any help
Kindly let me know what can i do TO NOT LET IT OPEN
Your Cooperation will be very much appreciated!

Thank Ludek for your responce..
Let me explain code
Referecnes Added:
Crystal Reports Active X Designer Design And Run-Time Library 11.5
Embedable Crystal report Designer Control libaray 11.5
Crystal Active X Report viewere Library 11.5
Code
Dim m_Application As New CRAXDDRT.Application
Dim m_Report As CRAXDDRT.Report
' Code Executed for new Report Button
Set m_Report = Nothing
Set m_Report = m_Application.NewReport
CRDesignerCtrl1.ReportObject = m_Report
'  Set the report source.
CRViewer1.ReportSource = m_Report
'  Set the viewer to view the report.
CRViewer1.ViewReport
CRViewer1.Zoom 1
When this code is executed for the 1st time (If i click New Report Button) It works fine. but if I click New Report button again  "Main Report Preview" tab of Embedable Designer Controls opens automatically. This tab is opened precisely for execution of this statement
CRDesignerCtrl1.ReportObject = m_Report
More to add, if i click New Report Button again, it raises error "Index out of range".
If hope this explain my situation, if there is anything else, let me know.
Your help will very much be appreciated!
Abdul Rehman

Similar Messages

  • Possible to open two preview windows simultaneously?

    Hi,
    I'm trying to view a PDF with two preview panes at the same time, one with the text I'm reading, and one with the appendix of the document.
    I'd like to see both at the same time so I don't have to keep switching pages.
    Is this possible?
    Thanks,
    Boris

    Something else you might try...
    With the document displayed, open the Drawer and highlight your appendix from among the listed pages.
    From the Edit menu choose Copy.
    From the File menu choose "New From Clipboard" -- this will open your appendix page in a new pane, and will leave your main document pane unchanged. Adjust the size of each pane a bit and you should be able to view them both side by side.
    Good luck!
    Andrew9
    iMac 1 GHz Flat Panel 15" PPC 768 MB RAM   Mac OS X (10.4.9)  

  • Designer Control Problem

    Hey Guys
    I am having a problem and hope you can help to fix it up
    Here is the code i use to open a new Report Using RDC XI with VB6
    Set m_Report = Nothing
    Set m_Report = m_Application.NewReport
    CRDesignerCtrl1.ReportObject = m_Report
    The Above Statements work fine when New Report is created for the first time.
    The Problem is at run time, when i create another new Report (Using Statements above mentioned) Designer Control automaticaly opens its Preview Window tab "Main Report Preview", which was hidden earlier
    As I am using My own Viewrer Control, I don't want this Tab to be opened. I have searched a lot but yet to find any help
    Kindly let me know what can i do TO NOT LET IT OPEN
    Your Cooperation will be very much appreciated!

    Hi Abdul,
    Please don't post multiple times it's the exact same questions as : Designer Control automaticaly opens its Preview Window
    Thanks
    Don

  • Embeddable Report Designer Control with Windows 7

    I have a couple of questions.
    I am using Crystal Report XI in both Vb6 and VS2005. I am using the COM controls in both. The CRViewer and the Embeddable Report Designer Control. This has been working in XP fine. Not so good in Vista or Windows 7. I am upgrading to Crystal Reports XI R2 Sp6. For viewing reports in VB6 and VS2005 this working fine.
    I know that the Embeddable designer no longer exists in future Crystal Report versions or in the .net versions.
    In VS2005 the Embeddable Report Designer Control does not work in windows 7.
    Is there anything new that needs to be in the code then in the previous versions? What do I need to do to make the Embeddable Report Designer Control work with windows 7 correctly?
    Also I will need the merge modules for Crystal Reports XI R2 Sp6 for both the .net and RDC. Are they avalible?
    I need to be able to modify reports within the application. My clients have to be able modify existing reports to match state and federal laws and rules.

    Crystal Reports XI R2 Sp6 supports WIN 7, so it should work, though as far as I am concerned, the Embeddable Report Designer Control was always flaky. Also, it may be possible (perhaps even likely) that the RDC components were not tested by QA on WIN 7.
    What is the actual issue you are seeing? (errors, behavior, etc.)
    Are you seeing the issue on a development computer or after you deploy the runtime? I am assuming this is your dev box as you are asking about CR XI SP6 msm files, but I have to be sure.
    If at all possible, do not use the RDC in .NET. The RDC was never tested in .NET and thus is not supported. It may work, but using the Embeddable Report Designer Control in .NET gives me the creeps...
    See if you can get this to work in VB 6 first. If not, you at least have an escalation path for a fix. You do not have an escalation path with RDC in .NET. Please note that if a fix is accepted by R&D, the usual time frame for release of a fix is 6+ months.
    For the future, you will have to look into using the RAS report creation APIs in .NET. This will give you similar report creation abilities at runtime as the Embeddable Report Designer.
    Ludek

  • Crystal report preview window freezes if I push any key on the keyboard

    our system is a pretty old one, and we are still using crystal report 7 and vc6(mfc6).
    It is a simple dialog based application with a button and a flex grid7.1 component on it.
    when the button is clicked, a crystal report preview window will be opened and become the active window.
    the problem is that, when i pushed a key on the keyboard ('a' for example) the whole application will freeze, and CPU Occupancy Rate is 100%.
    but if I switch the dialog to be current active window after a preview window opened, keyboard input won't make the application freeze.
    It seems that crystal report preview window don't know how to deal with the keyboard input.
    BTW:
    I use the methods below to open a preview window.
    PEOpenEngine
    PEOpenPrintJob
    PEPrintReport
    have anyone here met any similiar problems before?
    I really need your help.
    thanks in advance.
    Edited by: zhengli on May 26, 2010 4:36 AM

    Moved to Legacy Application Development SDKs forum.
    I have nothing for you, other than; consider upgrading - after all CR 7 shipped in 1998(!). I don't know what OS you are on, but I suspect what ever OS it is, it was not even in a concept stage of thought when CR 7 shipped. E.g.; this may be an OS issue more than anything else.
    BTW., print engine APIs were retired in version 9 of Crystal Reports. At this time, your best option is to upgrade to CR 2008 (12.0)and use .NET or Java. If you are using VB 6 or equivalent, you could still upgrade to CR XI r2 (11.5) and use the Report Designer Component (RDC). However, note that CR XI r2 will be out of support in June of this year. And CR XI R2 is the last version of CR to include the RDC.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Edited by: Ludek Uher on May 26, 2010 8:28 AM

  • Placement and/or size the report previewer window

    Hello ,
    How can I change the position of reports previewer window?
    (see that is different that parameters form window).
    I like to put on top, because my report pages are very long and
    when it opens you can never get to the bottom scroll bar. You
    must always shrink the window size or move it up.
    I use Reports 6.0.8 and I use the run_product build-in from my
    forms.
    Thanks in advance
    Leticia

    hello,
    you might want to try MAXIMIZE=YES as parameter which opens the
    previewer window in maximized mode !
    unfortunatly you can not position the previewer-window !
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I keep receiving this error every time I open LR, "Lightroom encountered and error when reading from its preview cache and needs to quit" and the app won't open. It said LR would try and fix this error next time I opened it but the error remains. I tried

    I keep receiving this error every time I open LR, "Lightroom encountered and error when reading from its preview cache and needs to quit" and the app won't open. It said LR would try and fix this error next time I opened it but the error remains. I tried uninstalled and installing the app and the error remains. I have windows 8. Can anyone please help???

    Use Windows Explorer to open the folder containing your catalog. The normal location is Pictures\Lightroom. Locate a folder with the extension .lrdata and delete that folder. Then you should be able to start Lightroom again, and Lightroom will begin building and new previews folder. Do not delete anything else.

  • Safari is not allowing Adobe Acrobat to control PDF viewing, PDFs are opening in Preview

    After the latest update of Safari, in Snow Leopard, when I attempt to open a document as a PDF, the document is opening in Preview rather that Adobe Acrobat software.  This has never happend before.  I have been openning PDFs in Acrobat in every previous version of Apple Software and every version of Adobe Acrobat.  The support personnel for the web site where the PDF documents are created suggests that some plug-in control in Safari has been changed in the latest update. 

    I thought it was clear but here it is again...
    1. While in the finder select any pdf file by clicking on it.
    2. In the File menu click the Get Info menu item or just click command + I ("eye").
    3.  The finder info window for that selected pdf will be displayed.
    4. You will see various sections of the info window separated by divider lines.  One will say Open With and have a popup menu below it.  From that popup select the app you want to open that pdf.
    5. If you want all pdf's to be handled by the chosen app click the Change All... button below the popup memu.

  • HT3672 Theater Preview in FCP 7 not opening ICHAT dialog window

    Hi All,
    Got a wierd bug it seems..  I have a NY office running multiple mac pro's and macbook pros.  I am trying to use the one way chat with the theater preview in FCP. 
    ON MAC PRO: (6.7 / FCP 7.03 / ICHAT 5.03)
        1. log into Ichat
        2. I open a FCP project and choose view - ichat theater - start sharing
    NOTE:
    on my laptop: i SEE  the Ichat Dialog box that says - Ichat theater is ready to begin
    on my mac pro: I DO NOT SEE or EVER GET this dialog box.
    I have tested and can do a straight chat so i believe it is something in FCP.
    Thoughts?

    Hi,
    Some questions remain the same.
    Can that Mac Pro do iChat Theatre with other files ?
    I test my Messages in Lion to iChat 5 in Snow Leopard using Bonjour
    In Messages you just drag the File you want to the Video Chat window and use the Lower part of the then divided screen,
    I do not have FCP but a Movie tends to start automatically  (no indication what is playing it)
    A Keynote file opened the Keynote app and a separate preview window does open with Controls. It still tends to proceed automatically.
    There seemed to be some adjustment to keep to the older 4:3 ration of iChat Chat windows despite my current Messages being able to do 16:9 ratio Chats.
    Is the laptop essentially in 4:3 ratio ?
    IS the Mac Pro Screen and camera able to do 16:9 ?
    What ratio is the FCP file in ?
    Essentially it should letter box 16:9 shown/used on a 4:3 Chat.
    I would note though that the Preview window that appears is linked to the Keynote app  rather than the iChat/Messages app.
    There also appears to be no control over the size or position (other than you can drag it about).
    Check the Window menu of FCP and see if it lists the Preview window
    I find Keynote is Open as far as the Preview window is the only Window open for the app.
    Have you stayed at OS X 10.6.7 for FCP to work in that version rather than OS X 10.6.8 ? (the Last Update to Snow Leopard - it make no difference to the iChat version)
    7:50 PM      Wednesday; May 16, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.7.4),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Cant seem to make photoshop default to open photos in Windows. Its defaulting to Adobe and I changed settings, still not working

    When I upload photos from my phone to computer Cant seem to make photoshop default to open photos in Windows. Its defaulting to Adobe and I changed settings, still not working. Even when I press preview on photo and they open in windows photo viewer I cannot save the file to my computer. I have Photoshop CS4

    infact both are same only..http://store.apple.com/us/product/MB572Z/B/mini-displayport-to-vga-adapter        "http://store.apple.com/us/product/MB570Z/B/mini-displayport-to-dvi-adapter"

  • How to open an swf in its own window outside flash using button

    how do I open an swf in its own window outside the flash using button?

    Hi,
    Try this code:
    import mx.containers.Window;
    var my_button:mx.controls.Button;
    var buttonListener:Object = new Object();
    buttonListener.click = function(evt_obj:Object) {
    var my_win:MovieClip = mx.managers.PopUpManager.createPopUp(evt_obj.target, Window, true, {title:"Sample Image", contentPath:"uganda_animation_Scene 1.swf"});
    my_win.setSize(320, 240);
    my_button.addEventListener("click", buttonListener);
    You must drag the window default component and place in to the library.
    Saransoft

  • Clicking on a document in google mail doesn't open a preview in new tab on Windows but it does on my Mac. How do I fix this?

    I use google mail for work and personal mail. When using my Mac, I click on a document (PDF, Excel, etc) in an email message and it opens a preview of that document in a new tab.
    On my Windows PC, I do the same thing and it just sits there. I have checked the pop-up blocker and some of the settings but can't figure out why it works in one and not in another.
    Any help is appreciated.

    Check if this KB might be of any help:
    https://support.mozilla.org/en-US/kb/tab-preferences-and-settings
    Thanks!
    Om Prakash

  • New Mac, fresh install of Mountain Lion When I click to open a .Pdf from a web page,while in Safar, I get a black window Nothing opens in Preview or in Acrobat No option to download

    New Mac, fresh install of Mountain Lion
    When I click to open a .Pdf from a web page,while in Safar, I get a black window
    Nothing opens in Preview or in Acrobat
    No option to download

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy paste the following:
    /Library/Internet Plug-Ins
    Click Go. If you see this file:  AdobePDFViewer.plugin
    Drag it to the Trash, empty the Trash.
    Quit and relaunch Safari.

  • Lightroom 5 will not open and gives me a message saying it encountered an error reading from its preview cache. [was: Lightroom 5 question]

    @Lightroom 5 will not open and gives me a message saying it encountered an error reading from its preview cache.

    This is the Photoshop forum however.
    Close Lightroom and go to your Lightroom catalog folder.
    The default location is usually in Pictures.
    Delete the file in the catalog folder which ends Previews.lrdata
    Do not touch the catalog itself which ends.lrcat
    Then try re-launching Lightroom.

  • Upgraded to 5.4 when opening lightroom get a message "encountered an error when reading from its preview cache and need to quite" tried this several time but get the same eror message

    Upgraded to 5.4 when opening lightroom get a message "encountered an error when reading from its preview cache and need to quite" tried this several time but get the same error message.  Says Lightroom will attempt to fix the problem the next time it launches but that is not happening.  How do it fix this?

    Delete the preview cache using your operating system. It is a folder whose name ends with Previews.LRDATA. Do not delete the Lightroom catalog, which ends with .LRCAT

Maybe you are looking for