I'm trying to use ShellExecute to send an HTTP/XML file to a WEB server, but something seems to be wrong :banghead:
Here is the Shell Execute function I use:
Here is the XML string I send:
Is there any way to get something back fro the ShellExecute ?
Here is the Shell Execute function I use:
Code:
Public Function OpenDirApp(WhatToOpen As String)
ShellExecute 0, "Open", WhatToOpen, vbNullString, vbNullString, SW_SHOWNORMAL
End Function
Here is the XML string I send:
Code:
...
strHTTP = <CreateOrUpdateTaskRequest xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<UserName>USER_Name</UserName>
<Password>USER_PASS</Password>
<Operation>AutoSelect</Operation>
<TaskNumber>22788</TaskNumber>
<CustomerNumber>12969</CustomerNumber>
<EmployeeNumber>59</EmployeeNumber>
<DueDateAsYYYYMMDDHHMMSS>20181212000000</DueDateAsYYYYMMDDHHMMSS>
<Description>DESCRIPTION</Description>
<Notes>NOTES</Notes>
<Status>1</Status>
<Phone1></Phone1>
<CustomerName>CUST_NAME</CustomerName>
<Location>
<Address>CUST_ADRESS</Address>
</Location>
<Data1>DATA_1</Data1>
<Data2>DATA_2</Data2>
<Data3>DATA_3</Data3>
</CreateOrUpdateTaskRequest>
Call OpenDirApp(strHTTP)
Is there any way to get something back fro the ShellExecute ?