15,610,223 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Python questions
View Javascript questions
View C++ questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Stephen8601 (Top 3 by date)
Stephen8601
23-Apr-15 15:58pm
View
Hi Sergey,
I've never tried to get an app to run from a combobox before, and therefore this is new ground for me. I know one can open database and document type files from a dropdown combobox, as this is something I do quite regularly in the Bible program I use.
Having said that, I work with what I have, and I try to find solutions, and with that, I also ask for help to find a solution if I what I currently know doesn't work. We are all on a journey of which we can learn from one another, and sometimes the solutions comes from the most odd and unusual places, and even from people who aren't programmers, of which has happened to me. Its all part of that journey.
Kind Regards,
Stephen
Stephen8601
22-Apr-15 20:47pm
View
Hi Sergey,
A dropdown ComboBox used used for a Windows program.
Stephen.
Stephen8601
22-Apr-15 20:28pm
View
Hi Chris,
I did, and it really hated it, of which this message popped up and after entering the code:
"The best overload method match for 'System.Diagnostics.ProcessStartInfo)' has some invalid arguments."
Here are some other things I've tried, and of which has failed.
prcBibles.StartInfo=new ProcessStartInfo("cmbBibles.SelectedItem");
prcBibles.StartInfo=new ProcessStartInfo(*.exe);
prcBibles.StartInfo=new ProcessStartInfo("*.exe");
prcBibles.StartInfo=new ProcessStartInfo(cmbBibles.SelectedItem. "*.exe");
And just a straight out System.Diagnostics.Process.Start which included all of the above, and failed.
So, with that, I simply cannot find an answer at the moment.
I also tried:
Private void cmbBibles_SelectionChangeCommitted(object sender, EventArgs e) using the same methods as before, and had no joy there.
So, at the moment I am really at a loss of what to do and where to go ahead.
Kind Regards,
Stephen