Hi,
I have requirement of getting the location of the project in my machine during execution, can u please give me code snippet for getting the same.
Thanks
Ajay
how to get project path during execution
-
- Posts: 21
- Joined: Wed Dec 07, 2011 2:54 pm
- Location: India
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: how to get project path during execution
Hi,
Due to Ranorex is generating the code to C# or VB.NET in a full .NET environment, try to find the C# or VB.NET code for your issue.
[*]Google for your issue, e.g. google get location of executed program .net
[*]take your answer, get application direcotry c#
Regards,
Martin
Ranorex Support Team
Due to Ranorex is generating the code to C# or VB.NET in a full .NET environment, try to find the C# or VB.NET code for your issue.
[*]Google for your issue, e.g. google get location of executed program .net
[*]take your answer, get application direcotry c#
Regards,
Martin
Ranorex Support Team
Re: how to get project path during execution
Try the below
Dim dir As String = Directory.GetCurrentDirectory
Dim dir As String = Directory.GetCurrentDirectory