Creating and accessing file outside isolated storage

Hello,
I'm trying to learn to write apps in c#. 
I want to create an app that can save my location in a file that I can acces on my computer. 
I was wondering if someone could explain to me how I can create folders and files that I can acces outside of the app, or if there is a site where they already explain this.
I have been searching for a few hours now, but I can't find it.
I hope someone can help me.
Thanks

Hi TomTom93,
As far as I known, we can create folder and files within the isolated storage but we can not acess it
outside of app except some public folders. Because every app has his own
isolated storage and all of them are independent. If you want to save some information which can be access out of the app, I will recommand you use the
WCF Service or database.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Creating Folder and Accessing Files from Folders in mobile phone

    Hello Friends,
    I am doing my project where I need to create folders and accessing files from those folders in java enabled mobile phones.But I do not know the required tasks for this.Any type of help is highly appreciated.
    Greeting
    Saadi

    You have to get the classname of the Items you receive from getitems.
    There you have only to look for Folder.CLASS_NAME. Example:
    ifsFol sorted by names in ascending order (names of folders and files)
    String[] sort_attributes = {"NAME"};
    //sort will be ascending
    boolean [] sort_orders = {true};
    oracle.ifs.common.SortSpecification sort = new oracle.ifs.common.SortSpecification(sort_attributes, sort_orders);
    ifsFol.setSortSpecification(sort);
    PublicObject[] contents = ifsFol.getItems();
    System.out.println("Here are the names of the items in folder: ");
    for (int i=0; i < contents.length; i++) {
    if (contents.getClassname().equals(Folder.CLASS_NAME)) {
    System.out.println(contents[i].getName());
    null

  • Office 2010 & 2007 - Excel and Access File Locking Out On the Network With Multiple Users

    This is also posted in the Office 2010 - IT Pro General Discussions, but was suggested to repost here, since a definitive answer was not found.
    Hi,
    An issue that's happening is that Excel and Access files are locking on the network. We're currently using Office 2007 and 2010.
    Here are some different scenarios that are happening:
    When opening the file it is locked out by “User X” which is the person that has the file locked out and no one else can open the file.
    When opening the file it is locked out by “User Y” which is NOT the actual person, but is locked out by “User X” and no one else can access the file.
    When opening the file  it is locked out by “…another user” which is generic and no one else can access the file.
    The two more common events are incident 1 and 2 with 3 happening the less common.
    This message will continue until the sessions are closed through computer management on the file server.
    The file server is running Windows Server 2003.
    This does happen on both Windows XP and Windows 7 clients.
    This does happen for users using Office 2007 and Office 2010.
    There are two sets of Office 2010 Users when it comes to patches. Everyone has the most current patches with Office 2010 SP2 while anyone that has Microsoft Project 2010 is using all the current update before Office 2010 SP2.
    All users that are using Office 2007 have all the current patches and service packs.
    Another variable is that we have users that will leave a file open on the network for 3+ days and after a while it will lock the file out.
    Also we have Shadow Copy that runs daily on the system which I'm not for sure if that impacts anything if a file is opening during that time.
    Any ideas on how to mitigate the lock out issues would be appreciated.
    Thanks,
    Binary Process
    Edit November 12, 2013: This issue can occur if and if not another person actually has the file open. If the person doesn't have the file open then there is a hung connection which needs to be disconnected by going to the Computer Management of the File
    server.

    Hi Binary,
    I know that the description of the hotfix does not relate to the issue. The purpose is to install it for upgrading SMB related file.
    A similar issue I encountered before:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b7fcc59b-52d9-4a02-863a-1a529bcb8cb1/temp-doc-etc-files-dont-close-after-a-file-closes-this-causes-locked-files?forum=winserverfiles
    It is resolved by upgrading SMB files so maybe it will help on your case.
    Another hotfix which may related:
    http://support.microsoft.com/kb/983458
    If you have any feedback on our support, please send to [email protected]

  • How to view and access files on my iBook G3 from another iMac

    **Hello, everybody on this excelent forum. I need to know how to use my Firewire conection, to view and access files in my iBook G3, from another iMac G3, both are OK in working good condition. I put this question because some days ago a Mac expert fix to me the access in my recent SwapMeet second hand aqcired iMac G3, without the original last owner password.
    this person are egoistic, and DoNot show me how he use the Firewire do this job.
    Thank You: Eduardo from NorthWest Mexico.

    Hello, Niel, Thank You very Much for your fast and kindly responce.
    the next monday I'll buy a new FireWire cable to test the metod you tell me.
    Again thanks and best regards from NW-Mexico.
    Eduardo

  • Server.log and access file previous record are overwrite

    Hi,
    I am having problem that my server.log and access file in all instance have been overwrite by latest record. Suppose all the system.out.print will append to the server.log. However, my problem is the log which has been written to server.log in earlier time (mayb morning till afternoon) is replaced. From the server.log, I am only able to view the log which start from 11 pm. The same case happen to access file as well. This incident is not happen everyday but sometimes.
    I am wondering what is happen and how i can solve the problem.
    Any help/guidance is highly appreaciate.
    Thanks.

    Hi,
    Did anyone know the solution for this issues..
    Thanks.

  • What are message tables and their role?How to create and access them ?

    hi,
    Can any body clarify me about What are messaging tables and their role(use) in DataBase?How to create and access them ?
    Thanks in advance
    Gopi

    If you have doubt that's you have an idea. So, explain your idea please, because I don't see what are "messaging tables".
    Did you say about Oracle database ? Apps ?...
    Nicolas.

  • Unable to view and access files

    Since updating to Yosemite on my MacBook Pro (early 2011), I have been unable to view and access files on my time capsule. I can still access my backups through Time Machine, but not able to view or access the files that I saved onto the device (by method of copy and paste from my laptop hard drive to the TM). Before the "upgrade" to Yosemite I used to open Time Machine, close it, and then the icon of the TM (just like a typical external hard drive) would show up on the desktop. I would double click and open the TM icon and be able to view all the files that I saved onto the hard drive of the TM, as well as a folder that said "Time Machine Backups." Now, all I see now is my MacBrook Pro Icon and a folder named "File Server." and when I double click on either icon there is nothing to view. Please help!

    Try this..
    Reset the TC to factory and redo the setup.. I strongly recommend the following setup.
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Setup the TC again.
    ie Start from a factory reset. No files are lost on the hard disk doing this.
    Then redo the setup from the computer with Yosemite.
    1. Use very short names.. NOT APPLE RECOMMENDED names. No spaces and pure alphanumerics.
    eg TCgen5 and TCwifi for basestation and wireless respectively.
    Even better if the issue is more wireless use TC24ghz and TC5ghz with fixed channels as this also seems to help stop the nonsense. But this can be tried in the second round.
    2. Use all passwords that also comply but can be a bit longer. ie 8-20 characters mixed case and numbers.. no non-alphanumerics.
    3. Ensure the TC always takes the same IP address.. you will need to do this on the main router using dhcp reservation.. or a bit more complex setup using static IP in the TC. But this is important.. having IP drift all over the place when Yosemite cannot remember its own name for 5 min after a reboot makes for poor networking. If the TC is main router it will not be an issue.
    4. Check your share name on the computer is not changing.. make sure it also complies with the above.. short no spaces and pure alphanumeric.. but this change will mess up your TM backup.. so be prepared to do a new full backup. Sorry.. keep this one for second round if you want to avoid a new backup.
    5. Mount the TC disk in the computer manually.
    In Finder, Go, Connect to server from the top menu,
    Type in SMB://192.168.0.254 (or whatever the TC ip is which you have now made static. As a router by default it is 10.0.1.1 and I encourage people to stick with that unless you know what you are doing).
    You can use name.. SMB://TCgen5.local where you replace TCgen5 with your TC name.. local is the default domain of the TC and doesn't change.
    However names are not so easy as IP address.. nor as reliable. At least not in Yosemite they aren't. The domain can also be an issue if you are not plugged or wireless directly to the TC.
    6. Make sure IPv6 is set to link-local only in the computer. For example wireless open the network preferences, wireless and advanced / TCP/IP.. and fix the IPv6. to link-local only. If you use ethernet also do it for ethernet.. this is important.
    You can see the summary of the same thing from apple here.
    OS X Yosemite: Connect to shared computers and file servers on a network
    I have given somewhat more specific instructions which I believe are important.
    With the TC manually mounted can you access the files??
    If not please tell me and I will continue to think how to change permissions.
    But please if you can at least open a directory and tell me what the permissions are currently set to.
    eg. This is a directory on my TC.

  • How to include files in isolated storage

    I am developing an app that has some static files that I need to access.
    I would like to be able to include those files in my VS project and have them loaded to Isolated Storage when the app is installed on the phone.
    I am accessing the file with IsolatedStorage calls, such as:
    if(myIsolatedStorage.FileExists("cb.xml"))
    I have added a file to my project and have set the properties for the file to say it is "content". However, it does not show up in local storage.
    How do I do this?

    Does anyone have links to some sample code to do this?
    Thanks!
    Found these two:
    http://msdn.microsoft.com/en-us/library/ms596994(v=vs.95).aspx
    https://code.msdn.microsoft.com/windowsapps/Accessing-files-sent-with-4b429e23

  • Please help restore DMG missing partition and access file vault.

    I am quite emotional at the moment, if anyone can help me access my files, pictures of my baby daughter and important documents.. I would be extremely grateful and willing do make a donation via paypal.
    I have a 160 GB hard drive, which was partitioned as 30GB Spare and 130GB with my operating system and user files, including my filevault user directory.
    My computer was downloading movies which filled up the 130GB partition, most of the 130GB is contained in my personal filevault user directory, my computer became very slow and unresponsive and i tried to free up space by deleting files which i no longer needed.
    The machine became slow and un-responsive and required a number of forceful shut downs and restarts until the machine would no longer boot up, I inserted the OSX CD and attempted to boot from CD and use disc utility which now only displays my 30GB storage space, I was forced to install OSX on the remaining 30GB partition.
    Now running OSX on the 30GB partition i used DISK DRILL to scan my hard disk for the missing 130GB partition which it did and i was able to save this as a DMG file to a external hard disk, now i am able to get this DMG to mount in the OSX i am running on the spare 30GB space, however i am not able to access the majority of the data inside the file vaulted user account.
    I would like to know, would it be possible to restore the missing partition, as it remains on the HD but seems to be hidden.
    Or is there somehow i can login to the user account on the mounted DMG ?
    I am not very familiar with using terminal and would be extremely grateful for any advice or support leading to the recovery of my files.

    plesehelpme wrote:
    Is there anyway to recover the larger partition ? In disk utility i made the mistake of pressing the - button which has left me with the following: 
    [NO NAME] - is currently where i have installed OSX temporarily.
    And the grey space which contains my previous operating system and all my information which i desperately need to retrieve.
    Is there anyway to restore and boot the missing partition ?
    Probably not.     You've now deleted the partition.  It was probably useless anyway, though.
    When i run disk drill or other disk recovery tools i am able to see the partition including including the files and my personal sparsebundle.
    But you can't open the sparse bundle, much less see any of the files inside it, right?
    Since you've already recovered the (probably-damaged) sparse bundle containing your encrypted home folder, you'll have to work with it.
    I'd strongly recommend making another copy of that on another external HD and putting that "on the shelf" before doing anything else to it.   I suspect you have little chance of recovery, but don't take the risk of further damage.  
    You haven't answered my earlier questions:
    Have you tried to run Repair Disk on either the original or copied partition?
    If that doesn't help, this might:  http://www.thexlab.com/faqs/fixfilevault.html
    Do you have Time Machine backups?
    Obviously, now that the partition has been deleted, you can't run repair disk on it, but try it on the recovered disk image.  
    You need more expertise than either Christopher or I have.  Since Apple no longer uses "legacy" File Vault, it will be more difficult for them to help, too.
    Is your Mac covered by AppleCare?  If so, give them a call. 
    If not, your nearest Apple Store Genius Bar might be able to help:  http://www.apple.com/retail/geniusbar/ 
    Or check for an Apple Authorized Service Provider: http://support.apple.com/kb/HT1434?viewlocale=en_US
    If not, one of them may know of an outside service than can help.  That will be quite expensive.

  • Access files outside of web root?

    Hello, everyone.
    Hypothetical scenario.
    Say I wanted to have a file that would set globally accessible variables for containing passwords, and I want to place said file outside of web root, so users cannot access it.
    Logical paths obviously won't work.  And the cfinclude tag doesn't use physical paths.
    I've never done this, before.  What are my options?
    Thank you,
    ^_^

    Almost all your CFML files should not be in a web-browseable directory!  Only the ones people actually browse to should be web accessible.
    Files do not need to be web accessible to be <cfinclude>-ed or be instantiated as objects, or used as a custom tag.
    EG:
    C:\webapps\myapp <= this dir is the root as far as ColdFusion is concerned
    C:\webapps\myapp\wwwroot <= that dir is the webroot as far as the web server goes
    C:\webapps\myapp\includes <= files you <cfinclude>
    C:\webapps\myapp\api <= CFCs
    The only stuff that should be in that wwwroot dir is files people actually browse to (index.cfm, etc), and asset files like images, JS and CSS which need to be served to the browser.
    The bulk of your CFM files should be in a subdir of C:\webapps\myapp.
    So index.cfm needs to be browseable, and it needs to use the data in secretSecureStuff.cfm which is in the includes dir.  So index.cfm just has:
    include "/myapp/includes/secretSecureStuff.cfm";
    If the file to be included isn't in the myapp subdir structure for whatever reason, then you can create a mapping in CFAdmin or Application.cfc to point to it, eg:
    /external => C:\stuff\somewhere\else
    And you'd reference C:\stuff\somewhere\else\outside.cfm via:
    include "/external/outside.cfm";
    Adam

  • How to create and access a Virtual Host on the J2EE WAS?

    Hello, I have searched through the Forums and help.sap.com and found a lot of information on how to set up a Virtual Host on the J2EE server but am having issues with it working.
    The goal is to provide a simple virtual host on the J2EE Portal server to host some static image and HTML files. Previously I had stored these files in the standard publicly accessible SAP J2EE folder location /usr/sap/<SID>/JCxx/j2ee/cluster/serverx/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/. This location is resolved to when using the URL <host>:50000 for example.
    The main issue here is that during Portal support pack applications this folder gets wiped out and we have to remember to save off any custom files and folders in this location and replace them.
    I would like to create a virtual host to store these static files (i.e., branding-image.jpg, etc...).
    I have run through the process of creating the virtual host both using Visual Administrator and <host>:50000/nwa but am not able to get the virtual host name to resolve properly.
    The following are the steps that I have taken. Let's assume the standard SAP portal (i.e., xSS, etc...) is running properly on <host>:50000.
    1. create virtual host via Visual Administrator/NWA called 'sapwebserver1' by using the Create Host option (takes on the attributes of the 'default' standard virtual host)
    2. change the root directory for this virtual server to a custom folder at E:/tmp/mimes (where E:/usr is where the J2EE files are all installed), no start files were set up and nothing else was changed in the new virtual host record, no permissions were changed on the /tmp/mimes folder from whatever the default Windows user permissions are normally set, I am using a local Windows  administrator account but I have not seen any reference in the help files or the examples that indicate that any specific permissions updates need to be made on the virtual host root folder
    3. restarted the J2EE server as well as the HTTP Provider service
    4. before updating the company DNS, I wanted to test this locally on the server and so have updated the server's local HOSTS file with a <host IP address>   sapwebserver1 entry
    5. from that server I can ping the sapwebserver1 virtual host name and it resolves properly to the machine's physical IP address
    According to all of the documentation and examples I have seen I should now be able to (from that server) launch a browser and access the static files in the virtual host by referring to http://sapwebserver1:50000/branding-image.jpg for example. This is not working and the browser just brings up a Cannot display the web page error in IE. By referring to the virtual host name sapwebserver1:50000 it's supposed to hit the J2EE server and based on the host name sapwebserver1 realize that it should resolve to the root directory E:/tmp/mimes. This is not happening. Just as a test I have created a copy of the 'default' virtual host and called it sapwebserver2, updated the local HOSTS file for this entry, and tried to see if that would work like the 'default' host. My expectation was that http://sapwebserver2:50000 would behave the same was as http://<host>:50000 but it too fails to resolve just like the sapwebserver1 virtual host refernce.
    Would anyone happen to have any pointers on what to do next? I just want a simple virtual host to be able to serve up some static images and files.
    Thanks for any insight or assistance you might be able to provide here.
    Graham

    This defeats the purpose of trying to centralize SAP-related web resources on the SAP server. Typically IIS/Apache or other non-SAP servers are under the control of IT and not the SAP BASIS group.
    We simply would like to have a centralized location to store static web files so that they are not overwritten during Portal support pack applications.

  • Workflow API: adding and accessing file Attachments to a Human Task

    Hi there,
    I am using the Workflow Services Java API (11.1.1) for SOA Suite to access and manipulate human tasks. I would like to be able to access and add file attachments to existing human tasks. I am using the methods provided in the AttachmentType interface.
    When adding an attachment, the problem I am running into is that an attachment does created and associated with the task, however it is empty and has no content. I have attempted both setting the input stream of the attachment, as well as the content string and in each case have had no success.
    I have successfully added and accessed an attachment using the worklist application, however when trying to access the content of this attachment through code I receive an object with mostly null/0 values throughout, apart from the attachment name.
    As the API's are not overly rich in documentation I may well be using them incorrectly. I would really appreciate any help/suggestions/alternatives in dealing with BPEL task attachments.
    Thanks
    The code I am using resembles:
    List attachments = taskWithAttachments.getAttachment();
    for(Object o : attachments){
    AttachmentType a = (AttachmentType) o;
    String content = a.getContent(); +// NULL+
    InputStream str = a.getInputStream(); +// NULL+
    String name = a.getName(); +// Has the attachment name+
    String mime = a.getMimeType(); +// Has the mime type+
    long size = a.getSize(); +// 0+
    Edited by: 855489 on May 2, 2011 4:23 PM
    Edited by: 855489 on May 2, 2011 8:48 PM

    I am also facing the same issue, using 11.1.1.6, anyone managed to solve this?
    Regards
    Venkat

  • How to access files outside a .jar file netbeans project

    Hi, i need to access a file outside a built project inside netbeans. Ideally i would like this file next to the .jar file as myapp.properties. If possible i would like it so that when i am compiling and running the project in netbeans the file can be with the class files or something along those likes. Either way it would be nice to have different code for built projects and just running them outside a jar.
    Heres what i got so far
    properties = new Properties();
                InputStream in = this.getClass().getResourceAsStream("applications.properties");
                properties.load(in);
                in.close();this only works if the file is next to the classes. (think thats called the classpath ? )
    Thanks for any replies!!

    Your wrong code:
    properties = new Properties();
    InputStream in
    = this.getClass().getResourceAsStream("applications.properties");
    properties.load(in);
    in.close();A right code:
    // basic assumption 1: applications.properties
    //  is a pure ISO 8859-1 text file
    // basic assumption 2: the file applications.properties
    //  is stored in the same directory where your
    //  jar file is stored
    properties = new Properties();
    try{
      FileInputStream in      // assume current dir
       = new FileInputStream("applications.properties");
      properties.load(in);
      in.close();
    catch (Exception e){
      e.printStackTrace();
    }

  • Accessing files outside the root of the site.

    Hi All
    On my web host space I have access to a directory outside the
    root of the
    website i.e. "private"
    I want to store files there for download after users have
    purchased them.
    I want to put them here to stop people ripping the files off
    by guessing the
    link or useing a website copier.
    What I plan to do is send a link to the user via email, this
    link will then
    go to a download page which records the user has accessed the
    file and then
    have the page automatically download the file.
    I can do this no problem if I have the files in a directory
    under the root
    of the site but how can I link to the files outside the root?
    TIA
    Bren
    Why do I climb mountains? Simple! because they are there
    www.3peakschallenge.co.uk

    Sorry forgot to mention I am using ASP VB
    Cheers
    Bren
    "Bren" <[email protected]> wrote in message
    news:ejgd9n$427$[email protected]..
    > Hi All
    >
    > On my web host space I have access to a directory
    outside the root of the
    > website i.e. "private"
    > I want to store files there for download after users
    have purchased them.
    > I want to put them here to stop people ripping the files
    off by guessing
    > the link or useing a website copier.
    > What I plan to do is send a link to the user via email,
    this link will
    > then go to a download page which records the user has
    accessed the file
    > and then have the page automatically download the file.
    > I can do this no problem if I have the files in a
    directory under the root
    > of the site but how can I link to the files outside the
    root?
    >
    > TIA
    > Bren
    > --
    > Why do I climb mountains? Simple! because they are there
    > www.3peakschallenge.co.uk
    >

  • Applets and accessing files confusion

    Hi
    I am confused about applets and their abilty to access files.
    I know that applets cannot access files on a users hard drive until given pemission but if i design an applet that needs access to files on the server where it is running will it be able to read and write those files in the same location as the applet without the need to set permissions?
    Any feedback would be great
    Neil

    The applet is very much able to read files from the server. This is easiest done by creating a URL and opening a stream to it:
    URL url = new URL(getCodeBase(), "file.dat");
    InputStream in = url.openStream();
    // read from the stream...
    in.close();
    Saving files to the server is also possible without setting permissions but it's a bit harder. In short, you need some sort of server that accepts a connection and saves what you send it to disk. The server can be eg. a servlet, a database or a FTP server.

Maybe you are looking for