Click here to Skip to main content
15,923,689 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionWhat is the best method to translate english text to french in ReportViewer? Pin
Rashar25-Feb-06 16:17
Rashar25-Feb-06 16:17 
AnswerRe: What is the best method to translate english text to french in ReportViewer? Pin
progload25-Feb-06 16:25
progload25-Feb-06 16:25 
GeneralRe: What is the best method to translate english text to french in ReportViewer? Pin
Rashar25-Feb-06 16:58
Rashar25-Feb-06 16:58 
QuestionConfirming Install Location Pin
penguin500025-Feb-06 11:53
penguin500025-Feb-06 11:53 
AnswerRe: Confirming Install Location Pin
progload25-Feb-06 12:56
progload25-Feb-06 12:56 
QuestionBinding to controls in vb.net windows app Pin
Gary Ellison25-Feb-06 6:52
Gary Ellison25-Feb-06 6:52 
QuestionView a crystal report via VB.Net Pin
directred25-Feb-06 6:00
directred25-Feb-06 6:00 
AnswerRe: View a crystal report via VB.Net Pin
directred27-Feb-06 4:31
directred27-Feb-06 4:31 
I done the following and it seems to work. I added a paramter on the crystal report called it ABC and done the following code....

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click

Dim strReportPath As String = "C:\Temp\report1.rpt"

Try
'Load Crystal Report's rpt file
Dim cr As New CrystalDecisions.CrystalReports.Engine.ReportDocument

cr.Load(strReportPath)

'Declare the parameter related objects
Dim param1Fields As New CrystalDecisions.Shared.ParameterFields
Dim param1Field As New CrystalDecisions.Shared.ParameterField
Dim param1Range As New CrystalDecisions.Shared.ParameterDiscreteValue

param1Field.ParameterFieldName = "ABC"
param1Range.Value = 3
param1Field.CurrentValues.Add(param1Range)
param1Fields.Add(param1Field)
CrystalReportViewer1.ParameterFieldInfo = param1Fields

Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
CrystalReportViewer1.ReportSource = strReportPath
CrystalReportViewer1.Refresh()

'Set the CrystalReportViewer's apperance and set the ReportSource
CrystalReportViewer1.ShowRefreshButton = False
CrystalReportViewer1.ShowCloseButton = False
CrystalReportViewer1.ShowGroupTreeButton = False
Catch ex As Exception
MsgBox(Err.Description)
End Try

End Sub
QuestionAnyone can solve this??? Pin
ss65432125-Feb-06 5:19
ss65432125-Feb-06 5:19 
AnswerRe: Anyone can solve this??? Pin
Joshua Quick25-Feb-06 10:25
Joshua Quick25-Feb-06 10:25 
GeneralRe: Anyone can solve this??? Pin
Paul Conrad25-Feb-06 11:29
professionalPaul Conrad25-Feb-06 11:29 
Questiontreeview problem Pin
pankajgarg1225-Feb-06 4:36
pankajgarg1225-Feb-06 4:36 
AnswerRe: treeview problem Pin
Joshua Quick25-Feb-06 10:18
Joshua Quick25-Feb-06 10:18 
Question[Message Deleted] Pin
Scott341525-Feb-06 3:16
Scott341525-Feb-06 3:16 
AnswerRe: Show/Hide a toolbar Pin
Scott341525-Feb-06 3:28
Scott341525-Feb-06 3:28 
QuestionHow to use Video in Vb6 Pin
Murtuza Husain Miyan Patel25-Feb-06 3:03
professionalMurtuza Husain Miyan Patel25-Feb-06 3:03 
AnswerRe: How to use Video in Vb6 Pin
Dave Kreskowiak25-Feb-06 16:43
mveDave Kreskowiak25-Feb-06 16:43 
QuestionArabic Setup Deployment Pin
redspiders10025-Feb-06 1:58
redspiders10025-Feb-06 1:58 
Questiondoest work!!! Pin
pandapatin25-Feb-06 1:12
pandapatin25-Feb-06 1:12 
AnswerRe: doest work!!! Pin
Colin Angus Mackay25-Feb-06 1:24
Colin Angus Mackay25-Feb-06 1:24 
QuestionCan u help me to merge pdf files using VB .net ? Pin
contact ajo24-Feb-06 23:32
contact ajo24-Feb-06 23:32 
AnswerRe: Can u help me to merge pdf files using VB .net ? Pin
Colin Angus Mackay25-Feb-06 1:29
Colin Angus Mackay25-Feb-06 1:29 
QuestionReminder Pin
NOKO124-Feb-06 21:24
NOKO124-Feb-06 21:24 
AnswerRe: Reminder Pin
Dave Kreskowiak25-Feb-06 16:38
mveDave Kreskowiak25-Feb-06 16:38 
QuestionEventCalendarControl.dll Pin
NOKO124-Feb-06 21:20
NOKO124-Feb-06 21:20 

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.