473,786 Members | 2,583 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1575
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.p lease> wrote in message
news:Eu******** **********@bign ews3.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******** ******@TK2MSFTN GP05.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.p lease> wrote in message
news:Eu******** **********@bign ews3.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.p lease> wrote in message
news:Yp******** **********@bign ews3.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******** ******@TK2MSFTN GP05.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.p lease> wrote in message
news:Eu******** **********@bign ews3.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**********@n ewsgroups.nospa m> wrote in message
news:uo******** ******@TK2MSFTN GP05.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.p lease> wrote in message
news:Yp******** **********@bign ews3.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******** ******@TK2MSFTN GP05.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.p lease> wrote in message
news:Eu******** **********@bign ews3.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**********@n ewsgroups.nospa m> wrote in message
news:uo******** ******@TK2MSFTN GP05.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.p lease> wrote in message
news:Yp******** **********@bign ews3.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******** ******@TK2MSFTN GP05.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.p lease> wrote in message
news:Eu******** **********@bign ews3.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.publi c.office.develo per.com.add_ins ng.

"Ken Cox [Microsoft MVP]" <BA**********@n ewsgroups.nospa m> wrote in message
news:uo******** ******@TK2MSFTN GP05.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.p lease> wrote in message
news:Yp******** **********@bign ews3.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******** ******@TK2MSFTN GP05.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.p lease> wrote in message
news:Eu******** **********@bign ews3.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....especia lly 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....a nd 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**********@n ewsgroups.nospa m> wrote in message
news:uo******** ******@TK2MSFTN GP05.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.p lease> wrote in message
news:Yp******** **********@bign ews3.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******** ******@TK2MSFTN GP05.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.p lease> wrote in message
news:Eu******** **********@bign ews3.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

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

Similar topics

2
359
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
6140
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 is one row containing picture(s) as well. So far, what I did is doing it manually for each word docs I have. Select Table Convert Table to Text(I use ^ character for delimiter)
10
1439
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
515
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 should be highlight by color change.becaz it's a testing purpose tool plz somebody help me.and send the code at my id hemendraagrawal@gmail.com it will be very appriciated Thank's & Regards
2
2451
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 code is working but not according to my requirement. my requirement is if user select data from richtextbox1 and click the button then it should be match with richtextbox2 and if there is no matching then highlight that word or line by color...
1
2938
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) Basically, the code either opens a document (if it exists) or creates it from a template if it doesn't. Docs can be Word or Excel docs. The weird part is that the code was working earlier tonight. But now it's not, not properly, anyway. Now, what...
2
1542
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
5703
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, PS
0
9655
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10169
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
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
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
5398
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...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4067
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
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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.