StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Syrianux  
#1 Posted : Monday, April 8, 2024 11:40:53 AM(UTC)
Syrianux

Rank: Newbie

Reputation:

Groups: Approved
Joined: 11/17/2023(UTC)
Posts: 5
United Kingdom

Thanks: 4 times
Hi everyone!

I am getting this error message when I try to start a program (program A) that lets me search messages within another proprietary 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 Crying. Any possible solutions?Blushing

Many thanks in advance and, once again, congratulations for this amazing software! Love
Rob  
#2 Posted : Monday, April 8, 2024 1:24:44 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,360
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 420 time(s) in 357 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
thanks 1 user thanked Rob for this useful post.
Syrianux on 4/8/2024(UTC)
Syrianux  
#3 Posted : Monday, April 8, 2024 2:06:55 PM(UTC)
Syrianux

Rank: Newbie

Reputation:

Groups: Approved
Joined: 11/17/2023(UTC)
Posts: 5
United Kingdom

Thanks: 4 times
Wow, nice and simple! Thanks a billion for your prompt reply, Rob! Wink ThumpUp
Users browsing this topic
Guest
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.