Two Visio instance running when Embedding

A

andrewLLL

I just did a simple testing using the following code:

Private Sub Command1_Click()
Dim obj As Object
OLE1.CreateEmbed "C:\sample.vsd" 'line2
OLE1.DoVerb -2 'line3
End Sub

I have a form with a button Command1 and a OLE coontrol
OLE1. The problem is Line2 and line3 each triggers a Visio
instance which I can see from the task manager and then
one of them closes later. Moreover, line 2 takes 2 seconds
while line 3 takes 9 seconds! This is way too slow
considering I can open Visio fairly fast. Anybody can tell
me what is going on? Thanks
My computer is not very fast (500Khz) and I am running
Windows 2000.

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top