I have some text files in my project and I want their content to be available in the PC and Phone version with the same Microsoft Account.
Here is a screenshot of what I mean:
My text files in the project
The Content of the files are less than 100KBs and I believe I can use roaming, but I don't have any idea of how to do that.
Can somebody help me please?
Have a look at the Application data sample which is part of a huge set of API samples for Windows 10 on GitHub.
https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/ApplicationData
Related
I can generate images from GCode files, but I don't know how to add a preview in Windows File Explorer for every image.
I would like to achieve this:
LINK
I never done this
PS. I'm using .Net C# WinForms.
Thanks advanced,
Steve
You could create your own dialog service.
I am creating an android application in Unity 5.4.0f3 and I am using some videos and images for the app. My problem is that my file size is too much bigger than a typical android app because the videos and images are in the assets. Someone tells me that it is possible for the app to just call these videos and images from the SD Card (outside of the file itself). How can I do this? I am an absolute beginner in Android development. Please help me. Thank you in advance.
Have a look at this answer in the unity forums:
http://answers.unity3d.com/questions/317048/android-writing-to-applicationpersistentdatapath.html
You can get the path to the SD-Card of the Android device by using
Application.persistentDataPath
Remember to check that the path exists before trying to write files to it. Also note from the answers in the unity forum link that the path may or may not point to the SD-card depending on the specific Android device's settings.
Edit: From what I can find with some googling, most games that are large will have a small installer and then after having started will download the assets to the SD-card within the application and later use them in the game.
I've been looking around on the web for an answer to a perplexing problem. I'm trying to code a program in C# and I'm looking for a snippet of code that'll take any information a user would input, i.e using a textbox or a check box, and transfer said information onto a .PDF file that I've added as a resource.
Right now I'm using Visual Studio 2008 for my coding, any help would be appreciated.
You can use librairies to create PDF on the fly:
ITextSharp
PDF's are a proprietary format. PDF4Net is a pretty good library for merging information via XDF into PDF's, but you are going to have a lot of trouble trying to do this on your own natively.
I need to make a windows desktop application in c# that downloads all the PDFs from a website. I have the link to the website but the problem i am facing is that the PDFs are not in a specific folder on the website but are scattered all over.
The thing i need is help at finding all those links so i can download them or any other advices that could help me with my problem.
Thanks to all help in advanced.
Scrape through all the pages
Find all the "*.pdf" URLs
Reconstruct them and simply download :)
Please be more specific are you trying to get all the PDFs from the html page or from the whole domain ?
What you are trying to do is known as Web scraping, there are some libraries which can make your task easy one of them is IronWebScraper but its paid one.
An extensive list of NuGet packages is available here which can be used for web scraping purpose.
I was wondering if anybody had heard of a library, preferably a .NET assembly, but Java will do as wel, that allows you to read the data in a Guitar Pro file (.gp3-gp4-gp5)
I have this gigantor of a folder with about 50.000 song files, and would really love to write something that can actually archive all these files, for easier searching. And basic information like the tuning of the instruments in the song would be very useful parameters to retrieve from the file and add to the database.
I have searched the web but have yet to find anything like this, or a file definition for writing my own parser.
Thank you in advance for any information on the subject.
TuxGuitar is an open source Java application that includes classes that read Guitar Pro files. If should be probably more that sufficient for reading basic metadata.
Your other option is using reverse-engineered file format documentation - there's one from DGuitar project.
Your third option is trying to re-use some code from KGuitar project, that also include Guitar Pro 3/4/5 files importing clasess, but it's in C++ and Qt.
Please look through my open source project that is written in C# for Windows Phone7:
http://phoneguitartab.codeplex.com/
This is tablature viewer for Windows Phone 7. It can open guitar pro (.gp3, .gp4, .gp5) and text based files (I've used open source projects in Java to create guitar pro parser in .NET). Unfortunately it isn't finish yet but I hope you find something useful in this project.
Update: GuitarPro functionality was moved into branch