Hello all,
I have one form named MainPage in vb.net.
In this form I have put 1 image as background image of the form at design time using BackgroundImage property. and I also put 1 menustrip in this form, and I have written all the name of the menus in the menustrip. Then I run my form, there is no error in this form.
But when I have changed my background image, in the form at design time, there is error occurred, and then I made some changes in my application then errors gone away, but what I have written into the menustrip is erased. and when I clicked on menustrip "Type Here" is displayed. Can anyone say why this happened? and now what can I do other then writing again all the name of the menus in menustrip?
I have written all the menu items in the menustrip again, and after writing, when I click on the CodeEditorWindow there is MsgBox is displayed
MsgBoxTitle:Microsoft Visual Basic 2008 Express Edition
MsgBox Content:Code generation for property 'Items' failed. Error was: 'Could not find file 'E:\Brinda & Jay\Brinda\02 S.Y\VB.NET\My Project\My Project\Resources\BackgroundImagewithCollegePhoto. jpg'.'
MsgBox have only one button "OK".
Every time when I make changes or only click on the form in deisgn, and then I make any activity outside the form design, this msgbox is displayed.