Questions tagged [application-data]

54 questions
31
votes
6 answers

How do I find the Windows common application data folder using Python?

I would like my application to store some data for access by all users. Using Python, how can I find where the data should go?
David Sykes
  • 48,469
  • 17
  • 71
  • 80
30
votes
3 answers

How do I get the application data path in Windows using C++?

I looked all over the internet and there doesn't seem to be a decent solution that I could find. I want to be able to programmatically in C++ obtain the path "%ALLUSERSPROFILE%\Application Data" that explorer can translate into a real path. Can I do…
Brian T Hannan
  • 3,925
  • 18
  • 56
  • 96
17
votes
4 answers

Where to put common writable application files?

I thought that CSIDL_COMMON_APPDATA\company\product should be the place to put files that are common for all users of the application and that the application can modify, however, on Vista this is a read-only location, unless modified by the…
dennisV
  • 1,119
  • 3
  • 19
  • 34
9
votes
2 answers

Where to save application data in .NET application

My application is something similar to a Contact Manager. Let's say a user can enter contacts with their addresses. I have the code and technology to save my contacts to a file. But where do I save that file? Considering this is a .NET application…
Peter
  • 13,733
  • 11
  • 75
  • 122
7
votes
2 answers

Where should I store machine-wide application settings for non-roaming users?

I have a WPF application that must run for all users of a machine with the same settings. The settings must be read/write. I have previously been storing user configuration settings in CommonApplicationData, for example var settingsFile =…
Martin Doms
  • 8,598
  • 11
  • 43
  • 60
7
votes
0 answers

How to use applicationData in PKPaymentRequest (ApplePay)?

I want to set pass through variable on Apple Pay, I set the NSDictionary as JSON data like: PKPaymentRequest *request = [[PKPaymentRequest alloc] init]; [request setApplicationData:[NSJSONSerialization dataWithJSONObject:@{@"name":@"USER_NAME"}…
ajay agrawal
  • 247
  • 4
  • 9
6
votes
3 answers

Shared data location for Linux and Mac OS X

On Windows, there is a standard location for application data that is shared in common with all users on the machine (i.e. in Vista/7, (root):\ProgramData). I'm looking for a way to get such a folder on other platforms using Qt. Does Qt provide a…
Dave Mateer
  • 17,608
  • 15
  • 96
  • 149
5
votes
2 answers

Program data folders in Linux

This is a more general and noob question. I am developing a small application in Linux (Ubuntu, to be more precise) and at this point I have an executable, a shared library (.so), a configuration file (.conf) with some settings to be read by the…
ali
  • 10,927
  • 20
  • 89
  • 138
4
votes
2 answers

ApplicationData using in Console with UWP parameters

I'm trying to follow UWP with Desktop Extension – Part 2 of UWP and WinForms desktop-bridge calling the processes and passing parameters. This example Console Program.cs code includes parameters string: string parameters =…
user11137294
4
votes
1 answer

Windows Phone 8.1 How to permanently remove Roaming Settings?

I've stored some data in the ApplicationData.Current.RoamingSettings following the Example here http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh700362.aspx . The problem is that after storing the data in the RoamingSettings and then…
Valerio
  • 278
  • 1
  • 6
  • 18
4
votes
1 answer

SHGetFolderPath() for a specific user

I'm looking for a good way to get the local application data folder for a specific user -- without having to enter the login details for that user. SHGetFolderPath() can accept an access token for whatever user I want to get the local appdata folder…
beepboopbopbop
  • 141
  • 2
  • 6
2
votes
1 answer

How can I access hidden app data stored in Google Drive?

I have an iOS app that stores data in Google Drive as hidden app data. How can I access the hidden app data for this app (besides using the app itself)? (A similar question has been asked and answered here, but in reference to an Android app. The…
fivestones
  • 119
  • 2
  • 12
2
votes
1 answer

UWP - How completely delete all data written in LocalSettings?

I'm working on a UWP app and I need data to be stored as the setting. I use ApplicationData.Current.LocalSettings and I store a mix of simple data and composite data in it. When my app user wants to end its session, I want all data that I stored…
TheSETJ
  • 518
  • 9
  • 25
2
votes
0 answers

Windows phone 8.1 ApplicationData.Current.LocalFolder Size limit?

I am developing windows phone 8.1 runtime application, I need to store mp3 files in local folder of app, to avoid access to user. But to do this Is there any size restrictions or file count restriction to store files on local storage. any suggestion…
vITs
  • 1,651
  • 12
  • 30
2
votes
3 answers

Is there a standard practice for storing default application data?

Our application includes a default set of data. The default data includes coefficients and other factors that are unlikely to ever change but still need to be update-able by the user. Currently, the original default data is stored as a populated…
Rox Wen
  • 253
  • 1
  • 4
  • 12
1
2 3 4