Click here to Skip to main content
15,886,825 members
Home / Discussions / C#
   

C#

 
QuestionBackGround Service for connection.... Pin
King Julien11-Mar-09 20:22
King Julien11-Mar-09 20:22 
AnswerRe: BackGround Service for connection.... Pin
Expert Coming11-Mar-09 22:27
Expert Coming11-Mar-09 22:27 
QuestionHow to set a button control(which is in the user control) as Accept button to the parent form. Pin
kumardilip11-Mar-09 20:11
kumardilip11-Mar-09 20:11 
AnswerRe: How to set a button control(which is in the user control) as Accept button to the parent form. Pin
King Julien11-Mar-09 20:49
King Julien11-Mar-09 20:49 
GeneralRe: How to set a button control(which is in the user control) as Accept button to the parent form. Pin
kumardilip11-Mar-09 23:11
kumardilip11-Mar-09 23:11 
AnswerRe: How to set a button control(which is in the user control) as Accept button to the parent form. Pin
Alan N12-Mar-09 2:37
Alan N12-Mar-09 2:37 
GeneralRe: How to set a button control(which is in the user control) as Accept button to the parent form. Pin
kumardilip13-Mar-09 0:14
kumardilip13-Mar-09 0:14 
QuestionHow to Check whether file exists Pin
S K Y11-Mar-09 20:08
S K Y11-Mar-09 20:08 
im doing loading some images i what to check where loading item is exists in the list or not i tri this but cannot
any idea...??? other ther i can ready item.text....

when i load same image this condition is working and brake it but i want to check all the items in the list befor load image...

if i put path != item.text its not check all items in list...
if found fist item and path != its althe way load.its not check all items and load....

how can i do that.....

foreach (string path in dlg.FileNames)
        {
            foreach (ListViewItem item in listView1.Items)
            {
                if (path == (item.Text))
                {
                    break;
                }
            }
                FileInfo fileInfo = new FileInfo(path);
                listView1.Items.Add(path);//fileInfo.Name);
                imageList.Images.Add(Bitmap.FromFile(path));

        }


A S E L A

AnswerRe: How to Check whether file exists Pin
dan!sh 11-Mar-09 20:17
professional dan!sh 11-Mar-09 20:17 
GeneralRe: How to Check whether file exists Pin
S K Y11-Mar-09 21:19
S K Y11-Mar-09 21:19 
GeneralRe: How to Check whether file exists Pin
Ashfield11-Mar-09 22:00
Ashfield11-Mar-09 22:00 
GeneralRe: How to Check whether file exists Pin
0x3c011-Mar-09 22:07
0x3c011-Mar-09 22:07 
GeneralRe: How to Check whether file exists Pin
dan!sh 11-Mar-09 22:29
professional dan!sh 11-Mar-09 22:29 
GeneralRe: How to Check whether file exists Pin
Christian Graus11-Mar-09 22:55
protectorChristian Graus11-Mar-09 22:55 
GeneralRe: How to Check whether file exists Pin
Goobashi11-Mar-09 23:27
Goobashi11-Mar-09 23:27 
GeneralRe: How to Check whether file exists Pin
Pete O'Hanlon11-Mar-09 23:57
mvePete O'Hanlon11-Mar-09 23:57 
GeneralRe: How to Check whether file exists Pin
dan!sh 12-Mar-09 0:18
professional dan!sh 12-Mar-09 0:18 
GeneralRe: How to Check whether file exists Pin
S K Y12-Mar-09 15:26
S K Y12-Mar-09 15:26 
GeneralRe: How to Check whether file exists Pin
S K Y12-Mar-09 15:24
S K Y12-Mar-09 15:24 
QuestionDoubt(urgently) Pin
mosmyjoy11-Mar-09 19:54
mosmyjoy11-Mar-09 19:54 
AnswerRe: Doubt(urgently) Pin
Mycroft Holmes11-Mar-09 20:04
professionalMycroft Holmes11-Mar-09 20:04 
GeneralRe: Doubt(urgently) Pin
stancrm11-Mar-09 20:33
stancrm11-Mar-09 20:33 
GeneralRe: Doubt(urgently) Pin
Mycroft Holmes11-Mar-09 20:56
professionalMycroft Holmes11-Mar-09 20:56 
RantRe: Doubt(urgently) Pin
Ashfield11-Mar-09 22:06
Ashfield11-Mar-09 22:06 
AnswerRe: Doubt(urgently) Pin
0x3c011-Mar-09 22:06
0x3c011-Mar-09 22:06 

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.