>Hi
>Is there is a way to create form in microsoft visio and to use with this in VFP? or any other way to improve the vfp user interface to more modern?
Tried that, briefly, in 2001. The idea was to use the xml that visio exports, read it and just build from there - it would have all the stuff right where we need it, right?
Sort of. Visio is so totally non-OOP in the way it saves the files. The XML it produces does contain the .left, .top, .width etc of our controls, but it also does contain that for every object of every stencil there is. It saves all of them with every file (in case you ever wondered why are they so long when they're just vector graphics).
Since back in 2001 we still didn't have StrExtract(), the machines were too slow (and we didn't know how) to use the XMLDOM ActiveX on files of this size... we just decided it wasn't worth the effort.
Now with more modern versions of Visio, there may be an ActiveX to open the .vsd files directly (not via export to XML) and an object model to bring the design from it into VFP - that'd be in Visio's help.