Click here to Skip to main content
15,908,264 members
Home / Discussions / C#
   

C#

 
AnswerRe: Move Mailbox items to other own folder programatically using exchange server 2007 Pin
Ashfield29-Oct-09 2:49
Ashfield29-Oct-09 2:49 
QuestionRegarding Functions Pin
vijaylumar29-Oct-09 1:00
vijaylumar29-Oct-09 1:00 
AnswerRe: Regarding Functions Pin
Shorgov29-Oct-09 1:36
Shorgov29-Oct-09 1:36 
AnswerRe: Regarding Functions Pin
dan!sh 29-Oct-09 1:37
professional dan!sh 29-Oct-09 1:37 
GeneralRe: Regarding Functions Pin
Luc Pattyn29-Oct-09 3:43
sitebuilderLuc Pattyn29-Oct-09 3:43 
GeneralRe: Regarding Functions Pin
dan!sh 29-Oct-09 4:00
professional dan!sh 29-Oct-09 4:00 
QuestionString doesnot have a definition for ApplycurrentValues Pin
haleemasher29-Oct-09 0:46
haleemasher29-Oct-09 0:46 
AnswerRe: String doesnot have a definition for ApplycurrentValues Pin
Keith Barrow29-Oct-09 1:51
professionalKeith Barrow29-Oct-09 1:51 
The code you have copy-and-pasted is almost certainly wrong.
I don't know the 1st thing about Crystal Reports (thank higher-being of your choice), but a quick search on the web brought up this (which is similar to your code)


public void SetParameter(string name, object value)
{
    //Access the specified parameter from the parameters collection        
    CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinition parameter = _reportDocument.DataDefinition.ParameterFields[name];
     // Now get the current value for the parameter and clear them    
    CrystalDecisions.Shared.ParameterValues currentValues = parameter.CurrentValues;    currentValues.Clear();
     // Create a value object for Crystal reports and assign the specified value.
    CrystalDecisions.Shared.ParameterDiscreteValue newValue = new CrystalDecisions.Shared.ParameterDiscreteValue();
    newValue.Value = value;
     // Now add the new value to the values collection and apply the
     // collection to the report.
    currentValues.Add(newValue);
    parameter.ApplyCurrentValues(currentValues);
}


So it looks like ApplyCurrentValues is a method on the parameter.

CCC solved so far: 2 (including a Hard One!)

QuestionUrgent : Related to Word Allignment Pin
harry325029-Oct-09 0:41
harry325029-Oct-09 0:41 
AnswerRe: Urgent : Related to Word Allignment Pin
hb5213421429-Oct-09 9:00
hb5213421429-Oct-09 9:00 
GeneralRe: Urgent : Related to Word Allignment Pin
hb5213421429-Oct-09 9:20
hb5213421429-Oct-09 9:20 
GeneralRe: Urgent : Related to Word Allignment Pin
harry32502-Nov-09 1:28
harry32502-Nov-09 1:28 
QuestionFire AfterSelection event Pin
eyalle28-Oct-09 23:41
eyalle28-Oct-09 23:41 
AnswerRe: Fire AfterSelection event Pin
Christian Graus28-Oct-09 23:47
protectorChristian Graus28-Oct-09 23:47 
GeneralRe: Fire AfterSelection event Pin
eyalle28-Oct-09 23:50
eyalle28-Oct-09 23:50 
GeneralRe: Fire AfterSelection event Pin
Christian Graus29-Oct-09 0:22
protectorChristian Graus29-Oct-09 0:22 
GeneralRe: Fire AfterSelection event Pin
eyalle29-Oct-09 1:15
eyalle29-Oct-09 1:15 
GeneralRe: Fire AfterSelection event Pin
Shameel29-Oct-09 4:29
professionalShameel29-Oct-09 4:29 
QuestionOutlook Plug-In - Visual Studio closes on build Pin
Martin Fourie28-Oct-09 23:12
Martin Fourie28-Oct-09 23:12 
AnswerRe: Outlook Plug-In - Visual Studio closes on build Pin
Saksida Bojan29-Oct-09 4:53
Saksida Bojan29-Oct-09 4:53 
GeneralRe: Outlook Plug-In - Visual Studio closes on build Pin
Martin Fourie1-Nov-09 20:31
Martin Fourie1-Nov-09 20:31 
Questionchange TableLayoutPanel RowCount before Custom Control Initialization? Pin
Lyon Sun28-Oct-09 23:11
Lyon Sun28-Oct-09 23:11 
QuestionVideo Open & Play using Media Player in C# done but some problem Pin
asimkhatri28-Oct-09 21:28
asimkhatri28-Oct-09 21:28 
AnswerRe: Video Open & Play using Media Player in C# done but some problem Pin
Christian Graus28-Oct-09 21:33
protectorChristian Graus28-Oct-09 21:33 
GeneralRe: Video Open & Play using Media Player in C# done but some problem Pin
ragnaroknrol29-Oct-09 4:43
ragnaroknrol29-Oct-09 4:43 

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.