?
Solved

Open Word Doc's In VB Form.

Posted on 2002-07-07
10
Medium Priority
?
231 Views
Last Modified: 2010-05-02
I need to show an open word doc in VB window ?
Is it possible ?
0
Comment
Question by:computech1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +3
10 Comments
 
LVL 44

Expert Comment

by:bruintje
ID: 7135496
Hi computech1,

yeah it is possible with the OleContainer, but it's a kludge so nobody's using it and documentation is also sporadic

HAGD:O)Bruintje
0
 
LVL 44

Expert Comment

by:bruintje
ID: 7135503
Hi computech1,

and if you still want to pursue it
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q190520

HAGD:O)Bruintje
0
 
LVL 44

Accepted Solution

by:
bruintje earned 80 total points
ID: 7135506
Hi computech1,

better use automation, not full control but at least all the methods and properties you're used to

HAGD:O)Bruintje
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:jayeshshah
ID: 7135631
yes definately it is possible to open a word file in a Vb window
Insert a Richedit textbox on your form and in the form load event  write the below mentioned code

RichTextBox1.LoadFile "path of the doc file"
or
RichTextBox1.filename "path of the doc file"


This shall definately work.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7135815
jayeshshah,

You have been here long enough to know not to lock questions with answers that are not even close to helping (Did you actually try your suggestion, before posting it?).  If you have any questions, about this please re-read the EE Guidelines (http://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp) or contact Community Support (http://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp).

Thanks,
Anthony
0
 

Author Comment

by:computech1
ID: 7151994
So ppl , After jayeshshah answer didn't work ...

Any more idea's ?
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7152289
bruintje has broken the bad news to you, so there is not a lot that can be added.

As an alternative, you could I suppose buy a commercial component, that reads Word docouments.

Anthony
0
 

Author Comment

by:computech1
ID: 7156552
bruintje answer was good.

the OLE object DID show the Word Doc.

but I need only to SHOW it , the OLE conteiner allowed me to EDIT it, I need something like SCREENSHOT of the doc.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7990827
Hi computech1,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept bruintje's comment(s) as an answer.

computech1, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8053129
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question