|
|
||||||
|
#1
|
|
|
|
|
Hi All,
I'm trying to execute a dos command using vb.net assembly by calling System.Diagnostics.Process methods. It is not working. Can anyone help me with this? Public Shared Function RunCMD(ByVal spath As String, ByVal switches As String, ByVal oID As String) As String Dim myProcess As System.Diagnostics.Process = New System.Diagnostics.Process() myProcess.StartInfo.Arguments = switches.ToString() & oID.ToString() myProcess.StartInfo.CreateNoWindow = True Return myProcess.Start() End Function <method name="RunCMD" assembly = "RunCMD.dll" TypeName = "twb" methodname = "RunCMD" group="String functions" timeout = "7200"> <parameter name="spath" datatype="string"> <parameter name="switches" datatype="string"/> <parameter name="oID" datatype="integer"/> <result datatype="string"/> </method> Thanks, XD |
|
|
|
#2
|
|
|
|
|
In the first parameter line you forgot the / at the end.
"Sonu" wrote: [..] |
|
|
| Similar Threads | |
| DTS Work Flow issue OK, this shouldn't be this hard, I'm sure I am missing something simple. I have a DTS package with 1 source connection and 1 destination connection. I want to transform 2... |
|
| Work Flow Config Files For .net Workflow Assembly All We have an intresting issue, and I'm sure someone has come across this before, We have created a custom .net Assembly to use in workflow, but when we move it to the live... |
|
| "Manual" work flow - security issue I have set up 3 "manual" workflows that have only an assign statement to assign a case to a particular user. When In a case, I go to actions > assign... > route case and... |
|
| CRM work flow Assembly Hi, I've created an assembly to create a sharepoint site for new created cases, the workflow is executed without any errors however it is not creating the site. My workflow... |
|
| SLIDE FLOW PROGRAMMING Can I loop a slide to a previous, non-adjacent slide, to show the previously seen slide on the "Next" click? |
|
|
All times are GMT. The time now is 04:32 PM. | Privacy Policy
|