Saving Loaded images in a picture box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akynaya
    New Member
    • Jul 2007
    • 27

    Saving Loaded images in a picture box

    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?
  • pureenhanoi
    New Member
    • Mar 2007
    • 175

    #2
    Originally posted by akynaya
    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?

    Comment

    • akynaya
      New Member
      • Jul 2007
      • 27

      #3
      i dont have any code yet.. because i am not sure what to do but i used loadpicture to my image box..

      Comment

      • hariharanmca
        Top Contributor
        • Dec 2006
        • 1977

        #4
        Originally posted by akynaya
        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?

        Comment

        • akynaya
          New Member
          • Jul 2007
          • 27

          #5
          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.

          Comment

          • hariharanmca
            Top Contributor
            • Dec 2006
            • 1977

            #6
            Originally posted by akynaya
            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.

            Originally posted by akynaya
            but when i try to save it... the image does not appear.
            check, somewhere you reloding image to that control.

            Comment

            • akynaya
              New Member
              • Jul 2007
              • 27

              #7
              the path is like

              loadpicture ("charts/man.bmp")

              but still it doesn'y save correctly

              Comment

              • hariharanmca
                Top Contributor
                • Dec 2006
                • 1977

                #8
                Originally posted by akynaya
                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.

                Comment

                • pureenhanoi
                  New Member
                  • Mar 2007
                  • 175

                  #9
                  Originally posted by akynaya
                  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?

                  Comment

                  • akynaya
                    New Member
                    • Jul 2007
                    • 27

                    #10
                    i need to save them in a workspace(pictu re 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

                    Comment

                    Working...