473,765 Members | 1,940 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 5986
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
3436
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
1327
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
3325
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
1457
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
1440
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
2905
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
9566
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
9393
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10153
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
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...
0
9832
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
8830
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
7371
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...
0
6646
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3921
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

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.