Re: database properties



The mystery object is located here:

C:\Program Files\Visio 2003\Visio11\DLL\VISXDATA.DLL

Or something similar on your machine.

I couldn't generate a type library for it. Perhaps there are other ways of
snooping into .dlls? This is C++ ueber-geek stuff that I don't know about
: )

--

Hope this helps,

Chris Roth
Visio MVP


"Chris Roth [ Visio MVP ]" <visioguy@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:OIotPMFXFHA.796@xxxxxxxxxxxxxxxxxxxxxxx
> This info is officially not published, but you might be able to dig around
> and find something. The places I'd look are:
>
> - Window > Show Shape*** for every shape. Not sure how much info is
> stored there.
> - Look for SolutionXML in the document. (check out the developer's help
> for 'SolutionXML')
> - Look at the local document stencil for the master "Database Model". This
> is probably some sort of COM object, "bit bucket" that stores the model
> data. You can access the object like this:
>
> Visio.ActiveDocument.Masters("Database model").Shapes(1).Object
>
> This thing is some sort of COM or ActiveX control, and I have no idea if
> or how you can look into it. If there are tools for discovering this, or
> somehow generating the type library for it, then you might be in luck.
>
> I'm at the edge of my knowledge, so good luck!
>
>
> --
>
> Hope this helps,
>
> Chris Roth
> Visio MVP
>
>
> "Gator Geek" <GatorGeek@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:E8BAF564-ADC7-4B21-A4A8-ED9A720F9A09@xxxxxxxxxxxxxxxx
>>
>> Hi !
>>
>> Can anyone help me to read the database properties from Visio ? I have
>> some
>> entities that I have reverse-engineered and I want to read the
>> description or
>> notes of the columns associated with the entity.
>>
>> Any help or hint would be helpful.
>> Thanks in advance.
>>
>> - GG
>
>


.