Click here to Skip to main content
15,881,600 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalserver/client Pin
dap_qk31-Jul-05 14:46
dap_qk31-Jul-05 14:46 
GeneralRe: server/client Pin
Dave Kreskowiak1-Aug-05 7:33
mveDave Kreskowiak1-Aug-05 7:33 
GeneralCombo Box showing through my calendar Pin
clabrett31-Jul-05 13:21
clabrett31-Jul-05 13:21 
Generalproxy Pin
buzzbusy31-Jul-05 7:06
buzzbusy31-Jul-05 7:06 
GeneralRe: proxy Pin
Dave Kreskowiak31-Jul-05 19:21
mveDave Kreskowiak31-Jul-05 19:21 
Generalcapture keyboard Pin
buzzbusy31-Jul-05 7:01
buzzbusy31-Jul-05 7:01 
GeneralRe: capture keyboard Pin
nick1131-Jul-05 19:16
nick1131-Jul-05 19:16 
GeneralData base login prompt while loading Crystal report Pin
abhinish30-Jul-05 20:50
abhinish30-Jul-05 20:50 
hi guys!
need urgent help
i m facing very strange problem
i m loading Crystal report using ado.net datasets
fist i create datasets and then in the form i use the following code:

Dim rpt As New WAnalysisReport 'The report I created.
Dim myDS As New AnalysisDst 'The DataSet I created.
==============================================
'all objects are declared
myDS.Clear()
Try
myConnection = New SqlConnection("Data source=localhost;initial catalog=complaint;uid=sa;password=;)
MyCommand.Connection = myConnection
MyCommand.CommandText = "SELECT c.*,a.* from complaint_detail as c,actiontaken as a where c.complaint_id=a.complaint_id order by a.complaint_id"
MyCommand.CommandType = CommandType.Text
myDA.SelectCommand = MyCommand

myDA.Fill(myDS, "complaint_detail")
myDA.Fill(myDS, "actiontaken")
rpt.SetDataSource(myDS)
'crystalreportviewer1.
CrystalReportViewer1.ReportSource = + "c:\\Program Files\WAnalysisReport.rpt"
CrystalReportViewer1.ReportSource = rpt

Catch Excep As Exception
MessageBox.Show(Excep.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try
===========================================================
this code works fine in my app. but gives a database login prompt in another application and didn't load the report.
i have checked the connection string .it is correct.
can any one tell me how to overcome that Data base login window.
bi

abhinav
GeneralHELP PRINTING HTML Pin
Alasiad30-Jul-05 17:58
Alasiad30-Jul-05 17:58 
GeneralValue lifetime Pin
erikkl200030-Jul-05 6:25
erikkl200030-Jul-05 6:25 
GeneralRe: Value lifetime Pin
Dave Kreskowiak1-Aug-05 7:31
mveDave Kreskowiak1-Aug-05 7:31 
Generalassignment grader Pin
mtate3230-Jul-05 5:19
mtate3230-Jul-05 5:19 
GeneralRe: assignment grader Pin
tazbird30-Jul-05 16:36
tazbird30-Jul-05 16:36 
GeneralRe: assignment grader Pin
mtate3231-Jul-05 6:11
mtate3231-Jul-05 6:11 
GeneralRe: assignment grader Pin
mtate3231-Jul-05 6:46
mtate3231-Jul-05 6:46 
GeneralRe: assignment grader Pin
mtate3231-Jul-05 6:44
mtate3231-Jul-05 6:44 
GeneralRe: assignment grader Pin
toppscrt1-Aug-05 18:32
toppscrt1-Aug-05 18:32 
GeneralRe: assignment grader Pin
mtate322-Aug-05 0:11
mtate322-Aug-05 0:11 
Generalu.are.u device linked with fingerprint recognition system in vb.net Pin
sscome30-Jul-05 3:29
sscome30-Jul-05 3:29 
GeneralRe: u.are.u device linked with fingerprint recognition system in vb.net Pin
Dave Kreskowiak31-Jul-05 19:17
mveDave Kreskowiak31-Jul-05 19:17 
GeneralForm Load and combobox Pin
Jodd30-Jul-05 1:23
Jodd30-Jul-05 1:23 
GeneralANSI & UNICODE Using VB 6 Pin
justzain29-Jul-05 22:19
justzain29-Jul-05 22:19 
Generalow to DragDrop a form with the mouse Pin
Member 195513229-Jul-05 20:39
Member 195513229-Jul-05 20:39 
GeneralRe: ow to DragDrop a form with the mouse Pin
Robert Rohde29-Jul-05 20:53
Robert Rohde29-Jul-05 20:53 
Questionhow to test if a datacolumn as changes Pin
isgrom29-Jul-05 13:26
isgrom29-Jul-05 13:26 

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.