-
Apr 1st, 2013, 02:11 PM
#1
Thread Starter
New Member
strange error come out help???
The error in the red line and also this code come out in .designer.vb
Code:
'NoteItAll
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackgroundImage = Global.NoteIt_All.My.Resources.Resources.mainform_xx
Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
Me.ClientSize = New System.Drawing.Size(1333, 701)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.Label1)
Me.Name = "NoteItAll"
Me.Text = "NoteItAll"
Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
Me.ResumeLayout(False)
This come out in error description:
Error 1 'NoteIt_All' is not a member of '<Default>'. F:\TextEditting\TextEditting\NoteItAll.designer.vb 58 30 TextEditting
-
Apr 1st, 2013, 02:37 PM
#2
Re: strange error come out help???
First and foremost, make sure the resource file does in fact exist and is an image/bitmap. If so, try taking out the Global.NoteIt_All. That away it would read:
Code:
Me.BackgroundImage = My.Resources.Resources.mainform_xx
-
Apr 1st, 2013, 02:43 PM
#3
Thread Starter
New Member
Re: strange error come out help???
I have already include all my resource file and i delete the thing that you said but again i have error
Code:
Me.lblEraser.Image = My.Resources.Resources.Eraser_2_icon
this is the error description:
Error 1 'Eraser_2_icon' is not a member of 'NoteIt_All.My.Resources.Resources'. C:\Users\Lucky\documents\visual studio 2010\Projects\NoteIt All\NoteIt All\Paint_Note.designer.vb 194 30 NoteIt All
-
Apr 1st, 2013, 02:57 PM
#4
Thread Starter
New Member
Re: strange error come out help???
I have already include all my resource file and i delete the thing that you said but again i have error
Code:
Me.lblEraser.Image = My.Resources.Resources.Eraser_2_icon
this is the error description:
Error 1 'Eraser_2_icon' is not a member of 'NoteIt_All.My.Resources.Resources'. C:\Users\Lucky\documents\visual studio 2010\Projects\NoteIt All\NoteIt All\Paint_Note.designer.vb 194 30 NoteIt All
-
Apr 1st, 2013, 03:02 PM
#5
Re: strange error come out help???
It sounds to me as though at one point or another it may have been deleted and then re-added. Try doing this:
1)Deleting it from the project in the IDE
2)Deleting it from your project in your project folder
3)Re-Add it
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
|