settings

Preserving selected printer settings

喜夏-厌秋 提交于 2019-12-01 01:35:13
I have an application that runs through a series of bookings and prints each in turn in the form of an itinerary to send to clients. Each run could be 30 or so bookings so a need to automate this is required and we have delivered it. All works well with our report software (Report Builder for DELPHI) except when the user wishes to use Duplex or some other property of the printer. The first print is OK and will Duplex but all other prints revert to the standard settings. Now I have not found a solution via Report Builder (although their support is pretty good) and was wondering is there a

Background music for game app that will play to all class [closed]

廉价感情. 提交于 2019-12-01 01:30:22
i created a android app game that has a welcome screen named MainActivity.class and will intent in Maimenu.class after 5 sec of sleep. the MainMenu class has start game,settings,about, and high score function. but my problem is i dont know how to make my background music play in all my activities/class it only plays in my welcome screen. i want that the background music will play continously in all my activity/class. 2nd problem is ihave a button ON and OFF in my settings class. how can i turn OFF my background music if i click the button off in my Settings.class. hope you can help me :) i

Custom URL Scheme for Settings on iOS 10?

萝らか妹 提交于 2019-12-01 01:20:03
问题 Any Idea what happened to the Setting's Custom URL Scheme on iOS 10? Is Apple still giving acess to third-pary apps to launch iOS Settings from the app via URL Scheme on iOS10? The Old URL scheme are not working anymore! 回答1: None of the previous methods for launching the root "Settings" app on iOS 8+ were officially supported by Apple, so unfortunately we can't rely on them. It's also possible that apps that relied on the undocumented behaviors could be rejected during App Store review, even

How to start activity Language and input

孤街浪徒 提交于 2019-12-01 00:17:13
I want to open (start) activity named: "Language and input", where the user can change the device language. startActivity(new Intent(Locale....)); It's in the Locale or... settings? Where is it? Satur6ay try this: Intent intent = new Intent(); intent.setComponent( new ComponentName("com.android.settings","com.android.settings.Settings$InputMethodAndLanguageSettingsActivity" )); startActivity(intent); Ammad12 try this Intent intent=new Intent(android.provider.Settings.ACTION_INPUT_METHOD_SETTINGS); startActivity(intent); Use this for open language and settings.. Intent i = new Intent(android

RStudio Proxy Configuration on Windows

好久不见. 提交于 2019-11-30 23:43:16
This question has been asked in: Configure proxy on Rstudio . However, it was never resolved. I am a user of RStudio 0.99.486 version and R 3.2.2 version. I have tried 2 ways to configure proxy settings in the office without success after reading several suggestions: FIRST TRY: Type in Rstudio as first line: Sys.setenv(http_proxy="http://user_name:password@proxy.company_domain.es:8080/") Go to: -Tools, -Global Options, -Packages, and unmark option: "Use internet library/proxy for HTTP" I also unmarked the option: "Use secure download method for HTTP". Besides, I right-clicked on the R x64 3.2

Losing VB.NET “My.Settings” with each new ClickOnce deployment release

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 22:27:09
I am using the built-in My.Settings functionality in VB.NET to save application settings. This is very convenient but I notice that each time I release a new version, the settings are lost. Why and how can I prevent it? You need to manually update your application settings, I use this easy method: Create a boolean setting called MustUpgrade, User scope, default to True. Then write a method to check if My.Settings requires updating, and call it's Update() method if so. Flag your settings as updated, and save. Call this somewhere in your app load. The Upgrade() method will update your Settings

Can I access web.config from my Azure web role entry point?

a 夏天 提交于 2019-11-30 21:12:49
I have an Azure web role and I want to store some settings in web.config under <appSettings> tag. Yes, I'm aware of service configuration files, yet I have reasons to prefer web.config. When I execute (from here ): System.Configuration.Configuration rootWebConfig = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(null); if (rootWebConfig1.AppSettings.Settings.Count > 0) { } settings count is always zero although I've added a key-value pair under <appSettings> . What am I doing wrong? Is it possible to read settings from web.config from inside web role entry point? The

Set or View “Advanced Wi-fi” Settings programatically

ε祈祈猫儿з 提交于 2019-11-30 20:22:53
I need a way to open the "Advanced wifi" settings programatically to let the user change some of the settings, or, preferably, to change these advanced wireless settings programatically. I can only access the wi-fi settings so far via startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS)) but not the advanced settings. Is there a way to open the "Advanced wifi" settings? There are two more settings that might work for you: From the API documentation: Settings.ACTION_WIRELESS_SETTINGS startActivity(new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS)); Settings.ACTION_WIFI_IP

GlassFish v3 - portability of settings

痴心易碎 提交于 2019-11-30 18:57:20
Is there any way to simply copy the GlassFish v3.0.1 server settings (ie connection pools, resources, realms... ) to another GlassFish, so it is not needed to set them manually? This way it would be a lot easier to set up the same development environment. Environment: NetBeans 6.9 + GlassFish 3.0.1 Thanks in advance, Daniel You should just be able to drop your glassfish\domains\<name_of_domain>\config\domain.xml file into your target domain and restart glassfish. 来源: https://stackoverflow.com/questions/3857783/glassfish-v3-portability-of-settings

C# - User Settings broken

半城伤御伤魂 提交于 2019-11-30 18:42:24
We had a rare exception occur when reading the standard .Net user settings (this are the ones found in "project properties" in VS 2008): System.Configuration.ConfigurationErrorsException was caught Message="Configuration system failed to initialize" Source="System.Configuration" BareMessage="Configuration system failed to initialize" Line=0 StackTrace: at System.Configuration.ConfigurationManager.PrepareConfigSystem() at System.Configuration.ConfigurationManager.GetSection(String sectionName) at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName) at System