Click here to Skip to main content
15,894,343 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I optimize this code Pin
Nagy Vilmos15-May-09 3:57
professionalNagy Vilmos15-May-09 3:57 
GeneralRe: How can I optimize this code Pin
Luc Pattyn15-May-09 4:02
sitebuilderLuc Pattyn15-May-09 4:02 
GeneralRe: How can I optimize this code Pin
Nagy Vilmos15-May-09 4:09
professionalNagy Vilmos15-May-09 4:09 
GeneralRe: How can I optimize this code Pin
Luc Pattyn15-May-09 4:23
sitebuilderLuc Pattyn15-May-09 4:23 
GeneralRe: How can I optimize this code Pin
Nagy Vilmos15-May-09 4:27
professionalNagy Vilmos15-May-09 4:27 
GeneralRe: How can I optimize this code Pin
MumbleB15-May-09 23:28
MumbleB15-May-09 23:28 
GeneralRe: How can I optimize this code Pin
Luc Pattyn16-May-09 1:08
sitebuilderLuc Pattyn16-May-09 1:08 
GeneralRe: How can I optimize this code Pin
MumbleB16-May-09 5:55
MumbleB16-May-09 5:55 
0. The order of the file is not important at all.
Luc Pattyn wrote:
why is there a string newhid = line.Substring(14, 11); when the replacement string seems to be located at column 12?


This is in FILE1 and is located at pos:14 size:11.
I think that reading the first file into a dictionary could maybe work. I'll give that a go and see how it works. I have tried reading file1 into memory and then reading file 2 line by line and that took ages as well. So resorted to reading both files into memory after suggestions received and this seems to be taking forever as well. What I want to achieve is the same effect as Micrsoft Access Simple Query. I don't need to have the output fle in any kind of sort order so sorting would probably not make much of a difference unless I sort both files?? Could help I recon.

Thanks guys for the advice but I think there should be a much simpler way to get this done but getting it right is a bit of a ^&*^*#^*...........LOL........When I get it all hanging and running fast enough I will post the code or if you guys come up with some more ideas please post!

Thanks again.

Excellence is doing ordinary things extraordinarily well.

GeneralRe: How can I optimize this code Pin
Luc Pattyn16-May-09 6:54
sitebuilderLuc Pattyn16-May-09 6:54 
GeneralRe: How can I optimize this code Pin
MumbleB17-May-09 22:32
MumbleB17-May-09 22:32 
GeneralRe: How can I optimize this code Pin
Luc Pattyn18-May-09 0:37
sitebuilderLuc Pattyn18-May-09 0:37 
GeneralRe: How can I optimize this code Pin
MumbleB18-May-09 7:11
MumbleB18-May-09 7:11 
GeneralRe: How can I optimize this code Pin
Luc Pattyn18-May-09 7:30
sitebuilderLuc Pattyn18-May-09 7:30 
GeneralRe: How can I optimize this code Pin
MumbleB18-May-09 20:17
MumbleB18-May-09 20:17 
AnswerRe: How can I optimize this code Pin
Henry Minute15-May-09 4:18
Henry Minute15-May-09 4:18 
QuestionWeb setup project fails in Windows vista and IIS7 Pin
Muhammad Sohaib Yousaf15-May-09 1:44
Muhammad Sohaib Yousaf15-May-09 1:44 
QuestionAccepting user input Pin
Rajdeep.NET is BACK15-May-09 1:15
Rajdeep.NET is BACK15-May-09 1:15 
AnswerRe: Accepting user input Pin
Pete O'Hanlon15-May-09 1:21
mvePete O'Hanlon15-May-09 1:21 
GeneralRe: Accepting user input Pin
Rajdeep.NET is BACK15-May-09 2:19
Rajdeep.NET is BACK15-May-09 2:19 
GeneralRe: Accepting user input Pin
Tom Deketelaere15-May-09 2:28
professionalTom Deketelaere15-May-09 2:28 
GeneralRe: Accepting user input Pin
Rajdeep.NET is BACK15-May-09 2:37
Rajdeep.NET is BACK15-May-09 2:37 
GeneralRe: Accepting user input Pin
Tom Deketelaere15-May-09 2:47
professionalTom Deketelaere15-May-09 2:47 
GeneralRe: Accepting user input Pin
Rajdeep.NET is BACK15-May-09 2:58
Rajdeep.NET is BACK15-May-09 2:58 
GeneralRe: Accepting user input Pin
tom57200715-May-09 3:18
tom57200715-May-09 3:18 
GeneralRe: Accepting user input Pin
Dave Kreskowiak15-May-09 2:37
mveDave Kreskowiak15-May-09 2:37 

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.