Change Logs

Started by meks, April 12, 2010, 08:43:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

meks

Hello Guys,

Is there a possibility that through VBA code we can log all the changes we make inside a Visio Drawing? This includes the shapes added, shapes deleted, shapes modified and the time and date when it was modified.

Thanks guys.

Jumpy

The question is, where to log it? In an external .txt file or in a certain shape?

In the ThisDocument modul of your drawings VBA Project you can use certain events to trigger VBA Subs to fill your log, for example:

Private Sub Document_ShapeAdded(ByVal Shape As IVShape)
'Make your log entry
End Sub

Paul Herber

The Visio Event Monitor is very similar to this, I'm sure it should be relatively easy to write a version that sends its output to a file. I can add it to my list of Things To Do (Urgent)!
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

meks

Thanks in advance to all you Visio Masters.   :)

It doesn't matter where Visio logs it(.txt, .xls, .doc etc.), whats important is the list of changelogs we make for tracking purposes/versioning.

I hope its possible. :)