Rank: Member
Groups: Approved
Joined: 11/17/2023(UTC) Posts: 15 Thanks: 4 times
|
Hi everyone! I am getting this error message when I try to start a program (program A) that lets me search within another software (program B). I guess that the problem could be that program A is an EXE file stored under program B folder, and when Strokesplus tries to execute it, it sort of looks in the Strokesplus folder. The first error message I got was related to a settings file, to I moved the settings file to C:\StrokesplusXXX and it worked. But now I get that "Could not find a part of the path" error message with another path. Since I can't just copy-paste everything in C:\Strokesplus, is there any way to execute the file as if I were double clicking on it in File Explorer? When I do this normally without Strokesplus, it works fine. I was just trying to recreate the action of this double clicking, but when doing it via Strokesplus I always get this error message . Any possible solutions? Many thanks in advance and, once again, congratulations for this amazing software! Edited by user Wednesday, May 8, 2024 12:18:43 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,382 Location: Tampa, FL Thanks: 28 times Was thanked: 430 time(s) in 363 post(s)
|
Try changing the current working directory before you run the program. Note that and \ (backslashes) must be escaped, so use 2 instead of one. Code:System.Environment.CurrentDirectory = "C:\\Somefolder";
//run program
|
1 user thanked Rob for this useful post.
|
|
|
Rank: Member
Groups: Approved
Joined: 11/17/2023(UTC) Posts: 15 Thanks: 4 times
|
Wow, nice and simple! Thanks a billion for your prompt reply, Rob!
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 7/8/2024(UTC) Posts: 3 Location: USA
|
Has the issue been resolved?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close