开发者

VBA Microsoft Visio document manipulating without opening the application

I am working on manipulating the Visio documents from the Visual Basic 6.0. User needs to choose the input visio document. I am using

Set appVisio = CreateObject("Visio.Application")
appVisio.Visible = False
开发者_开发技巧

Here the issue is, Visio Application is displaying to the user and in next line it is hiding, which makes screen flickering. Can we create the object without opening the visio application?


Use "Visio.InvisibleApp" instead of "Visio.Application" -- should work with Visio 2003 and later.

http://msdn.microsoft.com/en-us/library/aa175566%28v=office.11%29.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜