chintu4uin Level: Big Cheese
 Registered: 04-02-2008 Posts: 20
|
Plz Help for Crystal Report in VB.NET 2008
Hi frd's plz help me I am a beginner I have developed a project using crystal report. Report is working fine on developer machine but whn I try to run the exe on other machine where .net framework was install the report is not running whn I m trying to open it it is asking for Database Login whereas my DB is not having login or pwd.. so how to set runtime the DB path and so on...
In VB6.0 I used to do it like this but I dont think so it is working same as like tht in .NET
---------------------------
Dim CRrpt As Object 'For Report Object
Set CRrpt = New rptComm_payable_summary_dtwise
CRrpt.DiscardSavedData
CRrpt.Database.Tables.Item(1).SetLogOnInfo strLocalServer, strLocalDatabase, strLocalUid, strLocalPwd
CRrpt.Database.Tables.Item(2).SetLogOnInfo strLocalServer, strLocalDatabase, strLocalUid, strLocalPwd
---------------------------
:headache:
|