Solved

Open Word Doc's In VB Form.

Posted on 2002-07-07
10
230 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 20 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

695 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