R
Ralph Spaulding
I'm building an application that displays Visio documents in anActiveX
control. I want to have better control over how documents are loaded, both
from a document management perspective and from a performance perspective.
1. I want to be able to store documents in a central repository (perhaps a
database), and then let clients load them across the network without
requiring shared file access. I can take care of transporting the bytes of a
document, but then I want to load it from a byte stream instead of having to
read an actual file. I suppose I could transport the bytes across the
network and write them to a file, but I'm concerned about performance (see #2
below).
2. I need to be able to load documents very quickly. I need complex
documents (200 K and up) to load in 2-3 seconds. Is there a binary format
that can be used to map documents into memory very quickly? How would I use
the API to access documents stored in such a format?
The current API just allows the DrawingControl.Src property which must refer
to an actual file on disk. I need more control than that.
Thanks,
Ralph
control. I want to have better control over how documents are loaded, both
from a document management perspective and from a performance perspective.
1. I want to be able to store documents in a central repository (perhaps a
database), and then let clients load them across the network without
requiring shared file access. I can take care of transporting the bytes of a
document, but then I want to load it from a byte stream instead of having to
read an actual file. I suppose I could transport the bytes across the
network and write them to a file, but I'm concerned about performance (see #2
below).
2. I need to be able to load documents very quickly. I need complex
documents (200 K and up) to load in 2-3 seconds. Is there a binary format
that can be used to map documents into memory very quickly? How would I use
the API to access documents stored in such a format?
The current API just allows the DrawingControl.Src property which must refer
to an actual file on disk. I need more control than that.
Thanks,
Ralph