VB5/CR6 How to add a own toolbar ? 
Author Message
 VB5/CR6 How to add a own toolbar ?

Hi,

I like to replace the CR6-Toolbar with a standard VB5-Toolbar. I open the
report with:

       If m_crwApplication Is Nothing Then _
           Set m_crwApplication = CreateObject("Crystal.CRPE.Application")
       Set m_crwReport = m_crwApplication.OpenReport(strReportName)
       Set rpt1 = m_crwReport
       Set m_crwView = m_crwReport.Preview(m_WindowTitle, 0, 0, nX, nY, _

CLng(512), Picture1.hwnd)
        Set wnd1 = m_crwView.Parent
       ... a.s.o

How can i call:

     SearchForText strValue, crForward, 0 ?? (CRPEAuto.PageGenerator)
     CancelPrintJob ??
     SetReportDefaultPrinter
     ShowGroupTreeOnOff

The rest will work like:
     m_crwView.ShowFirstPage
     m_crwView.ShowPreviousPage
     m_crwView.ShowNextPage
     m_crwView.ShowNextPage
     m_crwView.ShowLastPage
     m_crwView.ZoomPreviewWindow nValue
     m_crwReport.PrintOut True
     m_crwReport.Export True

Any help would be appreciated.
Thanks,
Peter



Thu, 17 May 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Adding ComboBox to Toolbar in VB5

2. Own menus og toolbars?

3. create own toolbar for internet explorer

4. Draging picture from my own toolbar and creating new instance

5. CR6 : How to add a row counter to

6. Add-Ins, How to add a Toolbar.Button

7. Help: CR6 When Generated Installations Files are some CR6 DLL MISSING

8. Run time error -2147417848 with VB5 + CR6

9. CR6 closing VB5

10. stack overflow using CR6 under VB5

11. Error 429 in VB5 and CR6

12. CR6 Designer for VB5 and ODBC / Oracle

 

 
Powered by phpBB® Forum Software