Results 1 to 3 of 3

Thread: DSN Using in VB6.0 with CR10

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    17

    Exclamation DSN Using in VB6.0 with CR10

    Hi,
    Im using VB6.0, Crystal report 10 and MSaccess Database. I was using Crystal report 6 and later upgraded to CR10. In VB6 i used DSN like
    .Connect = "DSN=DBName" & ";UID=admin;PWD=;"
    Now in CR10 i have created reports without using DSN in VB. Can any help how to use DSN in VB6.0 with CR10 or is there any method so that i no need to use DSN in the above said requirements.

    The code used for CR10 is
    Set Report = Appl.OpenReport(App.Path & "\SampleReport.rpt")
    CRViewer1.ReportSource = Report
    CRViewer1.Visible = True
    CRViewer1.ViewReport

    Please guide me in using/without using DSN
    THANKS in advance.
    Last edited by kselvakumar_82; Apr 10th, 2008 at 07:06 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