Click here to Skip to main content
15,925,369 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralStart Excel on remote PC Pin
TooStupidForTech31-Oct-04 22:42
sussTooStupidForTech31-Oct-04 22:42 
GeneralRe: Start Excel on remote PC Pin
Dave Kreskowiak1-Nov-04 0:50
mveDave Kreskowiak1-Nov-04 0:50 
GeneralColoum headers in listview Pin
Member 125367931-Oct-04 20:26
Member 125367931-Oct-04 20:26 
GeneralRe: Coloum headers in listview Pin
Dave Kreskowiak1-Nov-04 5:57
mveDave Kreskowiak1-Nov-04 5:57 
GeneralRe: Coloum headers in listview Pin
Member 12536792-Nov-04 19:01
Member 12536792-Nov-04 19:01 
GeneralUpdating Rows in Dataset Pin
nitin_ion31-Oct-04 18:26
nitin_ion31-Oct-04 18:26 
QuestionHow do i compare strings from different files? Pin
dex_ter1131-Oct-04 16:02
dex_ter1131-Oct-04 16:02 
AnswerRe: How do i compare strings from different files? Pin
Dave Kreskowiak1-Nov-04 3:12
mveDave Kreskowiak1-Nov-04 3:12 
There are so many things wrong with this code, I don't know where to start! It desperately needs a complete rewrite. Unfortunately, if anyone here rewrote it for you, your instructor would know you didn't write it!

First, your using a for loop to read a file - don't! Use a counter and increment it for each line that you read. Use the EOF() function you used in your first loop. You'll do this twice (You actually doing this twice - once for each file.)

Next, you don't have a single if statement in this code. Where are you doing your compare?

Lastly, overhaul your design. Open one file, read it into an array, then close it. Open the next file, read it into another array, then close it. Then go through your arrays and compare them, one line at a time. If the lines are different, then show a Messagebox.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralVb.Net & Yahoo Pin
Meysam.Khayatan31-Oct-04 8:46
Meysam.Khayatan31-Oct-04 8:46 
GeneralRe: Vb.Net & Yahoo Pin
Dave Kreskowiak1-Nov-04 2:58
mveDave Kreskowiak1-Nov-04 2:58 
GeneralUse shell context menu in my application Pin
Vrby .Net31-Oct-04 4:09
Vrby .Net31-Oct-04 4:09 
GeneralRe: Use shell context menu in my application Pin
Dave Kreskowiak1-Nov-04 2:57
mveDave Kreskowiak1-Nov-04 2:57 
GeneralRe: Use shell context menu in my application Pin
Anonymous1-Nov-04 3:11
Anonymous1-Nov-04 3:11 
GeneralRe: Use shell context menu in my application Pin
Vrby .Net1-Nov-04 3:12
Vrby .Net1-Nov-04 3:12 
GeneralRe: Use shell context menu in my application Pin
Dave Kreskowiak1-Nov-04 3:15
mveDave Kreskowiak1-Nov-04 3:15 
GeneralRe: Use shell context menu in my application Pin
Vrby .Net1-Nov-04 4:36
Vrby .Net1-Nov-04 4:36 
GeneralRe: Use shell context menu in my application Pin
Dave Kreskowiak1-Nov-04 5:49
mveDave Kreskowiak1-Nov-04 5:49 
Generalmirrored tree view VB6.0 Pin
Mohammad Daba'an30-Oct-04 21:13
Mohammad Daba'an30-Oct-04 21:13 
GeneralRe: mirrored tree view VB6.0 Pin
Dave Kreskowiak31-Oct-04 5:52
mveDave Kreskowiak31-Oct-04 5:52 
GeneralRe: mirrored tree view VB6.0 Pin
Mohammad Daba'an31-Oct-04 19:42
Mohammad Daba'an31-Oct-04 19:42 
GeneralRe: mirrored tree view VB6.0 Pin
Dave Kreskowiak1-Nov-04 0:44
mveDave Kreskowiak1-Nov-04 0:44 
GeneralI'm Baffled Pin
Roger Wright30-Oct-04 21:04
professionalRoger Wright30-Oct-04 21:04 
GeneralRe: I'm Baffled Pin
Dave Kreskowiak31-Oct-04 5:49
mveDave Kreskowiak31-Oct-04 5:49 
GeneralRe: I'm Baffled Pin
Roger Wright31-Oct-04 6:23
professionalRoger Wright31-Oct-04 6:23 
GeneralSerialize class module Pin
Red Sunday30-Oct-04 12:13
Red Sunday30-Oct-04 12:13 

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.