Convert Current Document to Binary Object

D

Dave

I want to send the current Word document to a web service?
I have made my web service, and also reference my web service from VBA
with the following functions

Public Function wsm_saveFile(ByVal ar_binaryData As Variant) As String
Public Function wsm_saveFileObj(ByVal any_binaryData As
MSXML2.IXMLDOMNodeList) As String


But I do not know how I can call saveFile(ActiveDocument) as the
Types do not match. Can I do something like

ActiveDocument.getBytes ?

I am trying to mimic the way sharepoint 2007 allows users to check out
a word document, work on it locally and save it back to a web server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top