"Microsoft Visio" Caption

B

Bernie

Hi,

I use Visio to develop my own application. Immediatly after starting the
addin I set the caption to my application name by the API SetWindowText.
But during loading if VSD-files or other events the caption changes to
"Microsoft Visio".
How can I keep my own caption permanently ?

Thanks

Bernie
 
D

David Parker [Visio MVP]

If this is important, then consider using the Visio Drawing Control?
It is then inside "your app" , not vice-versa.
 
J

John Marshall, MVP

You can use invisibleapp to start Visio in the background:

Set appVisio = CreateObject("Visio.Invisibleapp")

and then use the application object's Visible property to control whether
the instance is visible.

There is also a /nologo command line switch, but I am not sure if this is
available when started from code.

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

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