Click here to Skip to main content
15,886,199 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: my vb.net code Pin
dan!sh 6-Mar-09 20:53
professional dan!sh 6-Mar-09 20:53 
QuestionChange file extention association and apply changes? Pin
Member 21389206-Mar-09 5:00
Member 21389206-Mar-09 5:00 
AnswerRe: Change file extention association and apply changes? Pin
Dave Kreskowiak6-Mar-09 5:35
mveDave Kreskowiak6-Mar-09 5:35 
GeneralRe: Change file extention association and apply changes? Pin
Member 21389208-Mar-09 21:32
Member 21389208-Mar-09 21:32 
GeneralRe: Change file extention association and apply changes? Pin
Dave Kreskowiak9-Mar-09 2:15
mveDave Kreskowiak9-Mar-09 2:15 
Questionlink for merger module for CR Pin
hrishiS6-Mar-09 2:32
hrishiS6-Mar-09 2:32 
AnswerRe: link for merger module for CR Pin
Dave Kreskowiak6-Mar-09 4:17
mveDave Kreskowiak6-Mar-09 4:17 
QuestionCrystal Reports Parameter problem Pin
Jay Royall6-Mar-09 1:44
Jay Royall6-Mar-09 1:44 
Hi,

I have a Crystal Report document which contains a parameter field. The parameter field is set to allow multiple values. In my VB application I have an array of strings which I want to pass to the Crystal Report parameter field. I have tested the report from with Crystal Reports application using the values contained within the array and the report works fine which leads me to believe that there is a problem with my code. The problem being that when the report is displayed, only the last item in the array seems to have been added to the parameter list.

Here is my code for adding the contents of the ArrayList to the parameter:
Dim crParameterDiscreteValue As ParameterDiscreteValue
     Dim crParameterFieldDefinitions As ParameterFieldDefinitions
     Dim crParameterFieldLocation As ParameterFieldDefinition
     Dim crParameterValues As ParameterValues

     crParameterFieldDefinitions = crReport.DataDefinition.ParameterFields
     crParameterFieldLocation = crParameterFieldDefinitions.Item(strParameterName)
     crParameterValues = crParameterFieldLocation.CurrentValues

     For Each strParam As String In arrParameterValues

         crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
         crParameterDiscreteValue.Value = strParam
         crParameterValues.Add(crParameterDiscreteValue)

     Next

     crParameterFieldLocation.ApplyCurrentValues(crParameterValues)

Any body have any ideas where I am going wrong? Thanks in advance.

(BTW: Using VB.NET framework 2 and Crystal Reports 11)
QuestionUsercontrol focus Pin
JR2126-Mar-09 0:54
JR2126-Mar-09 0:54 
AnswerRe: Usercontrol focus Pin
Eddy Vluggen6-Mar-09 1:15
professionalEddy Vluggen6-Mar-09 1:15 
GeneralRe: Usercontrol focus Pin
JR2129-Mar-09 4:28
JR2129-Mar-09 4:28 
GeneralRe: Usercontrol focus Pin
Eddy Vluggen9-Mar-09 6:07
professionalEddy Vluggen9-Mar-09 6:07 
GeneralRe: Usercontrol focus Pin
JR2129-Mar-09 21:16
JR2129-Mar-09 21:16 
GeneralRe: Usercontrol focus Pin
Eddy Vluggen9-Mar-09 23:21
professionalEddy Vluggen9-Mar-09 23:21 
Questionapllication.startpath Pin
hrishiS6-Mar-09 0:08
hrishiS6-Mar-09 0:08 
AnswerRe: apllication.startpath Pin
Ashfield6-Mar-09 1:24
Ashfield6-Mar-09 1:24 
GeneralRe: apllication.startpath Pin
hrishiS6-Mar-09 1:39
hrishiS6-Mar-09 1:39 
GeneralRe: apllication.startpath Pin
Dave Kreskowiak6-Mar-09 3:57
mveDave Kreskowiak6-Mar-09 3:57 
QuestionHTML Email Behind Proxy Pin
Rajeev Dhiman5-Mar-09 23:43
Rajeev Dhiman5-Mar-09 23:43 
AnswerRe: HTML Email Behind Proxy Pin
Dave Kreskowiak6-Mar-09 3:56
mveDave Kreskowiak6-Mar-09 3:56 
GeneralMessage Removed Pin
6-Mar-09 6:44
Rajeev Dhiman6-Mar-09 6:44 
GeneralRe: HTML Email Behind Proxy Pin
Dave Kreskowiak6-Mar-09 7:12
mveDave Kreskowiak6-Mar-09 7:12 
Questionto make user interface good looking in vb.net Pin
vinmaac5-Mar-09 20:37
vinmaac5-Mar-09 20:37 
AnswerRe: to make user interface good looking in vb.net Pin
ABitSmart5-Mar-09 22:09
ABitSmart5-Mar-09 22:09 
Questionhow to plot a point on a shape file Pin
Preeti19795-Mar-09 19:42
Preeti19795-Mar-09 19:42 

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.