computech1
asked on
Open Word Doc's In VB Form.
I need to show an open word doc in VB window ?
Is it possible ?
Is it possible ?
Hi computech1,
and if you still want to pursue it
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q190520
HAGD:O)Bruintje
and if you still want to pursue it
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q190520
HAGD:O)Bruintje
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
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 (https://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp) or contact Community Support (https://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp).
Thanks,
Anthony
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 (https://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp) or contact Community Support (https://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp).
Thanks,
Anthony
ASKER
So ppl , After jayeshshah answer didn't work ...
Any more idea's ?
Any more idea's ?
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
As an alternative, you could I suppose buy a commercial component, that reads Word docouments.
Anthony
ASKER
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.
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.
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
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
per recommendation
SpideyMod
Community Support Moderator @Experts Exchange
SpideyMod
Community Support Moderator @Experts Exchange
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