Hi Friends,
I am trying to open MS Word Inside VB Application with all controls. I can open only notepad. But Unable to open Word in side VB Form.
If any one know please suggest me.
Thanks
vishwa Ram.
8 2675
Hi,
Use "OLE" control on the form, or
"Shell" the application
Regards
Veena
Dear Veena,
Thanks for your nice Idea,
1. When I use Shell, Word opens as sepate window.
2. When I use OLE, it is avail inside application. All word functions available.
But I want all menu and Icon on the heading. How we can get these thing please suggest. also File Menu.
Thanks,
vishwa Ram.
Dear Veena,
Thanks for your excellant help.
I am following what you said. I want to open New/Existing/Save/SaveAs document from/to a particular location. Can't do these thing in this Embeded application in OLE. Please suggest how to do these things.
Thanks
vishwa Ram
Hi,
You can use "OLE's :
SaveToFile
ReadFromFile
or else use "Common Dialog Control" To Open/Save files.
REgards
Veena
Dear Veena,
when we use the below OLE method, we need to pass a integer argument. How to pass a argument, when i pass a integer, it throws an error.
SaveToFile(FileNum as Integer)
ReadFromFile(FileNum as Integer)
Regards,
vishwa Ram.
Hi Vishwa,
you can also save like this : -
-
OLE1.object.SaveAs ("C:\MyNewFile.doc")
-
-
Regards
Veena
Dear Veena,
Thanks a lot for your helping.
Thanks,
vishwa Ram.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Anne Richmond |
last post by:
I got the following code from a website somewhere. When I try to run it I
get the error - Activex component can't create object "Word.Application".
It is running on localhost and test2.doc does...
|
by: TLMM |
last post by:
I have a Word doc already created that I want to open from an asp page. I
want it to open in Word and allow the user to modify if necessary. I
currently have it opening (using href), but it is...
|
by: Bill Agee |
last post by:
I need to open Word from my Access application. I would like to do without
minizing Access to open word from the desktop if
possible.
|
by: sudha |
last post by:
Hi,
To open a word doc from c#, i use the following code :
Word.ApplicationClass WordApp = new Word.ApplicationClass
();
// give any file name of your
choice.
object fileName =...
|
by: Oscar Hdez G. |
last post by:
We are developing an application that controls documents. We need inside the application an editor of advanced texts that allows to elaborate different types of simple and complex documents according...
|
by: walkabout |
last post by:
A shared document is left open frequently so need a script that detects 5 minutes inactivity and saves changes and closes document.
thanks.
could mod the following but needs to save changes and...
|
by: Peter |
last post by:
ASP.NET 2.0
I am trying to open a Word document and Excel document from a dialog web
page, what's the best way to do that?
I have tried the following:
Response.Clear();...
|
by: Peter |
last post by:
I have the following code which is executed from a modal web page - it works
fine on most, but on some computers the Word loads into memory but never
displays. This occurs with IE6 and IE7, but...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |