Compare Files like SourceSafe

G

Guest

I want to compare two files like MS Visual SourceSafe's Show Differences
feature. Is there a way to access methods in VB.Net that will let me use
existing MS code to show the differences between two files using the same
interface that MS VSS uses?

Are there other methods that can be exposed in VB.Net for easily showing
differences between files?

THANKS!!!!!
 
H

Herfried K. Wagner [MVP]

pjsimon said:
I want to compare two files like MS Visual SourceSafe's Show Differences
feature. Is there a way to access methods in VB.Net that will let me use
existing MS code to show the differences between two files using the same
interface that MS VSS uses?

I don't know if there is a way to use this interface, but you may find the
following library useful:

<URL:http://www.palmbytes.de/content/dotnet/ndiff.htm>
 
G

Guest

Thanks for the reply, but I'm looking to expose some methods in VB.Net's
libraries that will show the difference between files as is done in MS Visual
SourceSafe.

Thanks again, though!
 
G

Guest

I have stumbled upon WinDiff.exe which is exactly what I want, except not in
a stand-alone application. Is there away to access WinDiff's Methods for
implementation in my VB.Net project?

Thanks, everyone!
 
H

Herfried K. Wagner [MVP]

pjsimon said:
I have stumbled upon WinDiff.exe which is exactly what I want, except not
in
a stand-alone application. Is there away to access WinDiff's Methods for
implementation in my VB.Net project?


IIRC WinDiff was once a sample project included in the Windows SDK. You
could write a MC++ wrapper around it and then use it in VB.NET.
 
G

Guest

Herfried K. Wagner said:
IIRC WinDiff was once a sample project included in the Windows SDK. You
could write a MC++ wrapper around it and then use it in VB.NET.

Thanks for the reply, Herfried.
1) What is IIRC?
2) How do I get this sample project?
3) What is a MC++ wrapper?
4) How do you write a MC++ wrapper?

Thanks!
 
H

Herfried K. Wagner [MVP]

pjsimon said:
Thanks for the reply, Herfried.
1) What is IIRC?

IIRC stands for "If I recall correctly".
2) How do I get this sample project?

I don't know if it is still part of the platform SDK. I have only heard it
was.
3) What is a MC++ wrapper?

MC++ stands for "Managed Extensions for C++". It consists of extensions for
the C++ programming language which make mixing managed and unmanaged code
possible.
4) How do you write a MC++ wrapper?

Using VS.NET 2002/2003. However, I think it doesn't make much sense to get
into detail because it will take a huge amount of time to get it work and
you need to be very familiar with C++ and MC++.
 
G

Guest

Using VS.NET 2002/2003. However, I think it doesn't make much sense to get
into detail because it will take a huge amount of time to get it work and
you need to be very familiar with C++ and MC++.

Ah, I don't think that will work for me, but thanks for your help.

For anyone else who could help: I'm looking for a way to expose methods in
VB.Net (if they exist) to implement an interface that shows the differences
between to strings or files in a manner similar to SourceSafe's "Show Diff"
feature.

Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top