I am developing a Java Desktop Application. This app needs a configuration to be started. For this, I want to supply a defaultConfig.properties or defaultConfig.xml file with the application so that If user doesn't select any configuration, then the application will start with the help of defaultConfig file.
But I am afraid of my applic...
I'm facing some problems after installing Trac on my Windows 7 Ultimate 64bits using BitNami.
The Issues are:
Subversion Control
During the installation process, when the BitNami setup asks for the project repository directory, it only accept if you write a path that doesn't exist, otherwise you can't continue. So i got forced to point...
Hi Guys,
I wrote a simple batch file which checks whether the c drive path exists then execute the exe in that path else try the d drive path and execute it.
IF EXIST c:\program files\x goto a
ELSE goto b
:a
cd c:\program files\x
executable.exe c:\temp\col.zip
:b
cd d:\program files\x
executable.exe c:\temp\col.zip
Im getti...
We're working with some very large config files which contain lots of Unity and WCF configuration.
When we open some of these configs in the SVC config editor or even try to open a web application using these configs, we recieve errors showing any typos or errors. E.g. a WCF binding is invalid or does not exist etc, or a configuration s...
I have a database and a site having forms authentication. It is working fine with VS2008. This time, I am using "Trusted_connection =True". But when it is opened from outside or directly from browser then I am getting error "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."
I know this is due to permission. SQL server is based on w...
I would like to define and initialize some variables in web.xml and the access the values of these variables inside my Java application.
The reason I want to do this is because I would like to be able to change the values of these variables without having to recompile the code.
What is the best practice for doing this? Most of the v...
Can anybody please tell me the registry setting(s) that are affected in Windows Mobile 6.1 when a user selects Start -> Settings -> Connections -> Wi-Fi and then changes the value of the "My network card connects to" drop down list on the "Network Adapters" tab?
I have a device that seems to default this to "The Internet" when in fact t...
Hi everybody,
I'm working hard on making my product work seamlessly on Windows 7. The problem is that there is a small set of global (not user-specific) application settings that all users should be able to change.
On previous versions I used HKLM\Software\__Company__\__Product__ for that purpose. This allowed Power Users and Administr...
Is it possible, to configure the following behaviour in application.ini?
<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initAdminModuleAutoloader()
{
$this->_resourceLoader = new Zend_Application_Module_Autoloader(array(
'namespace' => 'Admin',
'basePath' => APPLI...
I'm writing code that will allow my iphone-app to have a "configuration page".
A grouped, scrolling, UITableView... with cells that contain the needed textFields, switches, sliders, etc.
It is an ENOURMOUS amount of code. Is there an easier way?
Is there a way I could create a simple text-file, contain all my desired design choices a...
Hi, I am working on a project and I need to save user configuration. The configuration is a set of Jchechboxes I need to store their state (true, false). Which do you think is the better way of saving it, in a file and if yes in what (ini, cfg, txt), or it is better to serialize the object with the states?? Or if there is another way, pl...
I have a problem getting Mercurial to recognise my editor. I have a file, c:\windows\notepad.exe and typing "notepad" at the command prompt works. I can commit by using the "-m" argument to supply the commit title. But a simple "hg commit" brings up the error.
A call to "hg --traceback commit" brings up:
Traceback (most recent call las...
Is there anyway to disallow publishing Debug builds when publishing ClickOnce aplications using Visual Studio 2008?
I know this was asked before, but i can't figure out how from the answer. THe Accepted answer for previous question was:
One thing you can do is add a
condition to the .csproj or .vbproj
file that MSBuild will chec...
Hi,
I am writing an application, where I do have few different windows implemented, where each window is a separate class. Now I need somehow to pass a single configuration object to all of them. My GUI is designed in way, where I have one main window, which may create some child windows of its own, and these child windows can have thei...
Is it possible to configure nginx to run a unix command based on a url?
For example:
http://localhost/list/usr/local
This runs:
ls /usr/local
Then returns the results?
...
Hello y'all,
A general question on what everyone's opinion is on storing SQL queries within a configuration file?
Is this just another bike shed?
Cheers,
Ben
...
I have a newly configured Windows Server 2003 VM.
One of the issues with the old VM was that whenever I open up "Component Services" from "Administrative Tools", the performance is very bad. It takes several minutes to create new COM+ applications and add components where it used to take only a few seconds.
I have many components to i...
I need to reload the configuration file after modifying it. How this can be done using appdomains? A code sample would be useful. Thanks.
...
Is it possible and how to instantiate a custom System.Configuration.ConfigurationSection derived class from a different source (not dependent on App.config)?
Here is what i want to get:
[TestMethod]
public void WorkWithALoadedConfiguration()
{
ProjectConfiguration projectConfiguration =
LoadProjectConfiguration(filenameOrStreamOrXE...
I've got a program where a lot of classes have really complicated configuration requirements. I've adopted the pattern of decentralizing the configuration and allowing each class to take and parse the command line/configuration file arguments in its c'tor and do whatever it needs with them. (These are very coarse-grained classes that a...