CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ghingaia

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    72,070

    Re: Print only a page of data report

    I found the problem.
    Because after I printed the report, I used Unload DataReport. And it was printed only first page of the Data report. I removed this instructions and all work fine.
  2. Replies
    4
    Views
    72,070

    Re: Print only a page of data report

    Problem is because I send Data Report as a parameter to a function (as Object)Only in this case it prints only first page. Any ideea to resolve the problem?

    Thanks!
  3. Replies
    4
    Views
    72,070

    [RESOLVED] Print only a page of data report

    Hello!
    I made a Data Report and I want to print using DataReport.PrintReport False.
    Even the report has many pages, it is print only first page. I tries to use rptRangeFromTo or rptRangeAllPages,...
  4. Replies
    3
    Views
    1,281

    Re: close MS Word 2010 properly

    l solved the problem.
    I run the macro from VB6 with parameters and I replace the fields with variables in the word template.

    Have a nice day!
  5. Replies
    3
    Views
    1,281

    Re: close MS Word 2010 properly

    Initially, Word is close, but I open it:

    On Error Resume Next
    Set docApp = GetObject(, "Word.Application")

    If Err.Number <> 0 Then
    Set docApp = New Word.Application
    Err.Clear
    End If
  6. Replies
    3
    Views
    1,281

    close MS Word 2010 properly

    Hi!
    I write a function where I create Word documents from a word template, completing some fields with data.
    All work perfectly, but if i run that function again, the files are created again, but...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured