467,161 Members | 900 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

delay in embbed microsof word doc into ole

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
  • viewed: 1193
Share:
1 Reply
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

Post your reply

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

Similar topics

14 posts views Thread by Des L. Davis | last post: by
6 posts views Thread by lucifer | last post: by
2 posts views Thread by Fernando Lopes | last post: by
4 posts views Thread by poreko | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.