Click here to Skip to main content
15,923,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: partial class Pin
Dave Kreskowiak10-Nov-08 3:29
mveDave Kreskowiak10-Nov-08 3:29 
QuestionThe process cannot access the file because it is being used by another process!! Pin
farid_colombia9-Nov-08 11:52
farid_colombia9-Nov-08 11:52 
AnswerRe: The process cannot access the file because it is being used by another process!! Pin
Mark Salsbery9-Nov-08 11:59
Mark Salsbery9-Nov-08 11:59 
GeneralRe: The process cannot access the file because it is being used by another process!! Pin
farid_colombia9-Nov-08 13:33
farid_colombia9-Nov-08 13:33 
GeneralRe: The process cannot access the file because it is being used by another process!! Pin
Mark Salsbery9-Nov-08 14:13
Mark Salsbery9-Nov-08 14:13 
GeneralRe: The process cannot access the file because it is being used by another process!! Pin
farid_colombia9-Nov-08 15:39
farid_colombia9-Nov-08 15:39 
GeneralRe: The process cannot access the file because it is being used by another process!! Pin
Mark Salsbery9-Nov-08 17:25
Mark Salsbery9-Nov-08 17:25 
GeneralRe: The process cannot access the file because it is being used by another process!! Pin
farid_colombia9-Nov-08 17:36
farid_colombia9-Nov-08 17:36 
Well, I did it!

I didn't modify the file that was created by the C++ DLL. What I did was copying the file into another one.

In the C# I put this:

try
                {
                    File.Copy(VariablesGlobales.path1 + "results\\correspondencias3.txt", VariablesGlobales.path1 + "results\\correspondencias4.txt");
                }
                catch
                {
                    MessageBox.Show("No se pudo leer archivo de texto, favor haga click en Aceptar y espere un momento", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }                
                string[] lines = System.IO.File.ReadAllLines(VariablesGlobales.path1 + "results\\correspondencias4.txt");


I did a new one, a new .txt. That new one was the one that I read and copy to the new array!

Thanks a lot for your help again!
GeneralRe: The process cannot access the file because it is being used by another process!! Pin
v.b.kiruthi4-Feb-09 19:53
v.b.kiruthi4-Feb-09 19:53 
AnswerRe: The process cannot access the file because it is being used by another process!! Pin
blackjack215010-Nov-08 0:43
blackjack215010-Nov-08 0:43 
QuestionRenaming or deleting a displayed imgae Pin
electriac9-Nov-08 9:52
electriac9-Nov-08 9:52 
AnswerRe: Renaming or deleting a displayed imgae Pin
Christian Graus9-Nov-08 9:54
protectorChristian Graus9-Nov-08 9:54 
AnswerRe: Renaming or deleting a displayed imgae Pin
Mark Salsbery9-Nov-08 9:54
Mark Salsbery9-Nov-08 9:54 
GeneralRe: Renaming or deleting a displayed imgae Pin
electriac9-Nov-08 10:00
electriac9-Nov-08 10:00 
GeneralRe: Renaming or deleting a displayed imgae Pin
Muammar©9-Nov-08 20:59
Muammar©9-Nov-08 20:59 
GeneralRe: Renaming or deleting a displayed imgae Pin
electriac10-Nov-08 0:21
electriac10-Nov-08 0:21 
GeneralRe: Renaming or deleting a displayed imgae Pin
Muammar©10-Nov-08 3:07
Muammar©10-Nov-08 3:07 
GeneralRe: Renaming or deleting a displayed imgae Pin
electriac10-Nov-08 3:19
electriac10-Nov-08 3:19 
GeneralRe: Renaming or deleting a displayed imgae Pin
Christian Graus9-Nov-08 10:04
protectorChristian Graus9-Nov-08 10:04 
GeneralRe: Renaming or deleting a displayed imgae Pin
electriac9-Nov-08 10:13
electriac9-Nov-08 10:13 
GeneralRe: Renaming or deleting a displayed imgae Pin
Pete O'Hanlon9-Nov-08 10:19
mvePete O'Hanlon9-Nov-08 10:19 
GeneralRe: Renaming or deleting a displayed imgae Pin
Guffa9-Nov-08 10:53
Guffa9-Nov-08 10:53 
GeneralRe: Renaming or deleting a displayed imgae Pin
electriac9-Nov-08 11:23
electriac9-Nov-08 11:23 
GeneralRe: Renaming or deleting a displayed imgae Pin
Pete O'Hanlon9-Nov-08 22:52
mvePete O'Hanlon9-Nov-08 22:52 
GeneralRe: Renaming or deleting a displayed imgae Pin
electriac10-Nov-08 0:24
electriac10-Nov-08 0:24 

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.