473,385 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Compare Files like SourceSafe

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!!!!!
Nov 21 '05 #1
8 2784
"pjsimon" <pj*****@discussions.microsoft.com> schrieb:
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>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
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!

"Herfried K. Wagner [MVP]" wrote:
"pjsimon" <pj*****@discussions.microsoft.com> schrieb:
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>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
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!
Nov 21 '05 #4
"pjsimon" <pj*****@discussions.microsoft.com> schrieb:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5
"pjsimon" <pj*****@discussions.microsoft.com> schrieb:
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?

"Herfried K. Wagner [MVP]" wrote:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


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!
Nov 21 '05 #6
"pjsimon" <pj*****@discussions.microsoft.com> schrieb:
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?


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++.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #7
> 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++.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


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!
Nov 21 '05 #8
Hello,
I'm author of Compare It! file comaprison program
(http://www.grigsoft.com/) and I'm working now on ActiveX which exposes
functionality you need. It is still raw, but you can check basic
functionality at http://www.grigsoft.com/wincmp3x.zip.
Hope it helps.

Igor Green
http://www.grigsoft.com/
Compare It! + Synchronize It! - files and folders comparison never was
easier!

Nov 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rod | last post by:
I'm having trouble with VS.NET2003 and Visual SourceSafe. I upgraded from VS.NET2002 with Visual SourceSafe already installed, and then upgraded to 2003. My Source Control option has disappeared...
4
by: roni | last post by:
hi. is there a tool that compare 2 vs.net projects and show the differences in code ? (in text..) such tool will help me alot to see changes i made between backups for example. have a...
3
by: Lou | last post by:
SSADMIN.exe crashes when I try to run it? What can i do about this. Could it be an .ini setting??? The error message is: Microsoft SourceSafe User Shell has encountered a problem and needs to...
1
by: uphid | last post by:
So, we recently spent the last few hours chasing a rather obscure bug... We thought we would share with the group in the hopes that someone else finds this information useful. We use Access...
0
by: Nick Zdunic | last post by:
Hi, I'm trying to get this going and I believe I have followed all the steps outlined in the documentation. I have selected to Add To Source Control the stored procedures in my database from...
1
by: BillE | last post by:
VS2005, vb.net, ajax 1.0 I have a webform that used to work great. It has lots of controls. I added some Ajax update panels to it and they worked great. But when I tried to add new controls...
1
nateraaaa
by: nateraaaa | last post by:
In some way or another my Visual Studio context menu has changed and will not allow me to enter comments for my changes before checking the file into sourcesafe. I used to be able to right click and...
0
by: CheshireCat | last post by:
Hi, I've just installed 2008 on my home pc and am trying to open a project, stored in sourcesafe, across the internet. Ive enabled the sourcesafe internet plug in. In VS2005, I would select to...
6
by: teddysnips | last post by:
I'm having trouble adding Access 2003 databases to Sourcesafe. I go to Tools, Sourcesafe, Add Database to Sourcesafe... at which point a message box appears saying "This database must be closed...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.