Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is it possible to Convert from Windows Application to a Mobile Device Application? Pin
Star0919-May-09 11:57
Star0919-May-09 11:57 
GeneralRe: Is it possible to Convert from Windows Application to a Mobile Device Application? Pin
led mike19-May-09 11:59
led mike19-May-09 11:59 
GeneralRe: Is it possible to Convert from Windows Application to a Mobile Device Application? Pin
Eddy Vluggen19-May-09 12:02
professionalEddy Vluggen19-May-09 12:02 
AnswerRe: Is it possible to Convert from Windows Application to a Mobile Device Application? Pin
DaveyM6919-May-09 12:21
professionalDaveyM6919-May-09 12:21 
QuestionRename folder Pin
netJP12L19-May-09 10:03
netJP12L19-May-09 10:03 
AnswerRe: Rename folder Pin
Moreno Airoldi19-May-09 10:21
Moreno Airoldi19-May-09 10:21 
AnswerRe: Rename folder Pin
Dave Kreskowiak19-May-09 10:25
mveDave Kreskowiak19-May-09 10:25 
GeneralRe: Rename folder [modified] Pin
netJP12L19-May-09 10:42
netJP12L19-May-09 10:42 
Thanks for answering guys, but here are few more detailed I found out and never knew.
I drilled down to the lowest level while debuggin my apps and found something very interesting point. At Line 5 execution if i were to go rename the foldername through windows explorer no problem but as soon as i were to come in line 7 and then go back on windows exploere to rename the folder then i get the exception.

Could gurus enlightend me with their suggestions.

1) string filename = "";
2) OpenFileDialog openDialog = null;
3) using (openDialog = new OpenFileDialog())
4) {
5)    openDialog.InitialDirectory = TempFolderpath ; ---> No problem 
6)               
7)    if (openDialog.ShowDialog(this) == DialogResult.OK)-----> Problem.....
8)    {
9)          filename = openDialog.FileName;
10)        openDialog.Dispose();
11)        GC.Collect();
12)   }
13)         
14)
15) if(openDialog != null)
16) {
17)    penDialog = null;
18)  }



Folder Structure
----TempFolder
      |
      |____MYMAINFOLDER
                |
                |__Folder1
                |__Folder2
                |__File1.xml
                |__File2.html


modified on Tuesday, May 19, 2009 4:55 PM

GeneralRe: Rename folder Pin
Moreno Airoldi19-May-09 11:00
Moreno Airoldi19-May-09 11:00 
GeneralRe: Rename folder Pin
netJP12L19-May-09 11:09
netJP12L19-May-09 11:09 
GeneralRe: Rename folder Pin
Eddy Vluggen19-May-09 12:10
professionalEddy Vluggen19-May-09 12:10 
GeneralRe: Rename folder Pin
Moreno Airoldi19-May-09 21:37
Moreno Airoldi19-May-09 21:37 
GeneralRe: Rename folder Pin
Dave Kreskowiak19-May-09 11:05
mveDave Kreskowiak19-May-09 11:05 
GeneralRe: Rename folder Pin
netJP12L19-May-09 11:22
netJP12L19-May-09 11:22 
GeneralRe: Rename folder Pin
Luc Pattyn19-May-09 13:55
sitebuilderLuc Pattyn19-May-09 13:55 
QuestionUmm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
Alaric_19-May-09 9:25
professionalAlaric_19-May-09 9:25 
GeneralRe: Umm...wow...request from one of our IBM guys [modified] Pin
led mike19-May-09 10:02
led mike19-May-09 10:02 
GeneralRe: Umm...wow...request from one of our IBM guys Pin
Alaric_19-May-09 10:20
professionalAlaric_19-May-09 10:20 
GeneralRe: Umm...wow...request from one of our IBM guys Pin
led mike19-May-09 11:54
led mike19-May-09 11:54 
AnswerRe: Umm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
Luc Pattyn19-May-09 14:07
sitebuilderLuc Pattyn19-May-09 14:07 
AnswerRe: Umm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
PIEBALDconsult19-May-09 15:20
mvePIEBALDconsult19-May-09 15:20 
AnswerRe: Umm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
Moreno Airoldi20-May-09 1:05
Moreno Airoldi20-May-09 1:05 
QuestionWeb file download from C# console application gets 401 Pin
Mike Devenney19-May-09 9:22
Mike Devenney19-May-09 9:22 
AnswerRe: Web file download from C# console application gets 401 Pin
led mike19-May-09 10:13
led mike19-May-09 10:13 
AnswerRe: Web file download from C# console application gets 401 Pin
Noctris19-May-09 10:25
Noctris19-May-09 10:25 

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.