Results 1 to 5 of 5

Thread: access db and printing

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    6

    access db and printing

    Hi!

    Is it possible with VB.Net CF to

    a) retrieve data from an access db on an ipaq/acer
    b) Create a report
    c) Print that report

    I am using Visual Studio 2003. Can I use Crystal reports on Compact Framework?
    I didn't see any option for that.

    Do you have to use something like http://www.inthehand.com/ADOCE.aspx?

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: access db and printing

    You should be able to do a) using the OLEDb namespace and ADO.NET.

    I have not looked for CR on the CF, but I would not be surprised if it was not there. A CR report on a PDA seems like a heckuva chore.

    As for c, where would you print to? I have never tried printing from a PDA, but it should be possible if you can connect one of those things to a printer without going through a computer. If it is through a computer, it may be easier just to move the file over, and print off the computer.
    My usual boring signature: Nothing

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    6

    Re: access db and printing

    So you don't have to any third party component to access a Pocket Access db?

    Maybe instead of using a reportgenerator it's possible to put the data in an already existing worddocument? And then print the document.

  4. #4
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: access db and printing

    a) to access a cdb in CF.Net you would need the ADOCE component as CF.Net has only Sqlserverce. However licencing for this is free

    b) creating reports on the device, i 've never heard of crystal reports for cf.net however you could always generate your on html, txt, csv file as a report for printing.

    if you do it in html or txt you can print to a network printer
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  5. #5

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    6

    Re: access db and printing

    Is changing word documents supported in .Net CF?

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