473,386 Members | 1,823 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,386 software developers and data experts.

How to compare Word Docs?

ljh
Google ran dry on me while looking for .Net examples of how to compare 2
Word Docs.

Has anyone here seen anything like that?
Jun 18 '06 #1
10 989
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" <Re***@groups.please> wrote in message
news:Eu******************@bignews3.bellsouth.net.. .
Google ran dry on me while looking for .Net examples of how to compare 2
Word Docs.

Has anyone here seen anything like that?

Jun 18 '06 #2
ljh
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:u0**************@TK2MSFTNGP05.phx.gbl...
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" <Re***@groups.please> wrote in message
news:Eu******************@bignews3.bellsouth.net.. .
Google ran dry on me while looking for .Net examples of how to compare 2
Word Docs.

Has anyone here seen anything like that?


Jun 18 '06 #3
> 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....
Jun 18 '06 #4
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" <Re***@groups.please> wrote in message
news:Yp******************@bignews3.bellsouth.net.. .
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:u0**************@TK2MSFTNGP05.phx.gbl...
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" <Re***@groups.please> wrote in message
news:Eu******************@bignews3.bellsouth.net.. .
Google ran dry on me while looking for .Net examples of how to compare 2
Word Docs.

Has anyone here seen anything like that?



Jun 19 '06 #5
ljh
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]" <BA**********@newsgroups.nospam> wrote in message
news:uo**************@TK2MSFTNGP05.phx.gbl...
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" <Re***@groups.please> wrote in message
news:Yp******************@bignews3.bellsouth.net.. .
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:u0**************@TK2MSFTNGP05.phx.gbl...
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" <Re***@groups.please> wrote in message
news:Eu******************@bignews3.bellsouth.net.. .
Google ran dry on me while looking for .Net examples of how to compare
2 Word Docs.

Has anyone here seen anything like that?



Jun 19 '06 #6
ljh
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]" <BA**********@newsgroups.nospam> wrote in message
news:uo**************@TK2MSFTNGP05.phx.gbl...
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" <Re***@groups.please> wrote in message
news:Yp******************@bignews3.bellsouth.net.. .
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:u0**************@TK2MSFTNGP05.phx.gbl...
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" <Re***@groups.please> wrote in message
news:Eu******************@bignews3.bellsouth.net.. .
Google ran dry on me while looking for .Net examples of how to compare
2 Word Docs.

Has anyone here seen anything like that?



Jun 19 '06 #7
ljh

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]" <BA**********@newsgroups.nospam> wrote in message
news:uo**************@TK2MSFTNGP05.phx.gbl...
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" <Re***@groups.please> wrote in message
news:Yp******************@bignews3.bellsouth.net.. .
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:u0**************@TK2MSFTNGP05.phx.gbl...
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" <Re***@groups.please> wrote in message
news:Eu******************@bignews3.bellsouth.net.. .
Google ran dry on me while looking for .Net examples of how to compare
2 Word Docs.

Has anyone here seen anything like that?



Jun 19 '06 #8
ljh
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]" <BA**********@newsgroups.nospam> wrote in message
news:uo**************@TK2MSFTNGP05.phx.gbl...
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" <Re***@groups.please> wrote in message
news:Yp******************@bignews3.bellsouth.net.. .
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:u0**************@TK2MSFTNGP05.phx.gbl...
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" <Re***@groups.please> wrote in message
news:Eu******************@bignews3.bellsouth.net.. .
Google ran dry on me while looking for .Net examples of how to compare
2 Word Docs.

Has anyone here seen anything like that?



Jun 19 '06 #9
* 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.
Jun 19 '06 #10
ljh
The problem with OO (as with Linux in general) is that it is constantly
trying to copy MS Office.

As long as they do they will always be a step behind. It is inevitable. If
you are always trying to be compatible with or emulate functions of MSO,
you are playing catch up.

OO and Linux need to stand on thier own webbed feet and nove forward with
thier own great ideas (like open document standards). Only then will OO and
Linux be real competitors for the desktop.
"Mr Flibble" <mr********@flibbyly.wobbly.n.et> wrote in message
news:e7***********@custnews.inweb.co.uk...
* 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.

Jun 19 '06 #11

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

Similar topics

2
by: sudha | last post by:
Hi I need to write a c# program which has to merge selected word documents into one word document. Kindly advise the efficient way to achieve this. Thanks in advance sudha
41
by: Ruby Tuesday | last post by:
Hi, I was wondering if expert can give me some lite to convert my word table into access database. Note: within each cell of my word table(s), some has multi-line data in it. In addition, there...
10
by: ljh | last post by:
Google ran dry on me while looking for .Net examples of how to compare 2 Word Docs. Has anyone here seen anything like that?
5
by: Twinkle | last post by:
HI guys i have two strings .in first string a word file is there and the second string a html file is there.now i want to compare to both string if some word missing in second string then it...
2
by: Twinkle | last post by:
HI guy I am using This Code For Compare Two Files at Button Click Event. if user select Data from richtextbox1 and click the Compare Button then it will match with second richtextbox2 data. this...
1
by: webgirl | last post by:
Hi everyone, I have a weird problem with some Word/Excel automation code that I run from Access (not sure if I should therefore post this in the Access forum..? Thought I'd try here first) ...
2
by: tweety123 | last post by:
I want to write a generic function to compare two word documents and make changes in one so as to make it same as the another one. Also, I want to do the same with two text files.
2
by: =?Utf-8?B?UFM=?= | last post by:
Hi, Is there a way to compare PDF, Word Document, Excel using C# like WinDiff utility that compares text file and display the result with the modified text in both the document? -- Thanks,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...

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.