473,385 Members | 2,005 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,385 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 5948
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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...

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.