Click here to Skip to main content
16,011,647 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Command line code needed Pin
Makniteasy19-Dec-04 16:55
Makniteasy19-Dec-04 16:55 
QuestionSQL? Pin
Makniteasy19-Dec-04 11:43
Makniteasy19-Dec-04 11:43 
AnswerRe: SQL? Pin
Jay Shankar19-Dec-04 18:18
Jay Shankar19-Dec-04 18:18 
GeneralRe: SQL? Pin
ScottSingleton20-Dec-04 8:20
ScottSingleton20-Dec-04 8:20 
GeneralRe: SQL? Pin
Jay Shankar20-Dec-04 13:09
Jay Shankar20-Dec-04 13:09 
GeneralRe: SQL? Pin
Makniteasy20-Dec-04 19:10
Makniteasy20-Dec-04 19:10 
GeneralRe: SQL? Pin
Makniteasy20-Dec-04 19:15
Makniteasy20-Dec-04 19:15 
GeneralCrystal Reports - Database Login Pin
Terrence J. Joubert19-Dec-04 9:08
Terrence J. Joubert19-Dec-04 9:08 
Hi.
I really hope someone can help me on this as I have had headaches during the past few days trying to figure it out.

In VS.NET 2003, I create a Crystal Report called Customers.rpt using data from Northwind database on DEV_SERVERONE server. In my code this is how I load the report into the Crystal Report viewer on a Windows Form:

Dim UID, PWD, SRV, DTB as string
'read settings from the config file
UID = Configuration.ConfigurationSettings.AppSettings.Item("UID")
PWD = Configuration.ConfigurationSettings.AppSettings.Item("PWD")
SRV= Configuration.ConfigurationSettings.AppSettings.Item("SRV")
DTB = Configuration.ConfigurationSettings.AppSettings.Item("DTB ")

Dim rep As New Customers 'create new instance
rep.SetDatabaseLogon(UID,PWD,SRV,DTB) 'set the DB logon settings Me.CrystalReportViewer1.ReportSource = rep ' load the report

On my development machine, this code works seamlessly. When I deploy this application elsewhere, Crystal Reports opens up a dialog and prompts me for these settings. All the settings in the app.config on the customer's machine is ok. I am using SQL Server 2000 and VB.NET.

Please help me if you can because this is driving me nuts Frown | :( The worst part of it all is that according to MSDN, my code is supposed to work. I do not have that much experience with Crystal, so please give me some assistance if you can.

Thanks

Terrence J. Joubert
RUS Pty Ltd
GeneralRe: Crystal Reports - Database Login Pin
ScottSingleton20-Dec-04 8:05
ScottSingleton20-Dec-04 8:05 
GeneralGetting a Type of Me Pin
Todd Davis19-Dec-04 5:12
Todd Davis19-Dec-04 5:12 
GeneralCreating an OCX. Pin
dSolariuM19-Dec-04 3:26
dSolariuM19-Dec-04 3:26 
GeneralRe: Creating an OCX. Pin
Dave Kreskowiak19-Dec-04 10:23
mveDave Kreskowiak19-Dec-04 10:23 
Generaldisplaying picture in crystal report Pin
Member 118655019-Dec-04 0:16
Member 118655019-Dec-04 0:16 
Generalplease help me by telling the code to the following problem please! Pin
babur khan18-Dec-04 22:13
babur khan18-Dec-04 22:13 
GeneralRe: please help me by telling the code to the following problem please! Pin
Colin Angus Mackay19-Dec-04 2:34
Colin Angus Mackay19-Dec-04 2:34 
GeneralRe: please help me by telling the code to the following problem please! Pin
Dave Kreskowiak19-Dec-04 10:21
mveDave Kreskowiak19-Dec-04 10:21 
GeneralGRAPHICS CONTROL HELP Pin
Member 158672018-Dec-04 18:58
Member 158672018-Dec-04 18:58 
GeneralRe: GRAPHICS CONTROL HELP Pin
Colin Angus Mackay18-Dec-04 19:27
Colin Angus Mackay18-Dec-04 19:27 
Generalhooking socket events with vb.net Pin
Asxetos18-Dec-04 15:04
Asxetos18-Dec-04 15:04 
GeneralRe: hooking socket events with vb.net Pin
Dave Kreskowiak19-Dec-04 10:15
mveDave Kreskowiak19-Dec-04 10:15 
GeneralRe: hooking socket events with vb.net Pin
Asxetos19-Dec-04 11:44
Asxetos19-Dec-04 11:44 
GeneralRe: hooking socket events with vb.net Pin
Dave Kreskowiak20-Dec-04 1:07
mveDave Kreskowiak20-Dec-04 1:07 
GeneralRe: hooking socket events with vb.net Pin
Asxetos20-Dec-04 4:00
Asxetos20-Dec-04 4:00 
GeneralCommon code for XP and PPC Pin
lemat18-Dec-04 5:33
lemat18-Dec-04 5:33 
GeneralReading from file Pin
High50018-Dec-04 4:06
High50018-Dec-04 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.