PC Review


Reply
Thread Tools Rate Thread

How to compare Word Docs?

 
 
ljh
Guest
Posts: n/a
 
      18th Jun 2006
Google ran dry on me while looking for .Net examples of how to compare 2
Word Docs.

Has anyone here seen anything like that?


 
Reply With Quote
 
 
 
 
Lloyd Dupont
Guest
Posts: n/a
 
      18th Jun 2006
what would you like to compare?
the file size? => System.IO
the binary content? => System.IO
the rich text content? => http://msdn2.microsoft.com/en-us/ms186213.aspx

"ljh" <(E-Mail Removed)> wrote in message
news:Eu6lg.16073$(E-Mail Removed)...
> Google ran dry on me while looking for .Net examples of how to compare 2
> Word Docs.
>
> Has anyone here seen anything like that?
>



 
Reply With Quote
 
ljh
Guest
Posts: n/a
 
      18th Jun 2006
This may be moot at this point......

After I read the "Granting and Removing Permissions for an Office Solution"
thing, there's simply no way an end user would EVER do this to grant
permissions for an Office solution.

I hope like hell that I misunderstood something. Do they really expect end
users to ...

1.. Open Microsoft .NET Framework 2.0 Configuration again.

2.. Right-click the VSTOProjects node, and then click New on the shortcut
menu.

3.. Enter the name Security Test Strong Name for the new code group, and
then click Next.

4.. In the Choose the condition type for this code group list, click
Strong Name.

5.. Click Import.

6.. Browse to C:\Walkthroughs\My Security Test\My Security Test\bin\My
Security Test.dll for Visual Basic or C:\Walkthroughs\My Security Test\My
Security Test\bin\debug\My Security Test.dll for C#, and then click Open.

7.. Click Next.

8.. Click Next to accept the FullTrust permission set, and then click
Finish.

9.. Close Microsoft .NET Framework 2.0 Configuration.


My users are damned lucky to understand how a mouse works. They'll never
get this.

If I haven't misunderstood something, this really sucks for developing
Office solutions in .Net. It just won't happen.


"Lloyd Dupont" <net.galador@ld> wrote in message
news:(E-Mail Removed)...
> what would you like to compare?
> the file size? => System.IO
> the binary content? => System.IO
> the rich text content? => http://msdn2.microsoft.com/en-us/ms186213.aspx
>
> "ljh" <(E-Mail Removed)> wrote in message
> news:Eu6lg.16073$(E-Mail Removed)...
>> Google ran dry on me while looking for .Net examples of how to compare 2
>> Word Docs.
>>
>> Has anyone here seen anything like that?
>>

>
>



 
Reply With Quote
 
Lloyd Dupont
Guest
Posts: n/a
 
      18th Jun 2006
> If I haven't misunderstood something, this really sucks for developing
> Office solutions in .Net. It just won't happen.
>

Well I don't know much about it. Neer done it myself.
But for what I have understood from what I have read about it, it's just for
big corporation who have in-house developer developing in-house solution.
Company like insurance, bank, fortune 500, etc....


 
Reply With Quote
 
Ken Cox [Microsoft MVP]
Guest
Posts: n/a
 
      19th Jun 2006
You'd probably want a setup routine to make the changes using caspol.

Anyway, I'm with you that VSTO has problem when it comes to real-world
usage:

http://weblogs.asp.net/kencox/archiv...eployment.aspx

Ken
Microsoft MVP [ASP.NET]

"ljh" <(E-Mail Removed)> wrote in message
news:Yp9lg.16077$(E-Mail Removed)...
> This may be moot at this point......
>
> After I read the "Granting and Removing Permissions for an Office
> Solution" thing, there's simply no way an end user would EVER do this to
> grant permissions for an Office solution.
>
> I hope like hell that I misunderstood something. Do they really expect
> end users to ...
>
> 1.. Open Microsoft .NET Framework 2.0 Configuration again.
>
> 2.. Right-click the VSTOProjects node, and then click New on the shortcut
> menu.
>
> 3.. Enter the name Security Test Strong Name for the new code group, and
> then click Next.
>
> 4.. In the Choose the condition type for this code group list, click
> Strong Name.
>
> 5.. Click Import.
>
> 6.. Browse to C:\Walkthroughs\My Security Test\My Security Test\bin\My
> Security Test.dll for Visual Basic or C:\Walkthroughs\My Security Test\My
> Security Test\bin\debug\My Security Test.dll for C#, and then click Open.
>
> 7.. Click Next.
>
> 8.. Click Next to accept the FullTrust permission set, and then click
> Finish.
>
> 9.. Close Microsoft .NET Framework 2.0 Configuration.
>
>
> My users are damned lucky to understand how a mouse works. They'll never
> get this.
>
> If I haven't misunderstood something, this really sucks for developing
> Office solutions in .Net. It just won't happen.
>
>
> "Lloyd Dupont" <net.galador@ld> wrote in message
> news:(E-Mail Removed)...
>> what would you like to compare?
>> the file size? => System.IO
>> the binary content? => System.IO
>> the rich text content? => http://msdn2.microsoft.com/en-us/ms186213.aspx
>>
>> "ljh" <(E-Mail Removed)> wrote in message
>> news:Eu6lg.16073$(E-Mail Removed)...
>>> Google ran dry on me while looking for .Net examples of how to compare 2
>>> Word Docs.
>>>
>>> Has anyone here seen anything like that?
>>>

>>
>>

>
>



 
Reply With Quote
 
ljh
Guest
Posts: n/a
 
      19th Jun 2006
Thanks for the link!

It really does sucj because I LOVE Office. Open Office doesn't begin to
offer the slick UI and feature set that MS Office does.

I am considering writing a COM Addin with VB6....although I hate the idea of
splitting up my development between VB6 and VB.Net - especially while I am
trying to add C++ to my skillset.


"Ken Cox [Microsoft MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You'd probably want a setup routine to make the changes using caspol.
>
> Anyway, I'm with you that VSTO has problem when it comes to real-world
> usage:
>
> http://weblogs.asp.net/kencox/archiv...eployment.aspx
>
> Ken
> Microsoft MVP [ASP.NET]
>
> "ljh" <(E-Mail Removed)> wrote in message
> news:Yp9lg.16077$(E-Mail Removed)...
>> This may be moot at this point......
>>
>> After I read the "Granting and Removing Permissions for an Office
>> Solution" thing, there's simply no way an end user would EVER do this to
>> grant permissions for an Office solution.
>>
>> I hope like hell that I misunderstood something. Do they really expect
>> end users to ...
>>
>> 1.. Open Microsoft .NET Framework 2.0 Configuration again.
>>
>> 2.. Right-click the VSTOProjects node, and then click New on the
>> shortcut menu.
>>
>> 3.. Enter the name Security Test Strong Name for the new code group, and
>> then click Next.
>>
>> 4.. In the Choose the condition type for this code group list, click
>> Strong Name.
>>
>> 5.. Click Import.
>>
>> 6.. Browse to C:\Walkthroughs\My Security Test\My Security Test\bin\My
>> Security Test.dll for Visual Basic or C:\Walkthroughs\My Security Test\My
>> Security Test\bin\debug\My Security Test.dll for C#, and then click Open.
>>
>> 7.. Click Next.
>>
>> 8.. Click Next to accept the FullTrust permission set, and then click
>> Finish.
>>
>> 9.. Close Microsoft .NET Framework 2.0 Configuration.
>>
>>
>> My users are damned lucky to understand how a mouse works. They'll
>> never get this.
>>
>> If I haven't misunderstood something, this really sucks for developing
>> Office solutions in .Net. It just won't happen.
>>
>>
>> "Lloyd Dupont" <net.galador@ld> wrote in message
>> news:(E-Mail Removed)...
>>> what would you like to compare?
>>> the file size? => System.IO
>>> the binary content? => System.IO
>>> the rich text content? => http://msdn2.microsoft.com/en-us/ms186213.aspx
>>>
>>> "ljh" <(E-Mail Removed)> wrote in message
>>> news:Eu6lg.16073$(E-Mail Removed)...
>>>> Google ran dry on me while looking for .Net examples of how to compare
>>>> 2 Word Docs.
>>>>
>>>> Has anyone here seen anything like that?
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
ljh
Guest
Posts: n/a
 
      19th Jun 2006
Is this mitigated if the user installs the AddIn with an MSI installer?

Would it have full trust then without asking users to tweak .Net
configurations?


"Ken Cox [Microsoft MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You'd probably want a setup routine to make the changes using caspol.
>
> Anyway, I'm with you that VSTO has problem when it comes to real-world
> usage:
>
> http://weblogs.asp.net/kencox/archiv...eployment.aspx
>
> Ken
> Microsoft MVP [ASP.NET]
>
> "ljh" <(E-Mail Removed)> wrote in message
> news:Yp9lg.16077$(E-Mail Removed)...
>> This may be moot at this point......
>>
>> After I read the "Granting and Removing Permissions for an Office
>> Solution" thing, there's simply no way an end user would EVER do this to
>> grant permissions for an Office solution.
>>
>> I hope like hell that I misunderstood something. Do they really expect
>> end users to ...
>>
>> 1.. Open Microsoft .NET Framework 2.0 Configuration again.
>>
>> 2.. Right-click the VSTOProjects node, and then click New on the
>> shortcut menu.
>>
>> 3.. Enter the name Security Test Strong Name for the new code group, and
>> then click Next.
>>
>> 4.. In the Choose the condition type for this code group list, click
>> Strong Name.
>>
>> 5.. Click Import.
>>
>> 6.. Browse to C:\Walkthroughs\My Security Test\My Security Test\bin\My
>> Security Test.dll for Visual Basic or C:\Walkthroughs\My Security Test\My
>> Security Test\bin\debug\My Security Test.dll for C#, and then click Open.
>>
>> 7.. Click Next.
>>
>> 8.. Click Next to accept the FullTrust permission set, and then click
>> Finish.
>>
>> 9.. Close Microsoft .NET Framework 2.0 Configuration.
>>
>>
>> My users are damned lucky to understand how a mouse works. They'll
>> never get this.
>>
>> If I haven't misunderstood something, this really sucks for developing
>> Office solutions in .Net. It just won't happen.
>>
>>
>> "Lloyd Dupont" <net.galador@ld> wrote in message
>> news:(E-Mail Removed)...
>>> what would you like to compare?
>>> the file size? => System.IO
>>> the binary content? => System.IO
>>> the rich text content? => http://msdn2.microsoft.com/en-us/ms186213.aspx
>>>
>>> "ljh" <(E-Mail Removed)> wrote in message
>>> news:Eu6lg.16073$(E-Mail Removed)...
>>>> Google ran dry on me while looking for .Net examples of how to compare
>>>> 2 Word Docs.
>>>>
>>>> Has anyone here seen anything like that?
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
ljh
Guest
Posts: n/a
 
      19th Jun 2006

FYI...
You may also want to see the "Why use the PIAs?" thread in the
microsoft.public.office.developer.com.add_ins ng.



"Ken Cox [Microsoft MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You'd probably want a setup routine to make the changes using caspol.
>
> Anyway, I'm with you that VSTO has problem when it comes to real-world
> usage:
>
> http://weblogs.asp.net/kencox/archiv...eployment.aspx
>
> Ken
> Microsoft MVP [ASP.NET]
>
> "ljh" <(E-Mail Removed)> wrote in message
> news:Yp9lg.16077$(E-Mail Removed)...
>> This may be moot at this point......
>>
>> After I read the "Granting and Removing Permissions for an Office
>> Solution" thing, there's simply no way an end user would EVER do this to
>> grant permissions for an Office solution.
>>
>> I hope like hell that I misunderstood something. Do they really expect
>> end users to ...
>>
>> 1.. Open Microsoft .NET Framework 2.0 Configuration again.
>>
>> 2.. Right-click the VSTOProjects node, and then click New on the
>> shortcut menu.
>>
>> 3.. Enter the name Security Test Strong Name for the new code group, and
>> then click Next.
>>
>> 4.. In the Choose the condition type for this code group list, click
>> Strong Name.
>>
>> 5.. Click Import.
>>
>> 6.. Browse to C:\Walkthroughs\My Security Test\My Security Test\bin\My
>> Security Test.dll for Visual Basic or C:\Walkthroughs\My Security Test\My
>> Security Test\bin\debug\My Security Test.dll for C#, and then click Open.
>>
>> 7.. Click Next.
>>
>> 8.. Click Next to accept the FullTrust permission set, and then click
>> Finish.
>>
>> 9.. Close Microsoft .NET Framework 2.0 Configuration.
>>
>>
>> My users are damned lucky to understand how a mouse works. They'll
>> never get this.
>>
>> If I haven't misunderstood something, this really sucks for developing
>> Office solutions in .Net. It just won't happen.
>>
>>
>> "Lloyd Dupont" <net.galador@ld> wrote in message
>> news:(E-Mail Removed)...
>>> what would you like to compare?
>>> the file size? => System.IO
>>> the binary content? => System.IO
>>> the rich text content? => http://msdn2.microsoft.com/en-us/ms186213.aspx
>>>
>>> "ljh" <(E-Mail Removed)> wrote in message
>>> news:Eu6lg.16073$(E-Mail Removed)...
>>>> Google ran dry on me while looking for .Net examples of how to compare
>>>> 2 Word Docs.
>>>>
>>>> Has anyone here seen anything like that?
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
ljh
Guest
Posts: n/a
 
      19th Jun 2006
Ken,

Awesome link to the ecommerce info!

That always was my pet peeve too. All that info about databases and at the
end of the book.....you're not even close to actual money transfers.

Rick Strahl does a fantastic job of covering this topic with all you need to
know without the hernia of yet another fluffy desk reference.

While I'm on a semi-rant..... There was a book (I still have it) "1001
Visual Basic Programmer's Tips" by JAMSA Press. It is one of the most
succinct books on Visual Basic 6 programming ever written. It doesn't build
an entire confusing, convoluted application to teach you about programming.
It shows you 1001 How-To's in a basic, straightforward manner. Each lesson
is usually less than a page.

Those whole-app-books require you to read it beginning to end to make sure
you didn't miss anything in the app that may mess up what you are trying to
do (public variables, enums and class libraries covered in other chapters).
What a waste of time....especially in a book about a RAD development tool
like VB.

A complete VB beginner that can write an idea for an app in pseudo code can
take the pseudo code and "1001 Visual Basic Programmer's Tips" and be
productive immediately. (Perfect? No. Productive? Yes!)

It is simply beautiful. The closest thing to it dealing with .Net is the
"C/C++/C# Programmer's Bible" also by JAMSA Press. It has the same style
but covers 3 languages lightly instead of any single language in depth. Oh,
it teaches you what you need to know....just not what you want to know.

I contacted the author of "1001 Visual Basic Programmer's Tips" and begged
him to do one on VB.Net. Alas, he has no plans to do so at this time and is
no longer with JAMSA Press.

RAD tools need RAD lessons. Most VB programmer's don't want to be MIS
Professors....and those that do don't mind the long-winded books that are
out currently.

There are a few good books that get close to the 1001 style. Microsoft puts
out a decent version in the "Microsoft Visual Basic.Net Programmer's
Cookbook" and there's the Wrox book "Visual Basic.Net Solutions Toolkit".
Both show simple solutions to "How do I..." questions.

Hey...that gives me an idea......and it isn't writing yet another long
winded programmers book.

Thanks again for the link to your blog.

"Ken Cox [Microsoft MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You'd probably want a setup routine to make the changes using caspol.
>
> Anyway, I'm with you that VSTO has problem when it comes to real-world
> usage:
>
> http://weblogs.asp.net/kencox/archiv...eployment.aspx
>
> Ken
> Microsoft MVP [ASP.NET]
>
> "ljh" <(E-Mail Removed)> wrote in message
> news:Yp9lg.16077$(E-Mail Removed)...
>> This may be moot at this point......
>>
>> After I read the "Granting and Removing Permissions for an Office
>> Solution" thing, there's simply no way an end user would EVER do this to
>> grant permissions for an Office solution.
>>
>> I hope like hell that I misunderstood something. Do they really expect
>> end users to ...
>>
>> 1.. Open Microsoft .NET Framework 2.0 Configuration again.
>>
>> 2.. Right-click the VSTOProjects node, and then click New on the
>> shortcut menu.
>>
>> 3.. Enter the name Security Test Strong Name for the new code group, and
>> then click Next.
>>
>> 4.. In the Choose the condition type for this code group list, click
>> Strong Name.
>>
>> 5.. Click Import.
>>
>> 6.. Browse to C:\Walkthroughs\My Security Test\My Security Test\bin\My
>> Security Test.dll for Visual Basic or C:\Walkthroughs\My Security Test\My
>> Security Test\bin\debug\My Security Test.dll for C#, and then click Open.
>>
>> 7.. Click Next.
>>
>> 8.. Click Next to accept the FullTrust permission set, and then click
>> Finish.
>>
>> 9.. Close Microsoft .NET Framework 2.0 Configuration.
>>
>>
>> My users are damned lucky to understand how a mouse works. They'll
>> never get this.
>>
>> If I haven't misunderstood something, this really sucks for developing
>> Office solutions in .Net. It just won't happen.
>>
>>
>> "Lloyd Dupont" <net.galador@ld> wrote in message
>> news:(E-Mail Removed)...
>>> what would you like to compare?
>>> the file size? => System.IO
>>> the binary content? => System.IO
>>> the rich text content? => http://msdn2.microsoft.com/en-us/ms186213.aspx
>>>
>>> "ljh" <(E-Mail Removed)> wrote in message
>>> news:Eu6lg.16073$(E-Mail Removed)...
>>>> Google ran dry on me while looking for .Net examples of how to compare
>>>> 2 Word Docs.
>>>>
>>>> Has anyone here seen anything like that?
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Mr Flibble
Guest
Posts: n/a
 
      19th Jun 2006
* ljh wrote:
> Thanks for the link!
>
> It really does sucj because I LOVE Office. Open Office doesn't begin to
> offer the slick UI and feature set that MS Office does.


Office is over ten years old. Give OO time.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Word, compare to docs =?Utf-8?B?cmpsYW5vdWV0dGU=?= Microsoft Word Document Management 2 7th Sep 2006 07:09 PM
How to compare Word Docs? ljh Microsoft Dot NET 10 19th Jun 2006 10:22 AM
How to compare Word Docs? ljh Microsoft VB .NET 10 19th Jun 2006 10:22 AM
Track changes in Word 2000 can't compare docs JPH Microsoft Word Document Management 3 17th Mar 2004 10:31 AM
Word 2002: Merge and Compare docs Julie Microsoft Word Document Management 2 13th Nov 2003 12:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:43 PM.