473,382 Members | 1,658 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,382 software developers and data experts.

How to manualy add images to a resx file?

Hi there

I have an application that I use to add images toa resx file
The strange thing is that when I retrive the image and use in my
application, all pics a re zoomed in and then cropped, so I have a picture
of the same size as the one I inserted, but with right and bottom edges
cropped down and zoomed to fit the same rectangle.
The image is 80x80 and the cropped area seems to be about 5-10 pixels..
there is any other way to add resourses to embedded resx and retrive
corectly?

Crirus

Nov 20 '05 #1
6 1348
There is a way to use images added to system explorer without using
reflection...?
I need special security for reflection and I dont want that
"Crirus" <Cr****@hotmail.com> wrote in message
news:uj**************@TK2MSFTNGP10.phx.gbl...
Hi there

I have an application that I use to add images toa resx file
The strange thing is that when I retrive the image and use in my
application, all pics a re zoomed in and then cropped, so I have a picture
of the same size as the one I inserted, but with right and bottom edges
cropped down and zoomed to fit the same rectangle.
The image is 80x80 and the cropped area seems to be about 5-10 pixels..
there is any other way to add resourses to embedded resx and retrive
corectly?

Crirus

Nov 20 '05 #2
How about fixing your system clock?
"Crirus" <Cr****@hotmail.com> wrote in message
news:uj**************@TK2MSFTNGP10.phx.gbl...
Hi there

I have an application that I use to add images toa resx file
The strange thing is that when I retrive the image and use in my
application, all pics a re zoomed in and then cropped, so I have a picture
of the same size as the one I inserted, but with right and bottom edges
cropped down and zoomed to fit the same rectangle.
The image is 80x80 and the cropped area seems to be about 5-10 pixels..
there is any other way to add resourses to embedded resx and retrive
corectly?

Crirus

Nov 20 '05 #3
How about it? :)

"Scott M." <s-***@badspamsnet.net> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
How about fixing your system clock?
"Crirus" <Cr****@hotmail.com> wrote in message
news:uj**************@TK2MSFTNGP10.phx.gbl...
Hi there

I have an application that I use to add images toa resx file
The strange thing is that when I retrive the image and use in my
application, all pics a re zoomed in and then cropped, so I have a picture of the same size as the one I inserted, but with right and bottom edges
cropped down and zoomed to fit the same rectangle.
The image is 80x80 and the cropped area seems to be about 5-10 pixels..
there is any other way to add resourses to embedded resx and retrive
corectly?

Crirus


Nov 20 '05 #4
Yes, please correct your timezone.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Crirus" <Cr****@datagroup.ro> wrote in message
news:#T**************@TK2MSFTNGP12.phx.gbl...
How about it? :)

"Scott M." <s-***@badspamsnet.net> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
How about fixing your system clock?
"Crirus" <Cr****@hotmail.com> wrote in message
news:uj**************@TK2MSFTNGP10.phx.gbl...
Hi there

I have an application that I use to add images toa resx file
The strange thing is that when I retrive the image and use in my
application, all pics a re zoomed in and then cropped, so I have a picture of the same size as the one I inserted, but with right and bottom edges cropped down and zoomed to fit the same rectangle.
The image is 80x80 and the cropped area seems to be about 5-10 pixels.. there is any other way to add resourses to embedded resx and retrive
corectly?

Crirus



Nov 20 '05 #5
Well, my time is ok... EEST TIME(GMT+2)
"Tom Spink" <th**********@ntlworld.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Yes, please correct your timezone.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Crirus" <Cr****@datagroup.ro> wrote in message
news:#T**************@TK2MSFTNGP12.phx.gbl...
How about it? :)

"Scott M." <s-***@badspamsnet.net> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
How about fixing your system clock?
"Crirus" <Cr****@hotmail.com> wrote in message
news:uj**************@TK2MSFTNGP10.phx.gbl...
> Hi there
>
> I have an application that I use to add images toa resx file
> The strange thing is that when I retrive the image and use in my
> application, all pics a re zoomed in and then cropped, so I have a

picture
> of the same size as the one I inserted, but with right and bottom edges > cropped down and zoomed to fit the same rectangle.
> The image is 80x80 and the cropped area seems to be about 5-10 pixels.. > there is any other way to add resourses to embedded resx and retrive
> corectly?
>
> Crirus
>
>
>



Nov 20 '05 #6
Okay, it appears to be fixed now, but your post is dated at 13/10/2003 12:20

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Crirus" <Cr****@datagroup.ro> wrote in message
news:#0*************@tk2msftngp13.phx.gbl...
Well, my time is ok... EEST TIME(GMT+2)
"Tom Spink" <th**********@ntlworld.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Yes, please correct your timezone.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Crirus" <Cr****@datagroup.ro> wrote in message
news:#T**************@TK2MSFTNGP12.phx.gbl...
How about it? :)

"Scott M." <s-***@badspamsnet.net> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
> How about fixing your system clock?
>
>
> "Crirus" <Cr****@hotmail.com> wrote in message
> news:uj**************@TK2MSFTNGP10.phx.gbl...
> > Hi there
> >
> > I have an application that I use to add images toa resx file
> > The strange thing is that when I retrive the image and use in my
> > application, all pics a re zoomed in and then cropped, so I have a
picture
> > of the same size as the one I inserted, but with right and bottom

edges
> > cropped down and zoomed to fit the same rectangle.
> > The image is 80x80 and the cropped area seems to be about 5-10

pixels..
> > there is any other way to add resourses to embedded resx and retrive > > corectly?
> >
> > Crirus
> >
> >
> >
>
>



Nov 20 '05 #7

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

Similar topics

5
by: Code Guy | last post by:
Hello, I am trying to execute the following code: private void button1_Click(object sender, System.EventArgs e) { PictureBox c = new PictureBox(); c.BorderStyle = BorderStyle.FixedSingle;...
1
by: Bilal Farooq via .NET 247 | last post by:
(Type your message here) -------------------------------- From: Bilal Farooq Hi, I have following requirements to achieve: I have some images andI am adding them as a resource to a dll....
3
by: Bruno Rodrigues | last post by:
Hi, Everytime I use a image in a Windows Form, Visual Studio.Net creates the image in the respective resx file. This can be very expensive in a project with about one hundred forms, where images...
0
by: prabhupr | last post by:
Hi Folks I'm currently working on a Localization+Globalization project; for this project, we need to generate ".Resx" files and we use "US English" Resx file as the base version, to compare the...
0
by: Steave | last post by:
Hi, using Managed C++ (.Net 2.0), I want to embed some images within an executable using a .resX file, and upon an event (in this case a combo box changing), I want the picture box to update with a...
0
by: SBelzile | last post by:
Hi, We are working on a vb.net WinForms project based on the Composite UI Application Block (VS2005). I have a strange problem. At first, I thought 10 minutes would be fairly enough for me to...
8
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to...
2
by: Nathan Sokalski | last post by:
I have a resource file (*.resx) with several images in it. I am having trouble finding a way to use these images for controls such as Image, ImageButton, and other controls that an image can be...
13
DOSrelic
by: DOSrelic | last post by:
I have an assignment program that uses an array of images that are created from a supporting resource folder but I wish to incorporate them into the final exe file so how do I make an array from the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.