|
-
Oct 18th, 2006, 11:56 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Word Document in Web Browser Control
Does anyone know how to display a Word Document in a Web Browser Control WITHOUT the scale at the top of the document, or is there a way to
turn the scale off in the document itself ?
Thanks for any help....
-
Oct 19th, 2006, 12:00 AM
#2
Re: Word Document in Web Browser Control
Scale? You mean the rulers?
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 
-
Oct 19th, 2006, 01:57 PM
#3
Thread Starter
Addicted Member
Re: Word Document in Web Browser Control
Yes, the rulers..... I thought it would look a lot neater if the rulers weren't there....
Thanks....
-
Oct 19th, 2006, 02:26 PM
#4
Re: Word Document in Web Browser Control
It would be something like this to toggle them on or off using the Word Object Model or just VBA.
VB Code:
ActiveWindow.ActivePane.DisplayRulers = Not ActiveWindow.ActivePane.DisplayRulers
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 
-
Oct 19th, 2006, 07:54 PM
#5
Thread Starter
Addicted Member
Re: Word Document in Web Browser Control
That works, thanks... but now I get that dreaded message:
xxx.doc contains macros. Macros may contain viruses. It is usually safe
to disable macros, but if the macros are legitimate you may lose some
functionality.
-
Oct 19th, 2006, 08:23 PM
#6
Re: Word Document in Web Browser Control
Is this a public document being viewed over the internet or local on a business or private intranet?
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 
-
Oct 19th, 2006, 08:58 PM
#7
Thread Starter
Addicted Member
Re: Word Document in Web Browser Control
It's going to be viewed on a business intranet by a group of about 20 users.....
-
Oct 19th, 2006, 10:16 PM
#8
Re: Word Document in Web Browser Control
You may be able to create a private digital certificate to sign your vba project behind the document. this should prevent the warning message but you may have to add the document link to IE's trusted sites list.
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 
-
Oct 21st, 2006, 02:32 PM
#9
Thread Starter
Addicted Member
Re: Word Document in Web Browser Control
OK, thanks.... I don't think I want to get into it that deep...... Thanks for your help anyway....
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
|