Results 1 to 6 of 6

Thread: print button disable

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2008
    Posts
    29

    print button disable

    CR8, VB6

    please help! why print button still keeps disabled. what missing with my codes. i already put TRUE value in the properties value of 'WindowShowPrintBtn' and also added in my code to make sure. but, still it's disabled.

    here's some part of my code.
    Code:
    'show report
    cr.ReportFileName = App.Path & "\report\" & strReportFile
    cr.Connect = sql_host & ";UID=" & sql_user & ";PWD=" & sql_pass & ";DSQ=" & sql_db & ";"
    cr.RetrieveDataFiles
    cr.SQLQuery = strQry
    cr.WindowState = crptMaximized
    cr.WindowShowPrintBtn = True
    cr.Action = 1
    
    errorMe: gotoErrHandler
    Attached Images Attached Images  

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jun 2008
    Posts
    29

    Re: print button disable

    idea here please...

  3. #3
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: print button disable

    One thing to check could be that the pc has not an installed printer

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jun 2008
    Posts
    29

    Re: print button disable

    so it's disabled if there is no installed printer?

  5. #5
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: print button disable

    Could be, I'm not in a proper environment to check

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jun 2008
    Posts
    29

    Re: print button disable

    Quote Originally Posted by jggtz
    Could be, I'm not in a proper environment to check
    just asked the client if she has a printer installed in her pc. and she has... also, the export feature is not working.

    is it possible some dll files missing? but i tried with dependencywalker and finds no missing.

    any idea?
    Last edited by noister; Nov 13th, 2008 at 07:42 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width