|
-
Apr 29th, 2002, 10:14 PM
#1
Thread Starter
Addicted Member
Is this a bug or something just for me?
I am having an interesting little problem, and I am wondering if anyone else has had a problem of this nature.
If I put a picturebox on a form, set the image property in the property window, the picture loads fine. When I run the app the picturebox and picture show beifly and then disappear.
If I set the picture from the load event (or somewhere else in code) everything works fine.
I am running XP. Does anyone else have this type of problem, or have any ideas of what may resolve this issue. I have reinstalled and that has had no effect.
Thanks for any ideas.
That which does not kill us, only makes us stronger. 
-
Apr 29th, 2002, 11:03 PM
#2
-
Apr 30th, 2002, 02:40 PM
#3
Thread Starter
Addicted Member
Just as I was about to post the project for you I found out what the problem was.
As I went to post the project files, I wanted to make sure it still wasn't working. It worked.
What happened is this... if I add a picturebox, set the image, and then run the app without saving the project, it won't work. If I save the project and then run the app it works.
This sounds kind of dumb, I didn't know I had to save the project before I ran it. I thought building the project would be enough. After all it saves the exe in the bin folder just by running it.
Thanks for the info and the help!
That which does not kill us, only makes us stronger. 
-
May 7th, 2002, 07:23 PM
#4
Lively Member
Sounds like something you could change in the IDE. I think it's called "Build & Run options" or something like that. Check under Tools | Options | Environment
You should be able to select something like a 'Save before Running' option.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|