Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
im suffering from error
Form that is not a top-level form cannot be displayed as a modal dialog box. Remove the form from any parent form before calling Show. in vb.net

if any budy has solution
please.................please..............please..............................
give me solution





Thanx In Advance
Posted
Comments
Basmeh Awad 27-May-13 4:42am    
what changes have you done in your application...are that changes in design time or runtime if in runtime then post your code..

Did you change the TopLevel property of the form it's complaining about?? TopLevel must be True in order to be used as a dialog.
 
Share this answer
 
1.Try to Change the connection string Or Change the SQl Password.
 
Share this answer
 
Comments
Dave Kreskowiak 27-May-13 9:51am    
W H A T????? What the Hell does an SQL Connection String have to with the functionality of a Form???

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900