Click here to Skip to main content
16,005,467 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: controlling other applications from VB.NET Pin
mrmathews9930-Jul-06 18:02
mrmathews9930-Jul-06 18:02 
QuestionTab Control - Collection Order Problem Pin
directred28-Jul-06 5:10
directred28-Jul-06 5:10 
QuestionVB.net and SQlServer 2000 Pin
cayoaihuong8428-Jul-06 4:36
cayoaihuong8428-Jul-06 4:36 
AnswerRe: VB.net and SQlServer 2000 Pin
Colin Angus Mackay28-Jul-06 5:55
Colin Angus Mackay28-Jul-06 5:55 
QuestionChange color Pin
Sinchan Nikam28-Jul-06 4:01
Sinchan Nikam28-Jul-06 4:01 
AnswerRe: Change color Pin
hannesHTG28-Jul-06 23:49
hannesHTG28-Jul-06 23:49 
Questionwhy viewing report using crystal report is very slow Pin
muthvireak@yahoo.com28-Jul-06 2:36
muthvireak@yahoo.com28-Jul-06 2:36 
QuestionLoading Crystal Report is very slow Pin
GopanKallazhy28-Jul-06 1:00
GopanKallazhy28-Jul-06 1:00 
Hi,
I m working with vb.net 2005 and crystal report 10 .the time to load crystal report is very high.it takes a minute to load a simple report.
the code i used given below.
if anyone know to solve this problem, please give me reply.
Dim repDoc As New ReportDocument
Dim subRepDoc As New ReportDocument
Dim crSections As Sections
Dim crSection As Section
Dim crReportObjects As ReportObjects
Dim crReportObject As ReportObject
Dim crSubreportObject As SubreportObject
Dim crDatabase As Database
Dim crTables As Tables
Dim crTable As Table
Dim crLogOnInfo As TableLogOnInfo
Dim crConnInfo As New ConnectionInfo
repDoc.Load(CrystalStrReport) 'Report path
crDatabase = repDoc.Database
crTables = crDatabase.Tables
For Each crTable In crTables
With crConnInfo
.ServerName = "Server"
.DatabaseName = "Sample"
.UserID = "sa"
.Password = "abcd"
End With
crLogOnInfo = crTable.LogOnInfo
crLogOnInfo.ConnectionInfo = crConnInfo
crTable.ApplyLogOnInfo(crLogOnInfo)
Next
crTable.Location = "Sample" & ".dbo." & crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1)
crSections = repDoc.ReportDefinition.Sections
CrystalReportViewer1.ReportSource = repDoc
CrystalReportViewer1.Show()



Gopakumar
QuestionAdd combobox Pin
vidyashankar27-Jul-06 23:37
vidyashankar27-Jul-06 23:37 
QuestionFormatting data using a data grid Pin
ssbelfast27-Jul-06 23:06
ssbelfast27-Jul-06 23:06 
AnswerRe: Formatting data using a data grid Pin
Nouvand3-Aug-06 2:51
Nouvand3-Aug-06 2:51 
QuestionSplash Scree Pin
slSoftware27-Jul-06 22:49
slSoftware27-Jul-06 22:49 
AnswerSplash Screen Pin
Hesbon Ongira27-Jul-06 23:16
Hesbon Ongira27-Jul-06 23:16 
GeneralRe: Splash Screen Pin
slSoftware27-Jul-06 23:31
slSoftware27-Jul-06 23:31 
AnswerRe: Splash Screen Pin
hannesHTG28-Jul-06 0:43
hannesHTG28-Jul-06 0:43 
GeneralRe: Splash Screen Pin
slSoftware28-Jul-06 1:13
slSoftware28-Jul-06 1:13 
AnswerRe: Splash Screen Pin
hannesHTG28-Jul-06 1:54
hannesHTG28-Jul-06 1:54 
Questionurgent! Pin
namy3127-Jul-06 22:34
namy3127-Jul-06 22:34 
GeneralRe: urgent! Pin
ii_noname_ii27-Jul-06 22:53
ii_noname_ii27-Jul-06 22:53 
QuestionClearing Session variables?? Pin
ii_noname_ii27-Jul-06 21:55
ii_noname_ii27-Jul-06 21:55 
AnswerRe: Clearing Session variables?? Pin
Tyquaun Hunter28-Jul-06 5:00
Tyquaun Hunter28-Jul-06 5:00 
GeneralRe: Clearing Session variables?? [modified] Pin
ii_noname_ii1-Aug-06 0:18
ii_noname_ii1-Aug-06 0:18 
GeneralRe: Clearing Session variables?? Pin
Tyquaun Hunter1-Aug-06 4:00
Tyquaun Hunter1-Aug-06 4:00 
Questionhello amit Pin
anu8127-Jul-06 20:51
anu8127-Jul-06 20:51 
Questionhow to use functional keys as shortcut keys to open a form in vb Pin
ambikarama27-Jul-06 20:33
ambikarama27-Jul-06 20:33 

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.