Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2007

Tip: Looking for answers? Try searching our database.

How to automate Word Doc under Web browser Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JCheah - 15 Oct 2007 21:31 GMT
Does anyone know how to automate word doc under web browser control?

I'm creating a program with VB.NET 2005. The program will open a word
document under web browser control. And the program has a few buttons which
the users could click on them and perform some tasks with the word document
under web browser control.

My question here, how to automate the Word doc under web browser control?
For example, I would like to use VB code to move the cursor inside the word
doc, or add some text in the document, or doing anything you can do with VB
macro codes.

Can anybody help? Thanks.
Cor Ligthert[MVP] - 16 Oct 2007 04:25 GMT
Hi,

Seems to me a little bit impossible, you can interop with word and you can
interop with a webbrowser.

What you ask is in my idea the same that you let somebody else drive your
car, however you want to control the steering wheel.

Cor
JCheah - 16 Oct 2007 14:48 GMT
Hi Cor,

Since this approach is not possible, is there any other way to do this like
using other controls instead of web browser control? Is there any other
contol can contain Word doc?

All i need to do is to contain opened Word document under my Form, and then
let users having the freedom to perform some special tasks on the word
document by clicking those buttons on the Form.

Please kindly advise. Thanks.
Cor Ligthert[MVP] - 16 Oct 2007 18:20 GMT
JCheah,

There are plenty of possibilities, however not as you state it, I assume
that you even are violating the licence rights of word doing that. But you
can do word automation in a lot of ways, which is as well dependend of the
version of Visual Studio that you have. Starting from version 2005 there are
complete tools build in the sold versions from that.

Cor
JCheah - 16 Oct 2007 18:46 GMT
Hi Cor,

Can you explain why i'm violating the licence right of doing this since i'm
creating the whole program on my own? I really don't want to get involve in
any legal issue. Please advise. Thanks.
Cor Ligthert[MVP] - 17 Oct 2007 05:26 GMT
JCheah,

I am not sure of if you are vialating the rights of Microsoft. However as
you tell it, it will look like a product you made while it is a Microsoft
product. Microsoft has done a lot to show if it is a legal version. How do
you want to do that in your product. In your case I would first ask it to
the local Microsoft office if it is allowed what you want to do.

Assuming that you are making this not all alone for the use of yourself.

Cor

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.