Where can i find my text files?

I am working in a xaml app and am trying to make a text file, and then open it in like note pad. My code does not give me any errors but I can't find the file any where. Here is what I have:
        async void test()
            StorageFolder folder = Windows.Storage.ApplicationData.Current.LocalFolder;
            StorageFile sampleFile = await folder.CreateFileAsync("sample.txt", CreationCollisionOption.ReplaceExisting);
            await Windows.Storage.FileIO.WriteTextAsync(sampleFile, "Swift as a shadow");
I don't know if I can't find it or it is just not being made. 
Thank You for your time.

Hi TomatoMan,
A better way to find where the StorageFile points is to examine its Path in the debugger after calling CreateFileAsync. The path Anne mentions is common, but it is not correct for all systems.
It should exist for your original app so long as the app hasn't been removed. This isn't the appx package itself, this is the application data. The app package will be in the Package.InstalledLocation and is not writeable (in production- it may
be for a test app running from the VS project directory).
The app data location shouldn't be exposed to users, but is only available through the app. If you want the user to be able to find the document outside of the app then you should use a FileSavePicker to let the user choose where to save it.
If you want to programmatically open the file you can call
Launcher.LaunchFileAsync with the sampleFile StorageFile object.
--Rob

Similar Messages

  • Where can I find the physical files of APEX_APPLICATION_FILES

    Dear The Expert,
    I got list of files from "SELECT id,name FROM APEX_APPLICATION_FILES"
    1605213787030003     F1761593527/f101.sql
    1605004091027283     F928641689/f101.sql
    1686620894182663     F1237766750/Doc1.rtf
    1687611599284065     F1530590835/blebul1a.gif
    1609417775069075     F1328258633/lippologo1.jpg
    1685122925154852     F199693486/Doc1.rtf
    1682930319090730     F1852805503/SQLAnywhere12_Full.exe
    1683026294099067     F796050035/New Text Document.txt
    1683131489100554     F823097404/New Text Document.txt
    1683316167115060     F747145779/Product List.rtf
    where can I find the physical files ? .. does it also delete the physical files if I run "DELETE FROM APEX_APPLICATION_FILES WHERE ID = '1682930319090730' ?
    please advise
    thanks & regards
    Luc

    Hi Luc,
    APEX does not create physical file that is in APEX_APPLICATION_FILES table.
    It can only store the file in BLOB format in repository.
    So when we upload file APEX stores file in BLOB column of APEX_APPLICATION_FILES table and then use when needed but no physical file.
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • When I try to open my project, where can I find the requested file 00000.mts2?

    When I try to open my project, I am asked where to find file 00000.mts2?
    I see almost all scenes in my project in color red  with the text 'media off-line'. But it is impossible to find this requested file 00000.mts2 on my computer. What can I do to solve this problem?
    Thank you for your answer.
    Hans

    Thank you. I have done what you told me. It was a long search, but at the end I was succesful. Again: thank you for your useful answer.
    Greetings,
    Hans
    Verstuurd vanaf mijn iPad
    Op 26 feb. 2015 om 00:29 heeft Peru Bob <[email protected]> het volgende geschreven:
    When I try to open my project, where can I find the requested file 00000.mts2?
    created by Peru Bob in Photoshop Elements - View the full discussion
    This is the Photoshop Elements forum.  Are you using Premiere Elements? If so, ask here:
    Premiere Elements
    By the way, if you moved your media files or they are on an external drive, you will have to relink them.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7230757#7230757 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7230757#7230757
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Photoshop Elements by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Where can i find the temp file in oracle 9ias ver 9.0.3

    Hi All,
    When I am trying to deploy stateless session bean(SLSB)in oracle 9ias ver 9.0.3,i am getting the following exception
    SequenceHome_StatelessSessionHomeWrapper3.java:9: SequenceHome_StatelessSessionHomeWrapper3 should be declared abstract; it does not define create (java.lang.String) in SequenceHome_StatelessSessionHomeWrapper3
    public class SequenceHome_StatelessSessionHomeWrapper3 extends com.evermind.server.ejb.RemoteStatelessSessionEJBHome implements sequence.SequenceHome
    and one more where can i find this temp file.I want to see this SequenceHome_StatelessSessionHomeWrapper3.java file..how its possible
    Thanks and Regards,
    Bala

    Try this link - it should always point to the latest iteration

  • Where can i find the cached file?

    where can i find the cached file?.
    while one video was getting cached . I could see the cached file in the cache directory that mozilla firefox uses which in my pc is .....Local Settings\Application Data\Mozilla\Firefox\Profiles\uujksq39.default\Cache. but later on when the full video was completely cached i couldnt find the file existing in that directory and i still have my session of that firefox opened and can watch the video from the firefox session.
    since the cached video is still there ,there most be some place where the firefox is storing that file. is it the case that when the file is big (greater than some threshold value) firefox stores in some other directory?

    You can do a search an the about:cache page.

  • Where can i find the chassis file for import in MAX for drawing connection diagram before purchasing

    where can i find the chassis file for import in MAX for drawing connection diagram before purchasing
    chassis: NI PXIe-1078
    thx

    This board is for an obsolete product called Measure - an add-on for Excel. Please repost with details on exactly what you mean by 'chassis file'.

  • Where can I find the LOG file for bash/command history typed into Terminal?

    Where can I find the LOG file for bash/command history typed into Terminal?
    For 2 weeks ago I was searching for a log file on my server. Somehow I opend a file where I could see a list of all bash-commands I had ever entered into OSX Terminal.
    Now I need this file.. but cant find it.
    What is the official location for this LOG file?
    Thank you so much for helping.

    cat .bash_history

  • Where can I find the xsd file for SQL2012 .dtsx files?

    Where can I find the xsd file for SQL2012 .dtsx files?
    Tom G.

    I would start here. 
    http://msdn.microsoft.com/en-us/library/gg587789(v=sql.105).aspx The xsd is spread out over several of the appendices.
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • What is OASTOAST [Oracle Automated Stress/System Testing], where can I find the installable file. Is it same as OATS[Oracle application testing]

    Hi
    I am trying out the OAST[Oracle Automated Stress/System Testing].
    I could found out one user guide .Apart no other information.
    Where can I find the installable file for OAST. Its not mentioned in the user guide as wel.
    Is it same as OATS?
    Support team aked me to check out in CMS portal, but that didn't help.
    I heared its part of Oracle Certification Environment kit . Where can I get the installation files for it?
    What exactly Ineed to install for it...am kind of lost!!!!!!
    Anybody has any idea, please help me .
    Thanks
    Anirban
    email:[email protected]

    Never heard about OAST in 4 years and half at Oracle...
    Guess this is exactly OATS (aka ATS). SO go ahead with OATS dl and installation.
    JB

  • Where can I find my iweb file in my local system?

    I want to move my iweb content to a hosting service. Where can I find the iweb files to move it on my local system?

    You can publish directly to the server from iWeb via the built in FTP or to a local folder...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html

  • Where can I find my picture files in the finder?

    I download iPhoto with another person's account, so I never could update the new versions; because I don't know the password, and the person cannot enter to the account anymore. Now apple doesn't let me open iPhoto, because the version is too old, 9.2.1 to be exclaty.  Where can I find my picture files in the finder, so I can export them and save them?

    There should be an iPhoto Library in the Users> "user account" > Pictures folder.
    You may also try to see about finding them through the user finder window where it says search for 'all images.'
    Not sure about the rest of that situation.
    Good luck & happy computing!

  • Where can i find my downloaded files in adobe download assistant

    where can i find my downloaded files in adobe download assistant

    You aren't likely to find them in the Adobe Download Assistant.  Try downloading again and see if it specifies where the files will be placed before the actual download occurs.

  • Where can I find my iweb file in my computer?

    Where can I find my iweb file in my computer? I need to take it to a different Mac.
    Thanks.

    I'm sure you searched the iWeb Help and/or  this forum, but couldn't find the answer.
    In this forum : where iweb file
    And the iWeb Help, a great source of information :
    And if you look at the right, you''ll see some similar topics.
    More Like This
    How do I get my saved iweb project to another linked computer?
    Re: Where do I find my iweb files on my computer?
    Re: Cannot modify iWeb site on different computer
    Re: Can Keynote link to an iWeb file that has been published to my computer?
    Where does iWeb store my web page on my computer?  No "save as"

  • Where  can I find crm SIM files

    Hi sap Guru's,
       Please tell me where can I find crm sim files, I have installed sap tutor player, so plz intimate me at id: [email protected],advanced thanks.
    with regards
    sai vishnu.

    Hi Sai,
    1). Goto www.sapsuperusers.com
    2). Create a free account
    3). On the first page click on the button 'ACCESS DOCUMENTS;
    4). Browse topics wise and start downloading.
    What you can get here:
    1). SAP SIM Tutor files
    2). SAP Easy Made guide Books
    3). Third Party product information
    and the list goes on and on.
    <b>Reward points if it helps.</b>
    Regards,
    Amit Mishra

  • Where can i find the backup files stored on my mac?

    where can i find the backup files stored on my mac?

    If you are asking about where iTunes stores backup files, see this knowledge base article for the info.
    If a general statement of backups, then then you have to look at each application to see where it saves according to its preferences window.

Maybe you are looking for

  • PDF files in sender file adapter

    Hi, Can XI pick up pdf files (.pdf)  from a folder using File Adapter? If yes can u send me some blogs on this? Thanks in advance.

  • Restore D: from recovery discs?

    i accidently 'formatted,' er, deleted, D: drive on my Mini 110-1125 W7 while trying to recover from a virus; can i restore it by running a complete system recovery from the discs? (Why is it so easy to delete D:!!!) This question was solved. View Sol

  • Printer does not show up in dialog box after being added

    I've done this a million times, but for some reason today after I add a printer it doesn't show up in my list in Print & Fax dialog of system prefs. It shows up when I try to print from all my applications, just not in my add/delete printer list. any

  • Looping photo slide show

    I've created a series of images that fade in and out. When i run the movie the transition from the last picture which fades out to the first image is not smooth. it transitions from a faded out image to a 100% opacity image. how can i smooth this tra

  • Binding variables / concatination

    can someone explain to me the how the binding variables work and what is the benefit of using binding variables over concatination in a simple term. thanks