|
-
Sep 20th, 2003, 05:57 AM
#1
Thread Starter
Registered User
problem while creating new form instance in code!!
hi,
somewhere in my code i want to create an object from a form and simply show it, but when doing so the program hangs, and then has to be end tasked, whats the problem?!!
the code is something like :
dim frm as new form1()
frm.text="this is a test"
frm.show
-
Sep 20th, 2003, 05:59 AM
#2
Thread Starter
Registered User
by the way , the code for creating the form is inside a method in a module
-
Sep 20th, 2003, 05:24 PM
#3
Sleep mode
I've tried many times to generate an error while do what you did but it works with no problems .
-
Sep 21st, 2003, 11:00 AM
#4
Thread Starter
Registered User
the form is created in a new thread ( not main thread ) is that was causes the problem?!
-
Sep 21st, 2003, 11:10 AM
#5
Sleep mode
-
Sep 24th, 2003, 12:46 PM
#6
Addicted Member
the programs very long , and not well written , posting it will do no good, the weird thing is that if i showdialog the form, it works fine!!! any idea?
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
|