all groups > vb.net upgrade > july 2003 >
You're in the

vb.net upgrade

group:

how to pass a password to crystal report 9.0 from vb6.0??!


how to pass a password to crystal report 9.0 from vb6.0??! edmond
7/31/2003 3:58:48 PM
vb.net upgrade:
Is there any way passing a password to crystal report 9.0 from Visual Basic
6.0. so that when loading the report in vb6.0., it can connect to the
database access file and show the report?

Thanks a lot.

Re: how to pass a password to crystal report 9.0 from vb6.0??! Ayaz Ahmed
3/29/2004 5:51:23 AM
Hello,

Public Function ConnectionString()
ConnectionString = "dsn=DB;pwd=ayaz;"
End Function

CLChartOfAccountsReport.Connect =
ModuleConnectionString.ConnectionString
pathNAme = App.Path & "\StdPersonalLedger.rpt"
CLChartOfAccountsReport.ReportFileName = pathNAme
CLChartOfAccountsReport.SelectionFormula =
"{Students.Student_Name}='" & cmbindivi.Text & "'"
CLChartOfAccountsReport.Action = True


Warm Regards,

Ayaz Ahmed
Software Engineer & Web Developer
Creative Chaos (Pvt.) Ltd.
"Managing Your Digital Risk"
http://www.csquareonline.com
Karachi, Pakistan
Mobile +92 300 2280950
Office +92 21 455 2414

*** Sent via Developersdex http://www.developersdex.com ***
AddThis Social Bookmark Button