Click here to Skip to main content
15,890,512 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Custom controll flickers! Pin
venomation10-Jun-10 5:27
venomation10-Jun-10 5:27 
GeneralRe: Custom controll flickers! Pin
Luc Pattyn10-Jun-10 5:41
sitebuilderLuc Pattyn10-Jun-10 5:41 
GeneralRe: Custom controll flickers! Pin
venomation11-Jun-10 1:44
venomation11-Jun-10 1:44 
GeneralRe: Custom controll flickers! Pin
Luc Pattyn11-Jun-10 1:55
sitebuilderLuc Pattyn11-Jun-10 1:55 
QuestionDynamically data binding in tree view control in windows forms Pin
ims.sanjay1-Jun-10 9:11
ims.sanjay1-Jun-10 9:11 
AnswerRe: Dynamically data binding in tree view control in windows forms Pin
Peace ON1-Jun-10 21:47
Peace ON1-Jun-10 21:47 
AnswerRe: Dynamically data binding in tree view control in windows forms Pin
Mycroft Holmes1-Jun-10 22:27
professionalMycroft Holmes1-Jun-10 22:27 
Questionpull method of crystal report..promptin for password. Pin
VB.Net Developer31-May-10 20:12
VB.Net Developer31-May-10 20:12 
I am using pull method for viewing a crystal report. It works fine but it doesnt refresh the data..it still shows the old data.

so i wrote some code to refresh the data..but it is prompting me for password...wen we give password it works..but even wen i give that password in code, it is prompting..

below is my code

Dim rptDoc As New ReportDocument
rptDoc.Load("test.rpt")
ApplyInfo(rptDoc)
CrystalReportViewer1.ReportSource = rptDoc



Public Sub ApplyInfo(ByRef _oRpt As CrystalDecisions.CrystalReports.Engine.ReportDocument)
Dim oCRDb As CrystalDecisions.CrystalReports.Engine.Database = _oRpt.Database
Dim oCRTables As CrystalDecisions.CrystalReports.Engine.Tables = oCRDb.Tables
Dim oCRTable As CrystalDecisions.CrystalReports.Engine.Table
Dim oCRTableLogonInfo As CrystalDecisions.Shared.TableLogOnInfo
Dim oCRConnectionInfo As New CrystalDecisions.Shared.ConnectionInfo()
oCRConnectionInfo.DatabaseName = _dbName
oCRConnectionInfo.ServerName = _serverName
oCRConnectionInfo.UserID = _userID
oCRConnectionInfo.Password = _passWord
For Each oCRTable In oCRTables
oCRTableLogonInfo = oCRTable.LogOnInfo
oCRTableLogonInfo.ConnectionInfo = oCRConnectionInfo
oCRTable.ApplyLogOnInfo(oCRTableLogonInfo)


Next


End Sub
AnswerRe: pull method of crystal report..promptin for password. Pin
Adam R Harris17-Jun-10 6:03
Adam R Harris17-Jun-10 6:03 
Questionhow set password in code Pin
Mohammad Barzanooni27-May-10 18:07
Mohammad Barzanooni27-May-10 18:07 
AnswerRe: how set password in code Pin
Peace ON27-May-10 22:07
Peace ON27-May-10 22:07 
QuestionHelp with label printing SDK from Seagull bartender Pin
ziscoooo27-May-10 2:51
ziscoooo27-May-10 2:51 
AnswerRe: Help with label printing SDK from Seagull bartender Pin
Dave Kreskowiak27-May-10 5:51
mveDave Kreskowiak27-May-10 5:51 
GeneralRe: Help with label printing SDK from Seagull bartender Pin
ziscoooo27-May-10 12:32
ziscoooo27-May-10 12:32 
Question3 buttons in a datagridview cell Pin
jogisarge25-May-10 5:38
jogisarge25-May-10 5:38 
AnswerRe: 3 buttons in a datagridview cell Pin
Simon_Whale25-May-10 5:44
Simon_Whale25-May-10 5:44 
QuestionIncapable of listening for Mouse Events on UserControl Pin
Draekz20-May-10 11:53
Draekz20-May-10 11:53 
AnswerRe: Incapable of listening for Mouse Events on UserControl Pin
Luc Pattyn20-May-10 12:59
sitebuilderLuc Pattyn20-May-10 12:59 
GeneralRe: Incapable of listening for Mouse Events on UserControl Pin
Draekz20-May-10 17:18
Draekz20-May-10 17:18 
GeneralRe: Incapable of listening for Mouse Events on UserControl Pin
Luc Pattyn20-May-10 17:28
sitebuilderLuc Pattyn20-May-10 17:28 
QuestionDataGridView "not always"/sometimes adjusting row height for wordwrap Pin
sa_blackmon15-May-10 5:37
sa_blackmon15-May-10 5:37 
AnswerRe: DataGridView "not always"/sometimes adjusting row height for wordwrap Pin
Henry Minute16-May-10 3:56
Henry Minute16-May-10 3:56 
GeneralRe: DataGridView "not always"/sometimes adjusting row height for wordwrap Pin
sa_blackmon17-May-10 3:14
sa_blackmon17-May-10 3:14 
GeneralRe: DataGridView "not always"/sometimes adjusting row height for wordwrap Pin
Henry Minute17-May-10 3:20
Henry Minute17-May-10 3:20 
QuestionDisabling cell selection in DataGrid Pin
JW73814-May-10 8:11
JW73814-May-10 8:11 

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.