Tech Off Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

filename changing

Back to Forum: Tech Off
  • User profile image

    hey guys need a little help, using WinXP pro, Sp2,
    Visual Studio 2003, C# and a custom control (

    i'm having a few problems here:

    if (txt_Add.Text != "")


    foreach (ListViewItem item in fileList1.SelectedItems)


    string pathology = fileList1.SelectedItem.FullName;

    label5.Text = pathology;


    //Directory.Move(item.Text, item.Text.Insert(posAdd,fAdd) );



    Withit returning this when i try and do it:

    n unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll

    Additional information: The given path's format is not supported.

    i'm unsure as to what's going on.  I'd like to get this completed and possibly released to you guys (for free) as soon as possible.  I've chated alot i guess, but i'd lliek to see it finihsed.

  • User profile image
    Sven Groot

    It looks as though the operation you do on the filename generates an invalid path. Could you tell us the path this fails on (both source and dest)?

  • User profile image

    the path should be D:\Test\*.*

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.