Visio Active X control src

VISIO

    Sponsored Links

    Next

  • 1. MOSS 2007, Visio 2007 + IE 8
    Hi, with IE8 I cannot edit Visio files (*.vsd) from a document library: "Error (1502) file not found". When I open the file in proteced mode it works without problems! Also Word and Excel files I can "Edit in Microsoft Office Word/Excel" directly, only Viso-files doesn't work... System: Server: W2k3 R2 SP2 x64 Client: WinXP SP3, Office 2007 SP2 / Visio 2007 SP2 SharePoint: MOSS 2007 SP1 any ideas? best regards, Jgen N.
  • 2. tree block diagram ..
    how can i have a pop out shapes from the original parent shapes that i draw by only clicking on them?
  • 3. viso 2007 on office 2003
    I am using Office 2003. Can I use Visio 2007? I want to download a trial version and buy it if I like it; otherwise, can I download a trial of Viso 2003 and then buy it if I like it.
  • 4. how do i use files from visio 4.1 with visio 2007
    I have and older Ver. of Visio 4.1 on one computer and then transfered the file to my other computer. I then downloaded a new trial ver. of Visio 2007 and I tried to make changes to the transfered file but could not any ideas?
  • 5. On Click functions
    Is this possible?

Visio Active X control src

Postby suki1a » Tue, 23 Dec 2003 23:51:52 GMT

Hi All,
I am designing an app using c# and the VDC. Do you know if there is
any way of making the VDC look at a template and open a (new)drawing
from it? By that I mean I do not want them to edit the template. I am
trying to make funtionality similar to that found in Visio.
Obviously I can do a copy past in the background etc, but I am hoping
for a neater solution!
Suki

Re: Visio Active X control src

Postby David Parker » Wed, 24 Dec 2003 20:09:50 GMT

Suki,

Since setting the SRC property in a Visio Drawing Control only loads a copy
of a template, rather than the document itself, then you only need to set
the SRC to the template file, and then use the SaveAs method.  In this way,
you have created a new document based on a template.

David








Similar Threads:

1.Create a control on Visio Document via the Active X control

I am converting some code that was in an Access application that opened an 
instance of VISIO and created a document.  The new code, in VB.NET 
instantiates the VISIO Active X control and uses it to create the same 
document.  This line:
shpObj = pagObj.InsertObject("Forms.CheckBox.1", &H2000)

attempts to add a checkbox control to the diagram.  But it generates the 
following error:
"Visio cannot insert this control because VBA is disabled. Controls require 
VBA to function properly."

Is it not possible to instantiate a control on a Visio drawing from the 
Visio ActiveX control?  This worked fine in  the old Access/Visio 
application.

Gary 




Return to VISIO

 

Who is online

Users browsing this forum: No registered users and 54 guest