473,385 Members | 1,351 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.

Picture

Hello.
In picturebox I have loaded some picture

picturebox.image.fromfile(......)

It's ok. But Have can I cancel Image from picturebox.
Thanks.
Nov 21 '05 #1
3 1155
Hi,

Picturebox.image = nothing

Ken
----------------------------
"Rado" <r-****@szm.sk> wrote in message
news:uk**************@TK2MSFTNGP15.phx.gbl...
Hello.
In picturebox I have loaded some picture

picturebox.image.fromfile(......)

It's ok. But Have can I cancel Image from picturebox.
Thanks.

Nov 21 '05 #2
That works in code but how do you cancel an image that has been set using the
properties image at design time. For example, I have a button that I set the
image property to an icon file at design time. Now I've changed my mind and
don't want to use any image in this button. How do you get rid of it? If I
select the properties Image again, there is no option to set it to nothing.
The only way I've found is to just delete the damn thing and start over with
a new button.

"Ken Tucker [MVP]" wrote:
Hi,

Picturebox.image = nothing

Ken
----------------------------
"Rado" <r-****@szm.sk> wrote in message
news:uk**************@TK2MSFTNGP15.phx.gbl...
Hello.
In picturebox I have loaded some picture

picturebox.image.fromfile(......)

It's ok. But Have can I cancel Image from picturebox.
Thanks.

Nov 21 '05 #3
>Dennis sat down and scribbled:
That works in code but how do you cancel an image that has been set
using the properties image at design time. For example, I have a
button that I set the image property to an icon file at design time.
Now I've changed my mind and don't want to use any image in this
button. How do you get rid of it? If I select the properties Image
again, there is no option to set it to nothing. The only way I've
found is to just delete the damn thing and start over with a new
button.

"Ken Tucker [MVP]" wrote:
Hi,

Picturebox.image = nothing

Ken
----------------------------
"Rado" <r-****@szm.sk> wrote in message
news:uk**************@TK2MSFTNGP15.phx.gbl...
Hello.
In picturebox I have loaded some picture

picturebox.image.fromfile(......)

It's ok. But Have can I cancel Image from picturebox.
Thanks.

You can select the text in the 'Image' property and hit delete. It will
then revert back to '(none)'.

--
Cheers

Rick
Nov 21 '05 #4

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

Similar topics

4
by: Chris | last post by:
Hi, I am trying to set the position of a picture inside a picturebox with the folowing code: pctOutput.Picture = LoadPicture(App.Path & "\picture.bmp", , , , ) I didn't know what to fill...
10
by: Chris Coho, Jr. | last post by:
Ok, I'll explain the whole problem because there may be several ways to solve this and hopefully someone knows one. What I'm doing is creating a specialty template editor, similar to say a corel...
2
by: Sandra Setz | last post by:
Hi, I was wondering if someone could explain to me what the difference is between the width propery of the picture property of an image and the width property of the image itself. I would...
3
by: Sandra Setz | last post by:
Hi, Is it possible to assign the Picture property of a picturebox to the Picture property of an image control? I use an invisble picturebox to make some changes to a picture, but I want to...
2
by: Lyn | last post by:
I am trying to embed a picture into a Bound Object Frame (Me!Photograph) with the following code which is based on MS article http://support.microsoft.com/?id=158941: strPathname =...
6
by: John Ortt | last post by:
Hi there everyone, I have a part info form which has a faded image of our company logo as a background. I want to replace the faded image with a bright red warning image on items which have run...
4
by: NASAdude | last post by:
I'm working on distributing a database using VS Tools for Office, and am having trouble with linked images on forms/reports. The image objects have a default path\file set on the .Picture property,...
6
by: Jeff | last post by:
Hey (and thank you for reading my post) In visual web developer 2005 express edition I've created a simple website project.. At this website I want users who register to be able to upload a...
3
by: raghunadhs | last post by:
hi all! i have a picture box, in that picture box, there is a picture asume it as "pic1.bmp".. now i have made some changes in that picture. Now i want to load a picture to a image( my form...
1
by: orson4music | last post by:
I have two picture boxes on my form. One on top of the other. The top most picture box's movement is restricted within the picture box below making it look like the top most picture box is contained...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
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: 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:
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
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...

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.