Happy New Year Yacine,

Thankyou for your reply !. However, I managed to use a previous method that you posted previously on forum (DisplayProps.vss) to generate a new stencil.
santa's elf has been very busy durch Weihnachten. 
The code and along with a GUI is within Visio and the database is now a MySQL backend.
The Brief:
A Visio based Tool that could automate diagrams from a database.
Control the administration of Diagrams within an enterprise.
The loose spec on the current version.
Functionality:
manage an object (add\modify\delete objects on object table)
manage a diagram (add\modify diagram on diagram table)
manage connections between objects (add\delete connection on connection table)
Reports:
search for diagrams that contain an object from a list of objects.
search for diagrams that contain a connection from a list of connections.
Administration:
Date Author stamp on any entry change to diagram table.
attached image shows diagram output.
cheers
Cliff