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
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