How add Image folder with Cab file?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rishabh Indianic
    New Member
    • Sep 2009
    • 22

    How add Image folder with Cab file?

    Hi,

    I am used VS 2005 with c# for developing window mobile application.
    When i create a cab file i add Primary Output and Content files from project.
    The content file contain image folder. When I install application in device using cab file it create a folder which contain the images that i have used in project By Programmaticall y by accessing path " (//Program FIles//Images//Image.jpg1) " it work well. problem is that this content file is also visible for end user and user is easily view and delete images from this folder.
    if the user delete or move this image from folder. my code (path) is not found the image this time the application give error message.


    i want to hide or invisible the content files from end user in device how i create the content files invisible ?
    if there are other way to add the folder in cab file please give me idea.




    Thanx
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Could you embed the images as a resource?

    Comment

    • Rishabh Indianic
      New Member
      • Sep 2009
      • 22

      #3
      No,

      I copy the the folder and and past it in project explorer then i add this folder in cab file by add content folder of project. then i build cab file and install in device.
      cab file create a folder in device and show all images included in that folder.

      i want to hide this images or folder from end user so he not able to perform any action on that folder.

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Just because you copy/pasted them into the project doesn't mean they cannot be compiled as a resource right?
        Otherwise I don't know how you plan to hide the files

        Comment

        Working...