473,883 Members | 1,796 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2801
"pjsimon" <pj*****@discus sions.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.d e/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*****@discus sions.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.d e/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*****@discus sions.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*****@discus sions.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*****@discus sions.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
2040
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 from the File menu. Also, when I open old projects that were already under source control, it doesn't connect properly to SourceSafe. It gives my an "unspecified error". Anybody know how to manual integrate the two?
4
2102
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 nice day.
3
2968
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 close. We are sorry for the inconvenience Had this posted in the "SourceSafe" Newsgroup but no one monitors that group anymore.
1
1706
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 2003 with SourceSafe for our current projects. We recently has a problem where Access would crash when we would "Get Latest Version" of a certain report. After an exhaustive search, we found the culprit. We had used high ASCII in one of the...
0
1224
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 the Server Explorer in Visual Studio. It then asks me the location of the sourcesafe database and enter this. It then brings up a login dialog for SourceSafe. I enter this. This is
1
1464
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 like textboxes (not in update panels), I would get error bc30456 'textbox1' is not a member of 'webform1'. I messed around with it and finally in desparation I copied the webform, and the copy worked fine! (I corrected the partial class name in...
1
1847
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 select Check In and the comment box would appear allowing me to enter comments for my changes. Now when I right click the context menu has a Check In Now (Recursive) selection. When I select this option the file is committed to sourcesafe without...
0
1435
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 open a project and I would have several location options including "visual sourcesafe (internet)" In VS2008 I select to open an project and the default location is "Favorite links" and listed is "Microsoft Visual Sourcesafe" but not the internet...
6
2399
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 before you add it to Sourcesafe. Do you want Microsoft Access to close this database?" I click "Yes", and it displays the Sourcesafe Login screen. I log in, and select a location to add the project. And then nothing happens. Zilch. Nada. ...
0
9792
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11142
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10743
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10416
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7971
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5797
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4220
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3233
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.