15,893,668 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 Python 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 JoThousand (Top 10 by date)
JoThousand
9-Jul-12 17:31pm
View
Thanks very much for your help :)
This actually was a much simpler solution than what I was originally going to do.
JoThousand
9-Jul-12 1:03am
View
Well I'm glad you got it working!
JoThousand
8-Jul-12 9:36am
View
Well for the colors, you could always use Photoshop or Paint to get the RGB values of the colors. Then you won't need images.
I also found this for you: http://pinvoke.net/default.aspx/uxtheme.GetCurrentThemeName
I hope this works, if not let me know.
JoThousand
8-Jul-12 9:36am
View
Deleted
Well for the colors, you could always use Photoshop or Paint to get the RGB values of the colors. Then you won't need images.
I also found this for you: http://pinvoke.net/default.aspx/uxtheme.GetCurrentThemeName
I hope this works, if not let me know.
JoThousand
8-Jul-12 9:31am
View
DaveAuld, your solution is not working. Now none of the forms show up at all, although the freezing has stopped.
JoThousand
8-Jul-12 9:02am
View
OK. I will try this. Thanks.
JoThousand
7-Jul-12 23:32pm
View
It could be because Windows XP and Windows Vista & 7 have a new driver model, but I'm not sure. Just thought I'd let you know since no one answered your question.
JoThousand
7-Jul-12 22:57pm
View
I apologize, I should have explained that a bit better.
If I use the DoWork event, the form that I want to open freezes and cannot be used, while the rest of the application continues to respond. I read a tutorial that said to use the RunWorkerCompleted event, but it's not working and instead causes the entire application to freeze until the form that's in the AppQueue string loads itself. I'll rewrite my question.
Also, the Show() event is what I meant to write, and I do understand that it shows an already created form.
Again, so sorry. I honestly didn't read what I wrote to make sure it made sense. I normally reread what I write many times before posting so I don't know why I didn't this time.
JoThousand
7-Jul-12 22:49pm
View
Deleted
I apologize, I should have explained that a bit better.
If I use the DoWork event, the form that I want to open freezes and cannot be used, while the rest of the application continues to respond. I read a tutorial that said to use the RunWorkerCompleted event, but it's not working and instead causes the entire application to freeze until the form that's in the AppQueue string loads itself. I'll rewrite my question.
Also, the Show() event is what I meant to write, and I do understand that it shows an already created form.
Again, so sorry. I honestly didn't read what I wrote to make sure it made sense. I normally reread what I write many times before posting so I don't know why I didn't this time.
JoThousand
7-Jul-12 21:36pm
View
What I mean by the form.show event is creating the form and displaying to the user (so for my example IN THE CODE it's 'cal.show' or 'prefs.show'). The application hangs even though I'm using the BackgroundWorker.
I'm pretty sure my question makes plenty of sense... I even provided the proper code.
Show More