Compare Files like SourceSafe

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pjsimon

    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!!!!!
  • Herfried K. Wagner [MVP]

    #2
    Re: Compare Files like SourceSafe

    "pjsimon" <pjsimon@discus sions.microsoft .com> schrieb:[color=blue]
    >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?[/color]

    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/>

    Comment

    • pjsimon

      #3
      Re: Compare Files like SourceSafe

      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:
      [color=blue]
      > "pjsimon" <pjsimon@discus sions.microsoft .com> schrieb:[color=green]
      > >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?[/color]
      >
      > 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/>
      >
      >[/color]

      Comment

      • pjsimon

        #4
        RE: Compare Files like SourceSafe

        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!

        Comment

        • Herfried K. Wagner [MVP]

          #5
          Re: Compare Files like SourceSafe

          "pjsimon" <pjsimon@discus sions.microsoft .com> schrieb:[color=blue]
          >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?[/color]


          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/>

          Comment

          • pjsimon

            #6
            Re: Compare Files like SourceSafe

            [color=blue]
            > "pjsimon" <pjsimon@discus sions.microsoft .com> schrieb:[color=green]
            > >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?[/color][/color]

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

            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!

            Comment

            • Herfried K. Wagner [MVP]

              #7
              Re: Compare Files like SourceSafe

              "pjsimon" <pjsimon@discus sions.microsoft .com> schrieb:[color=blue][color=green]
              >> 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.[/color]
              >
              > Thanks for the reply, Herfried.
              > 1) What is IIRC?[/color]

              IIRC stands for "If I recall correctly".
              [color=blue]
              > 2) How do I get this sample project?[/color]

              I don't know if it is still part of the platform SDK. I have only heard it
              was.
              [color=blue]
              > 3) What is a MC++ wrapper?[/color]

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

              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/>

              Comment

              • pjsimon

                #8
                Re: Compare Files like SourceSafe

                > Using VS.NET 2002/2003. However, I think it doesn't make much sense to get[color=blue]
                > 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/>[/color]

                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!

                Comment

                • grigsoft@gmail.com

                  #9
                  Re: Compare Files like SourceSafe

                  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
                  Powerful file compare and folders synchronization utilities: Synchronize It!, Compare It!

                  Compare It! + Synchronize It! - files and folders comparison never was
                  easier!

                  Comment

                  Working...