By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,986 Members | 1,487 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,986 IT Pros & Developers. It's quick & easy.

delay in embbed microsof word doc into ole

P: 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
Share this Question
Share on Google+
1 Reply


100+
P: 1,646
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.