Search found 3 matches

by Fizaliss
Wed May 20, 2009 11:36 am
Forum: General Questions
Topic: Ranorex creates duplicate objects in repository
Replies: 1
Views: 2384

Ranorex creates duplicate objects in repository

Hello, 1) Since the recording is always rewriting all the changes I make to the script manually in the code, I copy that code to another file and always delete recording to get only new lines for my code from it. From some moment Ranorex Studio started to create new definitions for already defined b...
by Fizaliss
Tue May 19, 2009 3:12 pm
Forum: General Questions
Topic: Starting application from the script
Replies: 1
Views: 2731

Already got help on that one :)

System.Diagnostics.ProcessStartInfo ProcInfo = new System.Diagnostics.ProcessStartInfo("application");
ProcInfo.WorkingDirectory = "working directory";

System.Diagnostics.Process.Start(ProcInfo);
by Fizaliss
Tue May 19, 2009 2:09 pm
Forum: General Questions
Topic: Starting application from the script
Replies: 1
Views: 2731

Starting application from the script

Hello, I was trying to start my application from the script with System.Diagnostics.Process.Start("c:\\myprogram\\myprogram.exe");

But this program has to be started with the working directory set to "c:\\myprogram\\", how can I do that?