bytemangler 0 Posted October 24, 2002 Hi all, Hope someone can help me. I was doing some VB6 programming for a co-worker. I'm just learning this from the book so I don't know much. Here's what I did. I created a simple quoting matrix gride and the forms/formula works fine. The only problem I have is that whe the form is open it overide all application and always place itself in the forground. What I mean by that is this VB program will not let any other apps be the active program. If I click to other apps, about 5 seconds later it force itself to be the active one. This is probably so easy for some of you to fix but what do I need to do to fix this? Share this post Link to post
Christianb 8 Posted October 24, 2002 Hi VB Guy, For the record the best place to get coding help is probably Protonic if you want to ask a question. If you want sample code then head on over to PlanetSourceCode. Actually it sounds like you have done something programatically to make that happen. By default VB applications are never modal. In fact it isn't even an option unless you're coding in VB 4.0 or lower and you've written a 16-bit application. Make sure you're not using "AppActivate" or "SetFocus" using a timer. Also I suppose this could be the result of a dialog box set to vbSystemModal, does a dialog appear when the app hops back on top of everything else. Another workaround would be to minimize it and or pause it's processes when it loses focus or is minimized. -Christian[/url] Share this post Link to post
bytemangler 0 Posted October 25, 2002 Thanks for the link. Got it figure out. Was using the timer and never told it to stop. Anyway thanks again, I'll be heading over the link to check it out. Share this post Link to post
Christianb 8 Posted November 6, 2002 Ahh it's the old I forgot to stop the timer routine . I'm sure I've done that one too, but my personal specialty is never starting it in the first place . Share this post Link to post