473,765 Members | 2,035 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Frozen Main Form - Form and all controls are frozen and unresponsive.

3 New Member
I am writing a VB6 application that opens with a Login form that allows the user to select one of several databases. Clicking 'OK' on the Login form opens the Main form.

Something has happened to the Main form. It opens, but it is frozen. None of the controls respond, and the form itself can not be moved by clicking and dragging on the title bar. The entire form is totally unresponsive. At one point the MDIChild got set to true and the Main form would not display at all (error 366, No MDI Form available to load). Now it displays but it is totally frozen, and I am totally puzzled!

Anyone have an idea of what could be happening here? Thank you! George
Oct 9 '07 #1
2 1850
iburyak
1,017 Recognized Expert Top Contributor
Go to debug mode. Use F8 to go through code line by line and you would be able to find a problem. There is no way without looking at actual code anyone can help you in this situation.

Sometimes it is difficult task to go through a lot of code to get to the point but who will do it if not you.


Good Luck.
Oct 9 '07 #2
geowhe
3 New Member
Go to debug mode. Use F8 to go through code line by line and you would be able to find a problem. There is no way without looking at actual code anyone can help you in this situation.

Sometimes it is difficult task to go through a lot of code to get to the point but who will do it if not you.


Good Luck.
Thank you for your offer of help. I am feeling rather stupid at this time but the answer was simply that I had inadvertently changed the form Enabled property to false. Back to True now and it works fine. Embarrassed but it won't be the last time! Thanks again. George
Oct 9 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
4606
by: Steve French | last post by:
I have a VB6 DLL that contains a class and a number of forms. A method of the class shows any one of the forms modally, depending on the method arguments. The method is called from a modal form in the host application (also VB6). Everything works fine when the host application and DLL are run in the VB6 IDE as a group. However, when I refer to the compiled DLL (outside the IDE), the forms in the DLL are displayed but 'frozen' i.e. they...
3
12317
by: Paul | last post by:
Hi I'm trying to build a standalone COM exe server using Python 2.2 + Mark Hammond's windows extensions + Py2Exe. I've built the example linked on the Py2Exe homepage and get this error when running the exe: I:\Program Files\Python22\dist\comtest>comtest --register Traceback (most recent call last): File "<string>", line 37, in ? File "win32com\server\register.pyc", line 468, in UseCommandLine
2
3224
by: Michel Schilthuizen | last post by:
Hi, I am working on an application that can use functionlity in some sort of plugins. I have implemented this by using Assembly.LoadFrom and MethodInfo.GetMethods. The calling of the plugins is handled in threads. All works fine, but when I call a method that processes for some time, the mainthread (my form) becomes unresponsive.
1
3602
by: BillZondlo | last post by:
Can someone look at this and tell me why, when I call this from my main app, it displays fine (fades form in and out) but then before my main app displays, I see other dialog boxes flash monentarily on the screen and this delays the main app display? Here is the fade which I compile to a dll and call from my main app: using System; using System.Threading; using System.Timers;
5
3443
by: Brian Link | last post by:
The design of my app is such that I have a main form which loads a variety of user controls. Sometimes these controls will contain their own constituent sub-controls. The main form should respond to changes in the constituent controls, either by showing/hiding menus, or updating status bar text. Currently I'm rippling up events through the usercontrols back to the main form. This is proving more and more cumbersome. In VB6, I could...
4
3584
by: Charles Law | last post by:
Hi guys. I have two threads: a main thread and a background thread. Lots of stuff happens in the background thread that means I have to update several (lots) of controls on a form. It is quite tiresome to have to write code to call MyControl.Invoke for each control on the form, along with the delegates that are required for each. Is there a better way to do this? What I mean is, if I could marshal the
1
1044
by: Rob R. Ainscough | last post by:
I've discovered an interesting potential bug, when I run (debug/compile) my web applicaiton -- if I do NOT move the mouse VS 2005 seems to be unresponsive, but as soon as I move the mouse my web application comes up - so far this is just when debugging. I recall reading a few other people noticed this problem. I'm running standard MS mouse driver. Anyone else experience this?
5
7483
by: PulkitZery | last post by:
Hello Everyone, I need some help here, I have a form on which I have all the user interface components, and I need to do a big calculation every 5 seconds. I used the Timer object to do this calculation every 5 seconds. So far so good, but my calculation takes about 2-3 seconds and because of that it made my form very unresponsive for that period of time, which is never acceptable. I googled the problem and found that If I use...
11
4237
by: dhtml | last post by:
(originally mis-posted on m.p.s.jscript...) I've just closed all windows in Firefox and its using 244MB of memory. I have no idea why. I had GMail open, a page from unicode, the CLJ FAQ. I've noticed that createElement leaks. It's obvious with form controls because the form keeps the control name as a property. Example:
0
9399
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10163
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9835
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5276
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.