473,404 Members | 2,213 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,404 software developers and data experts.

Saving Loaded images in a picture box

27
i have loaded images (using image boxes) in a picture box, these images can be dragged n dropped but my problem is when i try to save them, none of these loaded images seems to appear in the work area or the picture box..


would anyone know how to do this?
Aug 7 '07 #1
9 1926
pureenhanoi
175 100+
i have loaded images (using image boxes) in a picture box, these images can be dragged n dropped but my problem is when i try to save them, none of these loaded images seems to appear in the work area or the picture box..


would anyone know how to do this?
how did you save the image? can give the code?
Aug 7 '07 #2
akynaya
27
i dont have any code yet.. because i am not sure what to do but i used loadpicture to my image box..
Aug 7 '07 #3
hariharanmca
1,977 1GB
i dont have any code yet.. because i am not sure what to do but i used loadpicture to my image box..

can you explain your problem little bit more and post your front-end and back-end with versions?
Aug 7 '07 #4
akynaya
27
uhmm... i used a command button and loaded an imagebox.

Command1_Click()
Image1.Picture = LoadPicture ("bmp.gif")
image1.visible = true
end sub

then the picture was loaded in the work area or the picture box (which i used)

but when i try to save it... the image does not appear.
Aug 7 '07 #5
hariharanmca
1,977 1GB
uhmm... i used a command button and loaded an imagebox.

Command1_Click()
Image1.Picture = LoadPicture ("bmp.gif")
image1.visible = true
end sub

then the picture was loaded in the work area or the picture box (which i used)

but when i try to save it... the image does not appear.
LoadPicture ("bmp.gif") there should path. So you can save the path of the image.

but when i try to save it... the image does not appear.
check, somewhere you reloding image to that control.
Aug 7 '07 #6
akynaya
27
the path is like

loadpicture ("charts/man.bmp")

but still it doesn'y save correctly
Aug 7 '07 #7
hariharanmca
1,977 1GB
the path is like

loadpicture ("charts/man.bmp")

but still it doesn'y save correctly
do not get the path from the picture control. assigen it directly.

if you are using multipule pictures then you have to use 'control array' and 'string array' to locate the picture path in the string array.


i think this will help you.
Aug 7 '07 #8
pureenhanoi
175 100+
uhmm... i used a command button and loaded an imagebox.

Command1_Click()
Image1.Picture = LoadPicture ("bmp.gif")
image1.visible = true
end sub

then the picture was loaded in the work area or the picture box (which i used)
You are already have the "bmp.gif" from your hard disk. Why did you need another copy of it.
but when i try to save it... the image does not appear.
you did not save the picture yet (because you haven't got the code to save the picture), so why did you know that the picture does not appear.
One addition, imazine that: you already have the code to save the picture. Where do you want the picture appearing in continue?
Aug 8 '07 #9
akynaya
27
i need to save them in a workspace(picture box). what im doing is that i've been loading images and there is a big workarea there or a picture box.

im doing a program like that of a word, wherein you can add a file or image and yet save it as a document... in my case a picture.

would you know how to do it? thank you
Aug 8 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: timeash | last post by:
The code below subtracts two images from one another and determines if there is any new things in the picture. A large enough color change will "register" a pixel. The pixel is then plotted using...
1
by: Lucanus | last post by:
Hi All, Just a quick question, which should have a simple answer... Can I have a document with three images with the same name, and reference those images individually. ie: <img...
1
by: adolph | last post by:
Using Access2000, I would like to resize an image then save it to a new file with the resized size. I'm taking pictures (JPGs) with my digitial set at 3.2 megs. I've figured out how to get my...
2
by: steve | last post by:
Hello, I am trying to import an image file into a form. This would be a persons picture saved in the same directory for every unique record. I don't have any problems making an action button to...
1
by: M Keeton | last post by:
I currently have a picture which is stored in a "System.Drawing.Image" variable and I want to save it as a bitmap file. I have tried 2 different approaches and both give me the following error: ...
16
by: Fred | last post by:
hi, is there some way to prevent(at least for not so advanced users) image saving on local disk; currently i use javascript which handles the right mouse button click, but all it takes is to...
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: jrtiberius | last post by:
What I'm doing is a having scrollbar cycle thru a group of images in a picturebox. Then I have a group of buttons, which change their background image to meet the image displayed in the picture box...
2
by: akynaya | last post by:
im trying to save loaded images. well, im using a picture box and several image boxes.. i want the image box to be saved on the picture box with as many images as possible.. would you know how...
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: 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: 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
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,...
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...
0
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...
0
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...
0
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,...

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.