Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
AnswerRe: data from excel is in the dataset but not displyed in the gridview Pin
Sun Rays12-Apr-09 22:08
Sun Rays12-Apr-09 22:08 
QuestionListening port for many number of clients Pin
yesu prakash12-Apr-09 19:41
yesu prakash12-Apr-09 19:41 
AnswerRe: Listening port for many number of clients Pin
Colin Angus Mackay12-Apr-09 23:31
Colin Angus Mackay12-Apr-09 23:31 
Questionhi please help me Pin
Denver Thomas12-Apr-09 19:10
Denver Thomas12-Apr-09 19:10 
AnswerRe: hi please help me Pin
King Julien12-Apr-09 20:01
King Julien12-Apr-09 20:01 
AnswerRe: hi please help me Pin
Abhijit Jana12-Apr-09 20:03
professionalAbhijit Jana12-Apr-09 20:03 
GeneralRe: hi please help me Pin
Denver Thomas12-Apr-09 20:19
Denver Thomas12-Apr-09 20:19 
QuestionDownload files from a folder with password [modified] Pin
VisualLive12-Apr-09 18:59
VisualLive12-Apr-09 18:59 
Hi All,
i'm looking to store files from a Folder that get a password to enter,this folder get a password (of course i insert the password ) because its deny access and to be canceled from person without permission so i'm looking how download files from that folder with C# .
Before i tried to download files but Visual Studio got an error: "Access Denied"!
Do you have any advice how download files from a Folder with Password or its impossible???
Thanks a lot

Nice Regards.

Smile | :)

EDIT: I forget to post the code snippet how i download files from the folder

  private List<string> GetFolder(string Folder)
    {

        DirectoryInfo dir = new DirectoryInfo(Folder);
        FileInfo[] files = dir.GetFiles("*.mp3",SearchOption.AllDirectories);

        List<string> str = new List<string>();

        foreach (FileInfo file in files)
        {
            str.Add(file.FullName);


        }
        return  str;

    }

 private void Form1_Load(object sender, EventArgs e)
    {
GetFolder(@"D:\\Music\\")
}


modified on Monday, April 13, 2009 2:55 AM

QuestionRich Text Box Change Programatically Pin
TD Hall12-Apr-09 18:40
TD Hall12-Apr-09 18:40 
AnswerRe: Rich Text Box Change Programatically Pin
King Julien12-Apr-09 20:09
King Julien12-Apr-09 20:09 
QuestionHow to call begin edit on key press Pin
hirenkshah12-Apr-09 18:38
hirenkshah12-Apr-09 18:38 
QuestionHow to call begin edit on key press in TreeListView? Pin
hirenkshah12-Apr-09 18:37
hirenkshah12-Apr-09 18:37 
QuestionResume upload Pin
a.hamidy12-Apr-09 18:26
a.hamidy12-Apr-09 18:26 
QuestionDesign and Display Issue Pin
sajid.salim.khan12-Apr-09 18:22
sajid.salim.khan12-Apr-09 18:22 
AnswerRe: Design and Display Issue Pin
Abhijit Jana12-Apr-09 20:01
professionalAbhijit Jana12-Apr-09 20:01 
QuestionRe: Design and Display Issue Pin
King Julien12-Apr-09 20:11
King Julien12-Apr-09 20:11 
QuestionLimit of thread Pin
yesu prakash12-Apr-09 18:06
yesu prakash12-Apr-09 18:06 
AnswerRe: Limit of thread Pin
Anubhava Dimri12-Apr-09 18:39
Anubhava Dimri12-Apr-09 18:39 
AnswerRe: Limit of thread Pin
Dave Kreskowiak12-Apr-09 18:51
mveDave Kreskowiak12-Apr-09 18:51 
QuestionSimple Transaction Questions [modified] Pin
devvvy12-Apr-09 15:49
devvvy12-Apr-09 15:49 
QuestionHelp with Textbox Pin
BabyCSharp12-Apr-09 15:33
BabyCSharp12-Apr-09 15:33 
AnswerRe: Help with Textbox Pin
Wes Aday12-Apr-09 16:01
professionalWes Aday12-Apr-09 16:01 
GeneralRe: Help with Textbox Pin
BabyCSharp13-Apr-09 14:37
BabyCSharp13-Apr-09 14:37 
AnswerRe: Help with Textbox Pin
nationwoo12-Apr-09 16:55
nationwoo12-Apr-09 16:55 
AnswerRe: Help with Textbox Pin
12Code12-Apr-09 16:59
12Code12-Apr-09 16:59 

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.