CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums


Type: Posts; User: kenne76

Search: Search took 0.01 seconds.

  1. Cancel function does not work with backgroundWorker?

    Cancel function does not work this code below. Can someone tell me what is wrong with this code?

    private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
  2. Replies

    How to skip system volume information?

    Can someone help me how to skip system volume information with this code?

    string[] originalFiles = Directory.GetFiles(sourcePath, "*", SearchOption.AllDirectories);

  3. How to also copy subfolder's new and modifed files?

    This code only copies new and modified files under E:\Document but leaves all the subfolders and their new and modified files uncopied.
    How do I also get the subfolder's new and modified files also...
  4. Replies

    Problem with autosave function?

    I get the following error with this code below this text.
    Message=Cross-thread operation not valid: Control 'richTextBox1' accessed from a thread other than the thread it was created on.
  5. Problem with try catch to show error message.

    I don't get any error message if type a faulty computer name
    Can someone help me, how I can get it done?

    buttonStatus.Enabled = false;
  6. Replies

    Problem to define correctly with writeln?

    I have a problem with this code below this text,
    more particularly with this row
    prog.StandardInput.WriteLine(@"systeminfo | findstr / B / C:"Host Name" / C:"OS Version"");
    How to write the line...
  7. Replies

    Listview component with two columns.

    Can someone help me how I can get C:\test\ folder's subfolders and theirs last written date in two differents column with listview component?
    Or give me some code tips?
  8. Sort a listbox with reverse alphabetical order?

    How do I sort a listbox as reverse alphabetical order with this code?

    listBoxComputer.DataSource = Directory.GetDirectories(rootDir).Select(Path.GetFileName).ToList(); ...
  9. How to copy also subfolders and their files from an certain folder?

    Can someone help how I can also copy user's desktop folder's subfolders and their files with the code below this text?
    For moment I can only copy files from " + computer + "\c$\Users\Desktop folder...
Results 1 to 9 of 9

Click Here to Expand Forum to Full Width