473,387 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Very urgent!! need help fixing this error

Hello

Despite all the advise i have recieved from everyone on this group i still cannot fix this error. I am fast approachin my deadline so i need to fix this asap :o

I get the error whenever i try to open the a for

My coding falls over on this line....

Me.Button2.Image = CType(resources.GetObject("Button2.Image"), System.Drawing.Bitmap

Infact even when i comment out this line it falls over on the next line that refernences an image
I only seem to have this problem with all the images on this specific form. All the other forms in my application work fine

Here is the error i am getting. does anyone know how to fix??....

An unhandled exception of type 'System.Resources.MissingManifestResourceException ' occurred in mscorlib.dl

Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "frmRes.resources" was correctly embedded or linked into assembly "MyProj"
baseName: frmRes locationInfo: MyProj.frmRes resource file name: frmRes.resources assembly: MyProj, Version=1.0.1550.16863, Culture=neutral, PublicKeyToken=nul

I got some advise off someone previously. Here is what they advised me to do...
"Make sure that the resource you're referencing (button2.image) is set as an
embedded resource in your solution

i was told to do this by clicking on the properties tab of the image in question, then changing the Build Action property to Embedded Resource

The problem is that i when i click on button2 (which has the image in it) i cannot see Build Action in the list of properties!!!

Can anyone tell me how i can fix this

Any help is appreciate

Nov 22 '05 #1
4 5949
Hi Varun

Is this a Windows Form? If so, make sure that the form class is the first in
the file. For example, if you have an enum, structure or another class
defined before this class in the file, move it to the end, so that the form
is declared first.

HTH

Charles
"Varun" <an*******@discussions.microsoft.com> wrote in message
news:A1**********************************@microsof t.com...
Hello,

Despite all the advise i have recieved from everyone on this group i still cannot fix this error. I am fast approachin my deadline so i need to fix
this asap :o(
I get the error whenever i try to open the a form

My coding falls over on this line.....

Me.Button2.Image = CType(resources.GetObject("Button2.Image"), System.Drawing.Bitmap)
Infact even when i comment out this line it falls over on the next line that refernences an image. I only seem to have this problem with all the images on this specific form. All the other forms in my application work fine.
Here is the error i am getting. does anyone know how to fix??.....

An unhandled exception of type 'System.Resources.MissingManifestResourceException ' occurred in mscorlib.dll
Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure
"frmRes.resources" was correctly embedded or linked into assembly "MyProj". baseName: frmRes locationInfo: MyProj.frmRes resource file name: frmRes.resources assembly: MyProj, Version=1.0.1550.16863, Culture=neutral,
PublicKeyToken=null

I got some advise off someone previously. Here is what they advised me to do.... "Make sure that the resource you're referencing (button2.image) is set as an embedded resource in your solution"

i was told to do this by clicking on the properties tab of the image in question, then changing the Build Action property to Embedded Resource.
The problem is that i when i click on button2 (which has the image in it) i cannot see Build Action in the list of properties!!!
Can anyone tell me how i can fix this?

Any help is appreciated

Nov 22 '05 #2
Hi Varun

Is this a Windows Form? If so, make sure that the form class is the first in
the file. For example, if you have an enum, structure or another class
defined before this class in the file, move it to the end, so that the form
is declared first.

HTH

Charles
"Varun" <an*******@discussions.microsoft.com> wrote in message
news:A1**********************************@microsof t.com...
Hello,

Despite all the advise i have recieved from everyone on this group i still cannot fix this error. I am fast approachin my deadline so i need to fix
this asap :o(
I get the error whenever i try to open the a form

My coding falls over on this line.....

Me.Button2.Image = CType(resources.GetObject("Button2.Image"), System.Drawing.Bitmap)
Infact even when i comment out this line it falls over on the next line that refernences an image. I only seem to have this problem with all the images on this specific form. All the other forms in my application work fine.
Here is the error i am getting. does anyone know how to fix??.....

An unhandled exception of type 'System.Resources.MissingManifestResourceException ' occurred in mscorlib.dll
Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure
"frmRes.resources" was correctly embedded or linked into assembly "MyProj". baseName: frmRes locationInfo: MyProj.frmRes resource file name: frmRes.resources assembly: MyProj, Version=1.0.1550.16863, Culture=neutral,
PublicKeyToken=null

I got some advise off someone previously. Here is what they advised me to do.... "Make sure that the resource you're referencing (button2.image) is set as an embedded resource in your solution"

i was told to do this by clicking on the properties tab of the image in question, then changing the Build Action property to Embedded Resource.
The problem is that i when i click on button2 (which has the image in it) i cannot see Build Action in the list of properties!!!
Can anyone tell me how i can fix this?

Any help is appreciated

Nov 22 '05 #3
Hi Charles

Thx so much for your help
U have just resolved my problem :o

Nov 22 '05 #4
Hi Charles

Thx so much for your help
U have just resolved my problem :o

Nov 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Anurag Saxena | last post by:
If someone can solve this problem,I am using ASP3.0 and IIS on windows 2000 server The complete Error is '''''''''''''''''''''''''''''''''' Server object error 'ASP 0177 : 800401f3' ...
2
by: Varun | last post by:
Hello Despite all the advise i have recieved from everyone on this group i still cannot fix this error. I am fast approachin my deadline so i need to fix this asap :o I get the error whenever i...
33
by: dembla | last post by:
Hey Frnds can anyone help me in this i need a program in 'c' PROGRAM to print NxN Matrix 9 1 8 1 2 3 2 7 3 as 4 5 6 6 4 5 7 8 9 in sorted form
1
by: sohail28 | last post by:
Respected Sir, I try to connect my DB which is present in my hosting server control panel using Dreamweaver MX 2004. Everything is going fine, except while testing connection configuration, its...
6
by: jenipriya | last post by:
Hi all... its very urgent.. please........i m a beginner in oracle.... Anyone please help me wit dese codes i hv tried... and correct the errors... The table structures i hav Employee (EmpID,...
0
by: kavin | last post by:
Hi im having a list of db2 monitoring metrics but i have some confusions in setting the threshold levels.. can any one give me the threshold levels for the below mensioned mertics Applications...
6
by: imnewtoaccess | last post by:
Hi, When I save a query in MS ACCESS 2000, I get the error 'Invalid Argument'. But I can execute the query very well and I get the desired result. But I want to save this query and use it another...
9
by: uppili4chi | last post by:
Good morning my dear friends, I am uppili from India. i am working in one mnc. I need a help very urgent. "My problem i need to write a program for search a file just like search option at...
6
by: martin DH | last post by:
**Urgent Need** I'll throw out the basics and any assistance is very, very, very much appreciated! Access 2003 on XP On a form (frmMain) is an option group of check boxes (ReportFrame) from...
1
by: psantosh12 | last post by:
Hello Frnds Please need help to resolve error.......... it is very very urgent........ The error is Runtime Error Description: An application error occurred on the server. The current custom...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...

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.