How do I select an Image from a folder of many images and load it into an Image control in my data entry screen using vb.net and lightswitch.

คำตอบ How do I select an Image from a folder of many images and load it into an Image control in my data entry screen using vb.net and lightswitch.

  • Monday, April 30, 2012 4:23 PM
     
     

    I have a folder of sutudent picuters on my hard drive. I want the user to select the student's photograph and load it into an image control on the data entry screen while entering a new student. I am using Lightswitch and VB.net

    Thanks

All Replies

  • Tuesday, May 01, 2012 11:01 AM
     
     

    Hi ,

    I have moved this thread to a dedicated forum for better support.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Tuesday, May 01, 2012 1:56 PM
     
     Answered
    In your Designer, Click Add Data Item, Local Property, and set the Type to Image. Drag that property into the Layout. Then change the control type to Image Editor. When you run the application, mouse over the control and you will see a green arrow. Clicking that will allow you to load an image from your hard drive.