Results 1 to 7 of 7

Thread: Can you print to the Web Browser Control?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Can you print to the Web Browser Control?

    I am trying to create a report viewing form. I was told that the Web Browser control can be used for this. I have never used this control before and was wondering if anyone new of any good coding examples to perform this task.

    Thanks,
    Blake

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    blakemckenna,

    There may be better ways.

    If you want to present the report to a user on a VB Form as such, then you could use a ListView or FlexGrid to display the data.

    Whereas, If you want to present a report, then you could use a Crystal Report.

    However, a few questions:
    What generates the report in the first instance (a VB App)?
    What format is the raw data in?




    Bruce.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034
    Bruce,

    I simply wish to display reports in a VB app with options such as zooming, printing, etc. I don't have crystal reports, although I wish I did. Can't afford it right now. The listview and Grid controls are OK, however, I'm not sure how to incorporate printing capabilities.

    Blake

  4. #4
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424
    I don't have crystal reports, although I wish I did. Can't afford it right now
    then why u dont go for Data Reports that come with vb. It is good enough for simple reports.

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034
    Because I can't get data reports to work right. Always giving me this "Report Width" error message.

  6. #6
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    A bit form left field.
    I had to generate a report (log book spanning two pages in landscape, of 60 + pages) and resorted to using Excel as the report medium.
    I have a pre saved Excel template, that I load with data from my database. Works well, and I have all the Excel nicaties for printing etc.

    Is this an option for you v Data Report/Crystal Reports?




    Bruce.

  7. #7
    Hyperactive Member Vishalgiri's Avatar
    Join Date
    Oct 2003
    Location
    India
    Posts
    345
    ya, using some code like something.InnerHtml but it will no alter the origional page
    Regards,
    Vishalgiri Goswami
    Gujarat, ( INDIA ).
    ---------------------

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