Calling web service from command prompt. Works in Debug Mode but not in Published.

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Heres my issue Im calling a Web service with the code below:
<pre class="prettyprint lang-vb Public Function FT15M_Download()
Dim p As System.Diagnostics.Process = New System.Diagnostics.Process
Dim args As String = "/C eDataClient Username Password https://data5train.abc.com/datafeed/DataFeed 1 ""FRE18 KV"""
Process.Start("cmd.exe", args)
Return (True)
End Function[/code]
In debug mode everything works perfectly. However when I publish the app and then run it I get the "eDataClient is not a recognized internal or external" command in the command prompt. What can cause this and what can I do to fix this?
Any assistance would be greatly welcomed

View the full article
 
Back
Top