View Single Post
  #4  
Old September 17th, 2004, 10:04 PM
John Marshall, MVP
external usenet poster
 
Posts: n/a
Default

For some reason that article was shortened.

The key thing is locking the preview before the sample is deleted and the
template resaved.

The article does explain how to lock the preview, but it no longer explains
how to clean up the template.

John... Visio MVP

Need stencils or ideas? http://www.mvps.org/visio/3rdparty.htm
Need VBA examples? http://www.mvps.org/visio/VBA.htm
Common Visio Questions http://www.mvps.org/visio/common_questions.htm
"polo_lee" wrote in message
...
Hi,
I saw that article already, unfortunately, it's helpless.
but I had found a new solutions.

more violence one.

I use the Visual Basic Editor, to edit the document's PreviewPicture
property.
I put a EMF file in it.

many thanks

"John Marshall, MVP" wrote:

What you need to do is create a sample drawing and have the preview
updated.

Once the template has been saved with a preview, open drawing again and
lock
the preview, delete the sample drawing and save.

There is more details at
http://www.microsoft.com/office/prev...s/column12.asp

The question is number six. Unfortunately, the cleanup portion is
missing,
so once the preview is locked, delete the drawing page.

John... Visio MVP

Need stencils or ideas? http://www.mvps.org/visio/3rdparty.htm
Need VBA examples? http://www.mvps.org/visio/VBA.htm
Common Visio Questions http://www.mvps.org/visio/common_questions.htm
"polo_lee" wrote in message
...
Hi,
I want to create my own .vst template that can reused by others.
It's fine for create one however, when open new drawing .
the template's preview diagram is empty... Square and empty.

I know if I chose to save the .vst file with a default page (for
preview
used), contains some diagram.
then the preview can see just like the default page.

but tihs is not what I need, since when use the template, the preview
used
default page will also show out. I really dont need this.

any ideals ?

help me again. thanks