Is there an equivalent to browser cookies for Smart Client / Click Once application development on .NET 3.5? Some place I can store cookies on the user's machine rather than the server.
Or to put it another way - what file location can you write to from a sandboxed Click-Once app that won't violate good security practices. I don't wa...
I want to allow the user to enter a valid date using the iPhone’s settings application.
I have experimented with many of the PreferenceSpecifiers data node types including date.
I have two issues:
When I specify date as the type, my app within the settings app crashes. Working examples would be greatly appreciated.
Since this approac...
I've got a web application with an NHibernate Data Access Layer. I have a large number of user preferences that can be stored, these are mainly booleans for example registering that a dialog has been dismissed and should not be showed again.
The problem is that with NHibernate I need to add to my database schema, and add a property to ...
Hi All,
I'm looking for a mechanism by which to facilitate user preferences. I also want to have a set of "master" prefs that are used if the currently logged in user doesn't have a specific pref set. I see several questions similar to this, but they seem to get into theory instead of simply proposing a quality solution.
Basically I'...
Hi, this may not be strictly about programming, but if I find no ready-made solution it may become a programming task: On UNIX, what is a command-line method for determining the user-preferred application for a given filetype?
My ideal solution here would be a command that stopped me having to do the following:
okular foo.pdf
And al...
I have an AppDelegate class with +(void)initialize method that I use to register some defaults. Here's the code that I use:
+ (void)initialize {
NSDictionary *defaults = [NSDictionary dictionaryWithObjectsAndKeys:@"NO", @"fooKey", @"YES", @"barKey", nil];
[[NSUserDefaults standardUserDefaults] registerDefaults:defaults];
}
I also...
I want to know what are the best ways/practices of handling user settings in a program. I'm writing a program and want to allow users to save settings which can be loaded automatically as soon as the program starts. I'm not just asking for codes, but the best practices of handling such as how to handle the settings at run time, should I ...
My iPhone app has few settings that users is likely to change quite often. I would like to know if there's any suggested way of handling such settings (reading and saving them). On Apple sites I found only a tutorial about integrating your application settings with Settings app (link) but I don't want a user to exit my app so he could ju...
Hi,
I need a way to handle user preferences in a file. Of course, users can update their preferences.
What is the best way to do that ?
.ini file or .xml file ...
Any snippet to start with ?
TIA
...
I have an app using a SQLite db, and I need the ability for the user to move the data file and point the app to where it moved to. I used the Entity Framework to create the model, and by default it puts the connection string in the App.Config file. From what I've read if I make changes to the connection string there then they won't take ...
How do you change the font face and font size used by the Windows Ribbon Framwork's UIRibbon?
The font used by the ribbon does not match the font the user has chosen as their Windows preferences - which is the preference my application uses. This means that as the font in Windows gets bigger, the ribbon gets smaller:
Here an an older...
Hello,
I am in the process of renovating our CMS and I've run into a situation that I don't know which solution to adopt. Basically each one of our clients houses their website's content in their own database. This includes content, surveys, search words used by visitors, menu strucutre, etc.
A lot of the content on our clients' websit...
Hello,
I'm trying to build a small application using Java and SWT for the GUI. I'm looking for a way to store in some file the preferences set by the user, I mean, if the window was resized then that new size should be saved for next time the application starts. The same thing with some controls like textbox and so on.
I came up with t...
Hi, I am currently in the planning phase for a scheduling and data tracking software. I want to let the primary user add password protected profiles to the program so that different people can use the program with access to different sets of the data and different capabilities. On of the things that I would like to add is the ability to ...
How do you use DwmGetColorizationColor?
The documentation says it returns two values:
a 32-bit 0xAARRGGBB containing the color used for glass composition
a boolean parameter that is true "if the color is an opaque blend" (whatever that means)
Here's a color that i like, a nice puke green:
You can notice the color is greeny, and th...
I'm trying to figure out a good solution for sending email notifications based on user preference. Users can set up notifications to come
Everytime the event occurs
Once an hour
Once a day
Once a week
Would the best way to do this be to set up a crontab that runs a .php every minute checking to see if anything needs to be sent out? ...
Like most software, users are able to specify how they'd like to handle certain things. In my case, users can specify what kind of formatting they would prefer. There are 3 options, leave unformatted, camel case or proper case. I currently have it working but it feels very clunky and repetitive. Here is a jist of the class.
public stati...
is there a way to reprompt the user to choose a default activity for an intent? For example, user selects his default home apk and I want him to reconsider his choice once again.
I know how to do that on 2.1 and before, but is there a way to do that now on 2.2?
Famous Home Switcher, which did similar thing, does not work on 2.2 anymor...