A
andrewLLL
Hi all
I found something interesting about Visio drawing Control
and wonder if anybobody can tell the reason.
If you have VB (or any other similar) installed, please
follow this:
(1) open Visio and start a blank drawing, draw a rectanglar
shape, then format filling to color = 00, pattern = 26,
pattern color = 01. This will give you something like a 3-D
vessel.
(2) copy this shape to maybe 20 or more. Then you can
change the text for each "vessel". It is VERY FAST. Save
the drawing to a file, say C:\test.vsd
(3) start a new VB project. Add Visio 11.0 drawing control
to the project components list. Now you drag the visio
control to form1. Resize the form and control to make it big.
(4) on Form1_Load event, just type one line:
drawingControl1.src = "C:\test.vsd"
(5) Run the VB project and you see the Drawing on the
window. Now if you change text for each "Vessel", it
becomes VERY SLOW.
Anybody can explain why and give a solution to speed it up?
Or is it a bug in the drawing control? Thanks.
Andrew
I found something interesting about Visio drawing Control
and wonder if anybobody can tell the reason.
If you have VB (or any other similar) installed, please
follow this:
(1) open Visio and start a blank drawing, draw a rectanglar
shape, then format filling to color = 00, pattern = 26,
pattern color = 01. This will give you something like a 3-D
vessel.
(2) copy this shape to maybe 20 or more. Then you can
change the text for each "vessel". It is VERY FAST. Save
the drawing to a file, say C:\test.vsd
(3) start a new VB project. Add Visio 11.0 drawing control
to the project components list. Now you drag the visio
control to form1. Resize the form and control to make it big.
(4) on Form1_Load event, just type one line:
drawingControl1.src = "C:\test.vsd"
(5) Run the VB project and you see the Drawing on the
window. Now if you change text for each "Vessel", it
becomes VERY SLOW.
Anybody can explain why and give a solution to speed it up?
Or is it a bug in the drawing control? Thanks.
Andrew