Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Saving back ground image of a form

Saving back ground image of a form

Scheduled Pinned Locked Moved C#
databasehelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sindhutiwari
    wrote on last edited by
    #1

    hi My aim is to store the background image of a mdi child i am setting the image by using a open file dialog box , database used here is ms-access ... i have the code for saving the image into ms access its working fine on the pictureboxes at the time of storing image of the form its giving an error the file is already in use by another programme if any one have any clues please let me know sindhu tiwari

    its me sid

    N M 2 Replies Last reply
    0
    • S sindhutiwari

      hi My aim is to store the background image of a mdi child i am setting the image by using a open file dialog box , database used here is ms-access ... i have the code for saving the image into ms access its working fine on the pictureboxes at the time of storing image of the form its giving an error the file is already in use by another programme if any one have any clues please let me know sindhu tiwari

      its me sid

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Show me the code you are using for setting form background and retrieving it to store in database.


      My Website | Ask smart questions

      1 Reply Last reply
      0
      • S sindhutiwari

        hi My aim is to store the background image of a mdi child i am setting the image by using a open file dialog box , database used here is ms-access ... i have the code for saving the image into ms access its working fine on the pictureboxes at the time of storing image of the form its giving an error the file is already in use by another programme if any one have any clues please let me know sindhu tiwari

        its me sid

        M Offline
        M Offline
        Mohib Sheth
        wrote on last edited by
        #3

        Are you storing the image or the path of the image? If you are storing the image.. then do this. Image im = Form.ActiveForm.Image; and then save the image... If you are storing the path.. then just store it in string :) Thanks.

        ------------------------------------------------------------------ Life would have been much easier if I had the source-code!!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups