TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
John Riker
NA
85
15.8k
Embed .exe files?
Dec 13 2020 11:22 AM
I have a program I am writing and it makes calls like
System.Diagnostics.Process videoprocess =
new
System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo videostartInfo =
new
System.Diagnostics.ProcessStartInfo
{
WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden,
FileName =
"cmd.exe"
,
....
But then it calls a third party exe file that I have sitting in a temp folder. It's not something I built or compiled or is even C# based. Is there a way to package in Visual Studio 2019 other files that I use rather than having to remember to install them somewhere when I am done writing the program and move it to another computer?
Also note this particular program in general the exe sits in a folder when extracted called bin. It also has a utils folder with Python files in it and the executables apparently assume the python files are in a utils folder at the same level of the bin folder when it looks for it. Plus apparently I need to have Python in the path for the computer this program is running on. Not sure if that's relevant but in case there is a way to have all this just work would be great.
Reply
Answers (
1
)
Reading the file with line Position, its getting added leading zeros
Temp Data in HTML.