Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bhopaltechie

    Problem in Visio Automation

    # import "Vislib.dll" CoInitialize(NULL); hr = app.CreateInstance(CLSID_InvisibleApp); docs.CreateInstance(CLSID_Documents); docs = app->GetDocuments(); doc.CreateInstance(CLSID_Document); doc = docs->Add((fileName1.operator LPCTSTR())); hr = pages.CreateInstance(CLSID_Pages); pages =...
  2. bhopaltechie

    VISIO Legend

    These entries are to be made under shapesheet for that "legend shape
  3. bhopaltechie

    VISIO Legend

    For every shape you wan't legend to show, insert a new row named"vislegendShape" and set its value to"2".
  4. bhopaltechie

    Problem using Legends

    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 =...
  5. bhopaltechie

    Problem using Legends

    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...
  6. bhopaltechie

    How to I create a "link" from a text box to another visio page

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

    Automating Visio

    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.
  8. bhopaltechie

    Problem in Visio Automation

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

Part and Inventory Search

Back
Top