Click here to Skip to main content
15,901,853 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem with F11 Pin
Rob Graham20-Aug-05 11:27
Rob Graham20-Aug-05 11:27 
GeneralSecurity in C# .net application Pin
Anonymous20-Aug-05 8:16
Anonymous20-Aug-05 8:16 
GeneralRe: Security in C# .net application Pin
Colin Angus Mackay20-Aug-05 11:21
Colin Angus Mackay20-Aug-05 11:21 
GeneralRe: Security in C# .net application Pin
Ista20-Aug-05 15:21
Ista20-Aug-05 15:21 
GeneralRe: Security in C# .net application Pin
Anonymous20-Aug-05 16:29
Anonymous20-Aug-05 16:29 
GeneralRe: Security in C# .net application Pin
mav.northwind20-Aug-05 20:44
mav.northwind20-Aug-05 20:44 
GeneralRe: Security in C# .net application Pin
Colin Angus Mackay20-Aug-05 23:05
Colin Angus Mackay20-Aug-05 23:05 
GeneralRenaming Files & ListView Pin
mikesinfo20-Aug-05 6:40
mikesinfo20-Aug-05 6:40 
Hopefully someone can help,

I have a listview box where I display my desired files. I single click on the desired file to be renamed and I rename it with a new name. My problem arises when the new name gets displayed through refreshing of my loop and display function. The problem is that when, if I rename the last file entry, everything appears to display fine. If I rename a file above the last entry (bottom entry), two of the new file names appear and the last file entry gets pushed out of the listview or disappears. After renaming, with in my folder where the files reside, the file names are exactly as they should be and the rename files are displaying the new names. The problem is just
within the displaying them.

Following is a sample of my code handler to rename file:
----------
private void lvIndivFileConversion_AfterLabelEdit(object sender,
System.Windows.Forms.LabelEditEventArgs e)
{
try
{
File.Move(Path.Combine(currentFolderPath, this.lvIndivFileConversion.FocusedItem.Text),
Path.Combine(currentFolderPath, e.Label.ToString()));
DisplayInfo(currentFolderPath); //To call folder cycle through & redisplay in LV
}
catch
{
}
}
----------


I am coding in C#. Any and all help or samples are appreciated

MikeY




Generalsave/load an arraylist without serialization Pin
misterangus20-Aug-05 6:22
misterangus20-Aug-05 6:22 
GeneralRe: save/load an arraylist without serialization Pin
Daniel132421-Aug-05 6:16
Daniel132421-Aug-05 6:16 
GeneralRe: save/load an arraylist without serialization Pin
misterangus21-Aug-05 7:02
misterangus21-Aug-05 7:02 
GeneralC# and Excel Pin
Member 217694920-Aug-05 5:27
Member 217694920-Aug-05 5:27 
GeneralRe: C# and Excel Pin
wout de zeeuw20-Aug-05 7:26
wout de zeeuw20-Aug-05 7:26 
GeneralRe: C# and Excel Pin
seee sharp21-Aug-05 18:52
seee sharp21-Aug-05 18:52 
Generaluse the Console in a Windows Application Pin
Diego12320-Aug-05 1:33
Diego12320-Aug-05 1:33 
GeneralRe: use the Console in a Windows Application Pin
User 665820-Aug-05 1:36
User 665820-Aug-05 1:36 
GeneralRe: use the Console in a Windows Application Pin
Diego12320-Aug-05 2:10
Diego12320-Aug-05 2:10 
GeneralRe: use the Console in a Windows Application Pin
Guffa20-Aug-05 2:48
Guffa20-Aug-05 2:48 
GeneralRe: use the Console in a Windows Application Pin
Luis Alonso Ramos20-Aug-05 7:31
Luis Alonso Ramos20-Aug-05 7:31 
GeneralRedirecting in and output from a spawned console app Pin
Diep-Virezer20-Aug-05 1:21
Diep-Virezer20-Aug-05 1:21 
GeneralRe: Redirecting in and output from a spawned console app Pin
tadass20-Aug-05 4:53
tadass20-Aug-05 4:53 
GeneralRe: Redirecting in and output from a spawned console app Pin
Diep-Virezer20-Aug-05 5:00
Diep-Virezer20-Aug-05 5:00 
GeneralRe: Redirecting in and output from a spawned console app Pin
tadass20-Aug-05 5:57
tadass20-Aug-05 5:57 
GeneralRe: Redirecting in and output from a spawned console app Pin
Diep-Virezer20-Aug-05 6:48
Diep-Virezer20-Aug-05 6:48 
Generaluser32.dll Pin
alex_kl20-Aug-05 0:25
alex_kl20-Aug-05 0: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.