I tried dropping the legend shape and then running the addon using following code in C++:-
_variant_t name;
name.vt=VT_BSTR;
_bstr_t legend = "lgnd";
name.bstrVal= legend;
IVAddonsPtr addsPtr;
app->get_Addons(&addsPtr);
IVAddonPtr addptr;
addsPtr->get_Item(name,&addptr);
_bstr_t runString =...
I am facing a problem using Legends; When I drop legends manually the legends get updated on each drop of shape, whereas when I drop it by writing suitable code the legend drops, but doesn't get updated. When after dropping it programmatically, I manually open the Visio document and click...
I am able to use SDK 2002/SDK 2003 and launch a visible instance of Visio. But I couldn't figure out any method for launching an invisible instance of Visio and do the processing (like creating and adding objects) in background.
Is there any function in Visio SDK 2002 that can forcefully open a Visio importable text file (*.txt) and convert it into a visio file (*.vs).
I have tried using functions OpenEx and Open. No respite though.
While automating Visio in VC++, using the below code, I am facing a problem.
When I instantiate a Visio instance and try to open a document, a window
pops up that asks for a confirmation dialog for opening the file of type
".txt". It asks for the type of text in file and also confirmation...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.