Click here to Skip to main content
16,020,811 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have an application form. If I take a photo from my laptop, it should directly come to that form.
Please suggest me the code. How can I do without scanning?
Posted
Updated 23-Oct-10 22:35pm
v3

What you are asking is a simple image display at runtime.
Steps:
1. Have a image control and file upload control on your form
2. When one selects th image using file upload control, you will get the path of the image
3. Set the found path to image source path of image control
4. Selected image would be displayed in image control now. Done.
Try!
 
Share this answer
 
Comments
ramesh322123 27-Oct-10 7:49am    
i dont want upload control directly it should come to form
You need to scan the image into you program - this can be done by using the third party Twain control as shown here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900