crystal report 4.6 with vb6
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: crystal report 4.6 with vb6

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Posts
    3

    crystal report 4.6 with vb6

    i am using crystal report 4.6 with vb6. I am unable to generate reports from a password protected access file through vb6. my codes are as follows.

    strReportName = "maxusedtools.rpt"
    With CrystalReport1
    .Connect = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\ATMSVS.mdb; PWD=AsthaShiban@Aryan"
    .ReportFileName = GetAppPath() & strReportName
    .DataFiles(0) = GetAppPath() & "ATMSVS.mdb"
    .Password = Chr(30) & "AsthaShiban@Aryan"
    .Destination = crptToWindow
    .Action = 1
    End With

    its urgent anybody please help

  2. #2
    Join Date
    Jul 2005
    Posts
    1,074

    Re: crystal report 4.6 with vb6

    Code:
    strReportName = "maxusedtools.rpt"
    With CrystalReport1
        .ReportFileName = GetAppPath() & strReportName
        .DataFiles(0) = GetAppPath() & "ATMSVS.mdb"
        .Password = Chr(10) & "AsthaShiban@Aryan"
        .Destination = crptToWindow
        .Action = 1
    End With
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center