I have an Ole Object in a vb6 form (class = Word.Document.
I load the form calling the following: (this loads the word file into
the ole object for display)
Ole.SourceDoc = "here goes the file source"
Ole.Action = acOLECreateLink
Then, I have a button called save that runs the following code:
ActiveDocument.SaveAs FileName:="here goes the file name"
This works fine, at least the first time I save a document, but if I
try to save a second time then it gives the following error:
The remote server machine does not exist or is unavailable (Error
462)
The knowledgebase and my Internet browsing has run into several people
asking similar questions, but I couldn't get any answer that actually
could solve this simple problem...
My second problem seems even simpler but I couldn't find any resources
to solve it:
When you double click the ole object in order to activate the word
document for editing, it opens some kind of word selection rectangle,
but it doesn't fit into the ole object box, is there a way of
manipulating this selection frame to fit the pre-defined boundary of
the ole obeject?
Anybody has an idea or knows the answer to any of these problems???
Please let me know.
Thanks a lot for your time,
Josh
Archived from group: microsoft>public>vb>ole