473,326 Members | 2,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

delay in embbed microsof word doc into ole

23
Hello,

i have an simple application which embbed microsoft word and microsoft power point in ole. its just
dealing with some simple task like save , open and some database function. i facing a problem
of , when i first running my application , it take long time to load.


my form_load mdule contains the folowing code

OLE1.CreateEmbed vbNullString, "Word.Document"
Set objAppWord = OLE1.object

it takes few second to execute the statements. any method to reduce to time?
Nov 16 '06 #1
1 1293
willakawill
1,646 1GB
Hello,

i have an simple application which embbed microsoft word and microsoft power point in ole. its just
dealing with some simple task like save , open and some database function. i facing a problem
of , when i first running my application , it take long time to load.


my form_load mdule contains the folowing code

OLE1.CreateEmbed vbNullString, "Word.Document"
Set objAppWord = OLE1.object

it takes few second to execute the statements. any method to reduce to time?
Hi. Yes if you include references to MSWord and Powerpoint in your project you can use automation objects directly. This will be much faster. The delay at the start is normally because word or powerpoint is not running so they need to be loaded into memory.
Nov 16 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Donnie Leen | last post by:
I wrote a program embbed boost.python, each thread running a sub-interpreter, i made a module implement by boost.python, and i wish this module imported in each sub-interpreter, i find that the...
14
by: Des L. Davis | last post by:
System: Dell PowerEdge Server with 3 GB RAM, 2.4 GHz Celeron Software: Microsoft SQL Server 2000 Enterprise running on Windows 2003 Server Software: Microsoft SQL Server 2000 Enterprise running on...
6
by: lucifer | last post by:
hi i need to insert delay in my program what function should i use the old delay is not supported by the VC6
10
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
7
by: mfeingold | last post by:
I am working on a system, which among other things includes a server and a ..net control sitting in an html page and connected to the server. I ran into a couple of problems, you guys might have...
2
by: Fernando Lopes | last post by:
Hey there! Someone knows how can I get and show an embbed resource image? I'm developing a web custom control and this control have some images and I want to put all these images like a embbed...
0
by: Austen | last post by:
Hello i have an application embbeded microsoft word and power point into ole. i facing a problem of it take very long time to execute the ole.CreateEmbed statement. its about 5~10 sec. and...
4
by: poreko | last post by:
Hi guys! I would like to embbed PHP into C. Does anybody have any idea how to do it? Thanks
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
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...
1
isladogs
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...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
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...
1
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....
0
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
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.