Gerardoj
09-09-2003, 08:13 PM
Hi, I have a strange problem with my project, I recently added a XP button to some forms, and when I enter to some form runs fine, but when I stop the project the visual basic close, and then I need to re open my project. What could be the problem?
Thanks A lot.
GavinO
09-09-2003, 08:23 PM
How do you stop the program? Does it exit normally, or do you stop it via IDE controls? The IDE Stop button can cause problems because things might not shut down properly.
Gerardoj
09-09-2003, 09:26 PM
hi, Thanks for your reply, I stop the program with the button of "stop" in the run menu, I stop it via IDE controls, what is the problem?, this happens since I add the XP button!.
Thanks again
GavinO
09-09-2003, 09:49 PM
I am unfamiliar with the 'xp button', so I dont know what effect it may have on your program. Could you be more specific about what happens to the IDE? Do the toolbars still have mouse hover effects? Do all of the editing windows reappear? Is there any kind of error message? Do you have to kill the IDE with the task manager, or can you exit it cleanly?
Gerardoj
09-10-2003, 03:32 PM
Ok, step by step:
1.- First I open my project and all is OK, no Errors.
2.- When I Run with "F5" runs fine.
3.- When I press some XP button run all the procedure assigned
4.- When I stop the project with whatever procedure to stop, my project go out and crash with out errors.
5.- If I dont press any XP buttons all is OK, the project dont crash.
What could be the strange problem?
Class and Library attached.
rahamad
09-10-2003, 03:36 PM
Can you elaborate on what an "XP Button" is? I am not familiar with this either.
Gerardoj
09-10-2003, 03:50 PM
Thanks for replys, what did you mean with elaborate on what an "XP Button" is? this is the especifications of the button
Hey I found some answer in the page where I downloaded:
Clicking Exit button causes an IDE
crash using VB6SP1 XP HomeSP1!
What can I doto solve? I have the SP5 in my VB6!
Gerardoj
09-10-2003, 06:15 PM
What I need to do to solve the problem when I Click Exit button that cause an IDE crash using VB6SP1 XP, But I have VB6 with SP5 in Windows XP Pro.? :(
Thanks A lot.
GavinO
09-10-2003, 08:38 PM
By elaborate, I meant that you should not cause me to have to hunt down the downloaded control that you are using - we know much of the standard control library, but cannot stay on top of all of the free 3rd party libraries available. Luckily, Google worked in your favor.
The way that this control works is through subclassing. You cannot stop the program in the IDE without a crash. The program must end cleanly by unloading all forms. Any other 'messy' stop method will cause major issues with the IDE because of the way that subclassing works.