Click here to Skip to main content
15,890,973 members
Home / Discussions / C#
   

C#

 
AnswerRe: Error:- Could not access 'CDO.Message' object. Pin
Not Active21-Jun-06 4:24
mentorNot Active21-Jun-06 4:24 
GeneralRe: Error:- Could not access 'CDO.Message' object. Pin
nachisaravanan21-Jun-06 4:34
nachisaravanan21-Jun-06 4:34 
GeneralRe: Error:- Could not access 'CDO.Message' object. Pin
Not Active21-Jun-06 4:38
mentorNot Active21-Jun-06 4:38 
GeneralRe: Error:- Could not access 'CDO.Message' object. Pin
nachisaravanan21-Jun-06 4:50
nachisaravanan21-Jun-06 4:50 
GeneralRe: Error:- Could not access 'CDO.Message' object. Pin
Not Active21-Jun-06 4:57
mentorNot Active21-Jun-06 4:57 
QuestionC# web services parameter encoding problem Pin
chandru__21-Jun-06 2:57
chandru__21-Jun-06 2:57 
QuestionControlled looping thru ArrayList? Pin
kbalias21-Jun-06 2:43
kbalias21-Jun-06 2:43 
AnswerRe: Controlled looping thru ArrayList? [modified] Pin
gnjunge21-Jun-06 2:54
gnjunge21-Jun-06 2:54 
try maybe the following:


1) Add a Windows Form to your project where you add all the different options. The fast and dirty way says that you make all your textboxes, radiobuttons etc not private but internal or public. Lets call the formfor our purpose frmEditor
2) Now in the area where you want to loop over your array to the following:

for (int i = 0; i < myArrayList.Count; i++) {
     mycustomobject co = (mycustomobject ) myArrayList[i] ;
     //Create new frmEditor
     frmEditor f = new frmEditor();
     //Fill our form with the values from our object from the arraylist
     f.txtValue.Text = co.SomeValue;
     f.chkCheckBox.Checked = co.SomeBoolean;
 
     //Show the frmEditor in a modal window
     f.ShowModal();

     //Put the changes back into our customobject
     co.SomeValue = f.txtValue.Text;
     co.SomeBoolean = f.chkCheckBox.Checked;


} //and continue to next item in arraylist.


I wrote this code without having VS in front of me, so just check the syntax.

-- modified at 8:54 Wednesday 21st June, 2006
GeneralRe: Controlled looping thru ArrayList? Pin
Not Active21-Jun-06 3:00
mentorNot Active21-Jun-06 3:00 
GeneralRe: Controlled looping thru ArrayList? Pin
gnjunge21-Jun-06 3:08
gnjunge21-Jun-06 3:08 
AnswerRe: Controlled looping thru ArrayList? Pin
Not Active21-Jun-06 2:57
mentorNot Active21-Jun-06 2:57 
AnswerRe: Controlled looping thru ArrayList? [modified] Pin
Josh Smith21-Jun-06 3:46
Josh Smith21-Jun-06 3:46 
Questioncould everyone show me the way to change CType in VB.NET to C#? Pin
largs21-Jun-06 2:31
largs21-Jun-06 2:31 
AnswerRe: could everyone show me the way to change CType in VB.NET to C#? Pin
J4amieC21-Jun-06 2:35
J4amieC21-Jun-06 2:35 
GeneralRe: could everyone show me the way to change CType in VB.NET to C#? Pin
largs21-Jun-06 4:27
largs21-Jun-06 4:27 
AnswerRe: could everyone show me the way to change CType in VB.NET to C#? Pin
gnjunge21-Jun-06 2:38
gnjunge21-Jun-06 2:38 
AnswerRe: could everyone show me the way to change CType in VB.NET to C#? Pin
nsimeonov21-Jun-06 3:10
nsimeonov21-Jun-06 3:10 
GeneralRe: could everyone show me the way to change CType in VB.NET to C#? Pin
largs21-Jun-06 4:43
largs21-Jun-06 4:43 
GeneralRe: could everyone show me the way to change CType in VB.NET to C#? Pin
nsimeonov21-Jun-06 6:19
nsimeonov21-Jun-06 6:19 
AnswerRe: could everyone show me the way to change CType in VB.NET to C#? Pin
Dave Doknjas21-Jun-06 14:14
Dave Doknjas21-Jun-06 14:14 
AnswerRe: could everyone show me the way to change CType in VB.NET to C#? Pin
Craig G Fraser22-Jun-06 3:05
Craig G Fraser22-Jun-06 3:05 
QuestionANN: Native C# Protection 1.0.0 released Pin
Oleg Subachev21-Jun-06 2:22
professionalOleg Subachev21-Jun-06 2:22 
AnswerRe: ANN: Native C# Protection 1.0.0 released Pin
Josh Smith21-Jun-06 3:40
Josh Smith21-Jun-06 3:40 
AnswerRe: ANN: Native C# Protection 1.0.0 released Pin
Colin Angus Mackay21-Jun-06 4:31
Colin Angus Mackay21-Jun-06 4:31 
GeneralRe: ANN: Native C# Protection 1.0.0 released Pin
BoneSoft21-Jun-06 4:37
BoneSoft21-Jun-06 4:37 

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.