I have a VB program that receive a document from the repository and refresh it for the user,but since January 1st, the program is unable to receive from the repository(if I do it within BO, the receiving is successful) Is there somebody who uses the method Receive whitin a script?, if yes can you check it for me?
Thanks…
Hamid
I use the following BO-script in version 4.1.4 and everything is working fine:
Function RetrieveDocument(sDocument As String) As Integer
Dim strMsg As String
RetrieveDocument = 0
On Error Resume next
Application.Documents.Receive(sDocument)
if Err then
RetrieveDocument = 32000
Exit Function
end if
end Function
I have a VB program that receive a document from the repository and refresh
it for the user,but since January 1st, the program is unable to receive from
the repository(if I do it within BO, the receiving is successful) Is there somebody who uses the method Receive whitin a script?, if yes can you check it for me?
Thanks…
Hamid
If RetrieveDocument(sDrvDocName, DOC_DOMAIN) = False Then
MsgBox "An error occurred retrieving " & sDrvDocName & “.”, vbCritical
CloseApplication
End If
Where sDrvDocName is a string containing the Document name and DOC_NAME is the name of the Document domain.
I have a VB program that receive a document from the repository and refresh
it for the user,but since January 1st, the program is unable to receive from
the repository(if I do it within BO, the receiving is successful)
Is there somebody who uses the method Receive whitin a script?, if yes can
you check it for me?
Thanks…
Hamid
=====
Philip Biancucci
Data Warehouse Project Leader
LINC Systems, Corp.
W: 860/715-2053
VM: 781/890-1003 x 7404
EM: pbiancucci@lincsys.com pbiancucci@yahoo.com
__________________________________________________ Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com