For OCX controls, check out
www.Hallogram.com or
www.dbi-tech.com. You may be able to find something there.
If you're really ambitious, you could try programming Visio through automation. There are a variety of nice objects to work with and connecting lines, but the positioning and sizing etc. would be application driven.
Fox doesn't have much of a document model to work with for printing. You could create a report form, with reverse engineering, I suppose.
Actually, it would be possible to do in JavaScript in the rich document model of HTML.
Significant issues:
1 -- accessing files from JavaScript, which is possible using the IE JS extensions to access the OS
2 -- the algorithm to create the logical data representation. It would be pretty straightforward to create a linked list of objects. Assuming a well-structured orgchart -- Read the ASCII text in, containing Person, Position, ReportsTo fields into an array. Find the person who doesn't report to anyone. Make that person the top of the list and create an object to represent her/him. Find all the people reporting to that position, create objects and make object references to an array in the boss object. Process those bossed objects in turn in the same way.
3 -- representation on the screen.
Enjoy!
Jay
>Does anyone know of a tool (ocx or class ) than can draw an organization charts