473,770 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Imag e = CType(resources .GetObject("But ton2.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.Resourc es.MissingManif estResourceExce ption' 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.resourc es" was correctly embedded or linked into assembly "MyProj"
baseName: frmRes locationInfo: MyProj.frmRes resource file name: frmRes.resource s assembly: MyProj, Version=1.0.155 0.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 5991
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*******@disc ussions.microso ft.com> wrote in message
news:A1******** *************** ***********@mic rosoft.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.Imag e = CType(resources .GetObject("But ton2.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.Resourc es.MissingManif estResourceExce ption' 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.resourc es" was correctly embedded or linked into assembly "MyProj". baseName: frmRes locationInfo: MyProj.frmRes resource file name: frmRes.resource s assembly: MyProj, Version=1.0.155 0.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*******@disc ussions.microso ft.com> wrote in message
news:A1******** *************** ***********@mic rosoft.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.Imag e = CType(resources .GetObject("But ton2.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.Resourc es.MissingManif estResourceExce ption' 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.resourc es" was correctly embedded or linked into assembly "MyProj". baseName: frmRes locationInfo: MyProj.frmRes resource file name: frmRes.resource s assembly: MyProj, Version=1.0.155 0.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
1972
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' Server.CreateObject Failed /onesource_local/defects.asp, line 41
2
272
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 try to open the a for My coding falls over on this line.... Me.Button2.Image = CType(resources.GetObject("Button2.Image"), System.Drawing.Bitmap
33
3442
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
1328
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 show error "An Unidentified Error has occured". what will be the solution?, plzzz anyone help me to solve this problem... Its very very Urgent...
6
3326
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, EmpName,DeptID,DateOfJoin, Sal, Addr) Finance (EmpID, Sal) Club (Clubname, EmpID, Fee, DateOfJoin) Leave (EmpID, Date) Department (DeptID, DeptName, NoOfEmployees)...
0
1459
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 connected currently in the database >>>>> Percent applications in the database that are waiting on locks >>>>> Maximum number of associated agents >>>>> Stolen agents in the instance >>>>> Stolen agents in an application >>>>> Maximum number...
6
1442
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 one to create a file. Pls Help !!!! Thanks In Advance.
9
1627
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 start menu in our computer". plse give idea, if it possible code.. its very urgent...........
6
2906
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 which a user can choose a specific report to generate. The user selects the report of choice then presses a comand button (CmdRunRpt). The command button runs using the code below: Private Sub CmdRunRpt_Click() If ReportFrame = 1 Then...
1
2122
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 error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of...
0
9617
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10099
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8929
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7451
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3607
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.