Is there a way to specify where the .classpath file is located in an Eclipse project. By default it is at the top level of the project. Being able to change that location would be helpful.
hi all, i have several AreaRegistration classes which one each registers own routes and each one have some duplicated elements such as bolded text in below:
context.MapRoute("Search", "**{culture}/{style}**/search",
new
{
**culture = cultureValue,
style = styleValue,**
controller = "search",
action = "default"
},
new
{
**culture = new CultureRouteConstraint(),
style = new StyleRouteConstraint()**
});
how i can have minimum AreaRegistrations with putting duplicated elements in single place which handles that? this is possible?
Hello,
I have Erlang installed on my WinXP machine. Becouse so, I use it by a "werl.exe". The problem is, that I would like to change a default folder that werl starts in. I cannot find option that would let me do that, although I know there must be something like that.
Could anybody help ?
I have a language toggle in my app and it would be really easy to manage if when the user switches language I could present an activityIndicator and reinitialize all the views of the app with the new language default. Sort of how the iPhone settings manage language changes. Is there an easy way to do this?
why do I get a compiler error in the following code stating: Cannot implicty convert type SpecialNode to T even though T must derive from NodeBase as I defined in the where clause and even though SpecialNode actually derived from NodeBase?
public static T GetNode<T>() where T : NodeBase
{
if (typeof(T) == typeof(SpecialNode))
{
return ThisStaticClass.MySpecialNode; // <-- compiler error
}
if (typeof(T) == typeof(OtherSpecialNode))
{
return ThisStaticClass.MyOtherSpecialNode; // <-- compiler error
}
...
return default(T);
}
(Assuming the network folders/permissions are correctly set up and working in Windows, and a 'default' PHP setup...)
Is it possible to use UNC network paths [like \\ServerName\Folder\file.txt] in PHP's functions like file_get_contents(), fopen(), etc?
And/or, what special cases allow/disallow this?
I've got an ASP.NET website that I use forms authentication using the default provider you can setup. This works just fine for the site. The question is can I pass the credentials from the web site to a web app on the same server?
In PHP, While using a switch case loop, can i use the for loop for iterating the cases?
for example
switch .....
foreach($xyz as $abc)
{
CASE:$abc
}
default;
Is this possible?
I know there are many settings for a language for a table and a database.
I already created the database. I believe when I created it, it was default/LATIN. I want to change everything-I mean...both the table and the database, to UTF-8.
How can I do that? thanks.
Hi everyone, I have an application that stores some information in a *.conf file, something like this:
[DEFAULT]
somevar = blablabla
othervar = blebleble
Is there a usual place on a linux system where I can put this file when it is being installed or should I put it on a place related to the application?
Thanks.
The command
hg outgoing
compares the local repo to the default push location; it accesses the push location to do it.
I'd like to ask the question "have I checked in changes in my local repo since my last hg push?" without having to access the remote repo.
It seems like there might be enough info in the local repo to figure that out; if so, is there a command to determine that?
Hello,
How to set GtkComboBox default selectio?
How to Adjust X, Y location of Drop Down menu of GtkComboBox?
I want to display Drop Down menu at the lower edge of GtkComoBox.
Also I want to set text color of Selected text in combo box to white.
Thank,
PP.
Hello, do you know any cross-platform gui toolkit like swt for C (using default widgets in each operating system = right pics on eclipse.org/swt) ? There is an implementation of swt for D language called DWT but I need it for C or C++. Thanks.
$('a').click(function(event){
$('body').html('loading...');
$.post('www.sitename.com/hello',{site:"http//:www.google.com"},function(data) {
alert(data);
});
event.preventDefault();
});
I am using the above script to override the default behaviour of the links .The site reffred here returns the html of the 'site' paraeter.but the page just stops after printing loading...
I'm looking for some general guidance as to how to return a user back to the original page they were viewing after trying to log-in.
The way I have the site setup now is that if a user visits the Store page, for example, and then clicks the login button in the upper right, the user is returned to the default landing page.
Any help would be greatly appreciated!
I have a .NET 2.0 targeted C# windows forms application that is running fine on XP when .NET 3.5 is installed. However, when .NET 2.0 only is installed I get the error:
"WindowsFormsApplication1.exe - .NET Framework Initialization Error" - "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll could not be loaded"
I have tried this with a basic default windows forms application and encounter this error on XP SP1, SP2 and SP3 with .NET 2.0 installed.
Could there be some other step that I am missing?
I have Ruby 1.9.1 installed and by default RubyGems is required. As such, my load path has all my gems included. Is there a way to run Ruby 1.9 without having RubyGems required?
Thanks
What is the registry change to tell Visual Studio to always position the current document in the window to the left.
The default implementation is such that if you have 10 documents open and you are editing the 5th one it's tab will be the 5th tab in the group. With the registry change when you click on the tab for the 5th document it becomes the 1st tab.
After reading a question on @private I understand how that works. However, since all variables default to @protected and you cannot really access a variable without defining an accessor, what exactly does @public do? When would you use it?
Hi,
I am using Visual C++, and I am trying to include a file that uses BYTE (as well as DOUBLE, LPCONTEXT...) , which by default is not a defined type.
If I include windows.h, it works fine, but windows.h also defines GetClassName wich I don't need. I am looking for an alternative to windows.h include, that would work with VC++ and would define most of the types like BYTE, DOUBLE ...
Thanks
hi,
I have a "Search" field in my website and I was wondering if I can assign my View to the search results, instead of using the default list.
Is this feasible ? How ?
thanks
Hi,
In default acegi setting, person and authority have many to many relations. Thus, in addtion to people and authorities, there is a table authotiries-people.
To delete a person (a user) I have to delete the related record in authotiries-people first....then come back to delete the record...
the problem is: other people are still using this authority (ROLE)
could some one enlighten me how to delete the user without deleting the authority?
thanks.
I have a web app where I need to change a drop down list dynamically depending on another drop down list.
I have two options:
Get all the data beforehand with PHP and "manage" it later with Javascript.
Or get the data the user wants through AJAX.
The thing is, that the page loads with all the data by default and the user can later select a sub category to narrow the drop downs.
Which of the two options are better (faster, less resource intensive)?
have to make a PIN protected j2me application, how can a default PIN number be applied to the application so that the user may have to change the PIN on the first run.