Click here to Skip to main content
16,020,628 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Using Icons stroed in the Shell32.dll Pin
Dave Kreskowiak11-Feb-06 15:29
mveDave Kreskowiak11-Feb-06 15:29 
QuestionVBA - how to import outlook express to access Pin
keita0011-Feb-06 1:49
keita0011-Feb-06 1:49 
AnswerRe: VBA - how to import outlook express to access Pin
Dave Kreskowiak11-Feb-06 8:18
mveDave Kreskowiak11-Feb-06 8:18 
QuestionCrystal Report Problem Pin
Sajid Sheikh Ali11-Feb-06 1:18
Sajid Sheikh Ali11-Feb-06 1:18 
QuestionData Grid View Pin
Sajid Sheikh Ali11-Feb-06 1:13
Sajid Sheikh Ali11-Feb-06 1:13 
AnswerRe: Data Grid View Pin
Dave Kreskowiak11-Feb-06 8:06
mveDave Kreskowiak11-Feb-06 8:06 
Questioncrystal reports Pin
microuser_200010-Feb-06 22:19
microuser_200010-Feb-06 22:19 
AnswerRe: crystal reports Pin
alien viper10-Feb-06 22:30
alien viper10-Feb-06 22:30 
Try This . But This is not the best way. But u don't have no other way. Try it.

Dim tbCurrent As CrystalDecisions.CrystalReports.Engine.Table
Dim tliCurrent As CrystalDecisions.Shared.TableLogOnInfo

' Create a report document instance to hold the report
Dim rptStudent As New ReportDocument
Try
' Load the report
rptStudent.Load("D:\sample_project\report\rptlist.rpt")

' Set the connection information for all the tables used in the report


For Each tbCurrent In rptStudent.Database.Tables
tliCurrent = tbCurrent.LogOnInfo
With tliCurrent.ConnectionInfo
.ServerName = "ServerName"
.UserID = "username"
.Password = "pws"
.DatabaseName = "DBName"
End With
tbCurrent.ApplyLogOnInfo(tliCurrent)
Next tbCurrent

' Set the report source for the crystal reports
' viewer to the report instance.
frmrpt.crptdate.ReportSource = rptStudent

' Where I put the selection formula
frmrpt.crptdate.SelectionFormula = selectionstr

' Zoom viewer to fit to the whole page so the user can see the report
frmrpt.crptdate.Zoom(2)

Catch Exp As LoadSaveReportException
MsgBox("Incorrect path for loading report.", _
MsgBoxStyle.Critical, "Load Report Error")


Catch Exp As Exception
MsgBox(Exp.Message, MsgBoxStyle.Critical, "General Error")
End Try

!alien!
GeneralRe: crystal reports Pin
microuser_200011-Feb-06 1:06
microuser_200011-Feb-06 1:06 
QuestionProblem to call .KBD in VB6 Pin
justzain10-Feb-06 20:24
justzain10-Feb-06 20:24 
AnswerRe: Problem to call .KBD in VB6 Pin
progload11-Feb-06 12:07
progload11-Feb-06 12:07 
QuestionPOPING NEW FORM THROUGH Timers. Pin
blucas200510-Feb-06 19:47
blucas200510-Feb-06 19:47 
AnswerRe: POPING NEW FORM THROUGH Timers. Pin
Dave Kreskowiak11-Feb-06 8:03
mveDave Kreskowiak11-Feb-06 8:03 
GeneralRe: POPING NEW FORM THROUGH Timers. Pin
blucas200511-Feb-06 22:16
blucas200511-Feb-06 22:16 
GeneralRe: POPING NEW FORM THROUGH Timers. Pin
Dave Kreskowiak12-Feb-06 2:10
mveDave Kreskowiak12-Feb-06 2:10 
Questionhow to get username of the system in net work Pin
mamatharaghu10-Feb-06 19:08
mamatharaghu10-Feb-06 19:08 
AnswerRe: how to get username of the system in net work Pin
Dave Kreskowiak11-Feb-06 7:56
mveDave Kreskowiak11-Feb-06 7:56 
GeneralRe: how to get username of the system in net work Pin
mamatharaghu12-Feb-06 19:36
mamatharaghu12-Feb-06 19:36 
GeneralRe: how to get username of the system in net work Pin
Dave Kreskowiak13-Feb-06 16:51
mveDave Kreskowiak13-Feb-06 16:51 
QuestionHow do i enherit forms? Pin
Polymorpher10-Feb-06 15:14
Polymorpher10-Feb-06 15:14 
AnswerRe: How do i enherit forms? Pin
Rana Muhammad Javed Khan10-Feb-06 18:16
Rana Muhammad Javed Khan10-Feb-06 18:16 
GeneralRe: How do i enherit forms? Pin
Polymorpher11-Feb-06 7:49
Polymorpher11-Feb-06 7:49 
GeneralRe: How do i enherit forms? Pin
Ray Cassick11-Feb-06 8:15
Ray Cassick11-Feb-06 8:15 
GeneralRe: How do i enherit forms? Pin
Polymorpher12-Feb-06 22:15
Polymorpher12-Feb-06 22:15 
GeneralRe: How do i enherit forms? Pin
Rana Muhammad Javed Khan12-Feb-06 19:14
Rana Muhammad Javed Khan12-Feb-06 19:14 

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.