16,006,341 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 C++ questions
View Javascript questions
View Visual Basic questions
View .NET 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 Member 12302635 (Top 9 by date)
Member 12302635
10-Mar-16 8:16am
View
Oops, that's right. the assigned value obviously came null before i pressed the button, but i got it working! Thanks to your support.
Member 12302635
10-Mar-16 6:55am
View
One more newbie question, why can't i use a string like this:
Form2 myForm2Instance = new Form2(sMyfilepath);
i can write it like that, but its always null on the other side??
Member 12302635
10-Mar-16 6:11am
View
And yes, i'm a newbie. I tried "something" like this and quit too quickly.. :)
Member 12302635
10-Mar-16 6:09am
View
Went through the Google and some other paths, but it wasn't what i looked for.
I know there's good examples and blog around the net like this one:
http://geek-goddess-bonnie.blogspot.com/2011/01/passing-data-between-forms.html
But this was just a little detail in a bigger project, that i wanted to find just simplest thisng. And yes i'm a newbie, and that's why i sometimes need help from the net :)
Member 12302635
10-Mar-16 6:06am
View
Thanks for this solution. All other found from Google, or other sources were way more complicated for this simple thing.
Member 12302635
10-Mar-16 5:50am
View
I just want to open another window to show "results graphics" in a picture.
I need the string with the path and filename to be sent over, which i have ready on Form1.
If there is another way to do this (i.e. usercontrol or whatever, please point it out...)
Member 12302635
10-Mar-16 5:46am
View
private void button4_Click(object sender, Eventargs e)
{
Form2 showG = new Form2();
showG.Show();
}
like this, so nothing much here :)
Member 12302635
9-Mar-16 6:02am
View
I can paste some code of the situation asap. but the path itself is not actually more than 46chars + filename, but it comes three times in the command
Member 12302635
9-Mar-16 6:00am
View
Maybe there's a workaround how to use the shell execute so the command i'm executing knows that it is in that path and directory, so i don't have to include it in the command ?
Show More