|
-
Dec 12th, 2006, 08:05 AM
#1
Compare in Winword
Dear All,
There is Compare option in winword between two docuemnts.Is it able to appy this method between two
rich text boxes(As You all know that ROBDOG888 has a Spell Check by using Winword)
Thanks in Advance
Please mark you thread resolved using the Thread Tools as shown
-
Dec 12th, 2006, 01:02 PM
#2
Re: Compare in Winword
* Cough, cough! *

VB Code:
Private Sub CompareDocument()
oDoc.Compare Name:="C:\MyDocument.doc", CompareTarget:=wdCompareTargetNew
End Sub
This will compare the current document (opened and set to oDoc) with the file document (MyDocument.doc) and write the differences into a new document. The differences will be displayed as revision marks that indicate the differences.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 12th, 2006, 10:56 PM
#3
Re: Compare in Winword
Dear Rob,
Thanks for your reply.Will it compare for spaces and enter Marks Also?
Please mark you thread resolved using the Thread Tools as shown
-
Dec 12th, 2006, 11:32 PM
#4
Re: Compare in Winword
Never really looked that closely but it should see differences in line breaks/enter chars. Spaces may depend on their location.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 12th, 2006, 11:51 PM
#5
Re: Compare in Winword
Dear Rob,
Can You pls help me how to apply this between two rich text box contents.The document to be in the hidden window.
Please mark you thread resolved using the Thread Tools as shown
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|