Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User interface - visio
Message
From
20/01/2008 09:37:23
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
20/01/2008 08:09:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01283377
Message ID:
01283391
Views:
11
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform