As you can see in Windsor wiki
There is a class named FromAssembly to help me with installers. But i'm unable to find it anywhere in Castle.*
I'm using .NET 4
Hi,
I want to define a type named Int_1_100_Type which is an integer variable in the range from 1 to 100.
How should i typedef this one?
for eg:
i am passing this variable to a function which accepts variable of type Int_1_100_Type.
i.e funca(Int_1_100_Type Var1)
Thanks
Maddy
Hi,
i was wondering if anyone knows if theres a connection between what a navigation item is named and the page heading it goes to - does this have an impact on SEO?
so for example, if i had in my navigation menu an item called About Us, but when you click it you come to a page with the heading Learn Who We Are (i.e. wrapped in [h1] heading tags)
because there isnt an exact one-to-one match, is that a bad thing in terms of SEO?
thanks
I'm doing an IE automation using WatiN.
When a file to be downloaded is clicked, I get the following in the Internet Explorer Information bar:
To help protect your security,
Internet Explorer has blocked this
site from downloading files to you
computer.
I added a registry key to,
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ZoneMap\Domains\
then a REG_DWORD value named "http" with value==2 as given in http://stackoverflow.com/questions/972345/programmatically-add-trusted-sites-to-internet-explorer
but still facing same issues. Can some1 advice on this....
I'd like to duplicate the find feature (Ctrl-F in Firefox) for my users.
In other words, a text box that as the user types, it finds the first occurrence of that text, and if they press "Next", it highlights the next occurrence and moves the page if necessary.
I'm thinking the search input would have to be in a div that remained fixed, and as it found what it was looking for, would insert a named anchor just before it and then follow the hyperlink.
Do you think this can be done?
Hello.
Some of the old projects in our company are left to be built with VS2005 in autobuild system (making them build correctly in 2010 cost time). Is it any addins for VS2010 that will allow to open VS2005 project and edit it's files without converting project file itself to VS2010 format (converting will kill autobuild)? Of course i can create a separate project named "xxx_vs2010.vcproj" for each of such products, but that will be a mess :(.
I have an enumeration of type int in my entity, UserStatus.
I want to get all users where the UserStatus < Cancelled.
So:
Session.CreateCriteria(typeof(User))
.Add(Expression.Eq("UserStatus", (int)UserStatus.Cancelled)
.UniqueResult<User>();
The above is fore equal, I need to get not equal.
Imagine a have a table with a column named status:
status
------
A
A
A
B
C
C
D
D
D
How can I count how many rows have A, how many rows have B etc?
this kind of output:
A |B |C |D |E
------------------
3 |1 |2 |3 |0
As for E = O , this will always be A,B,C,D and E
Output should be one row (thus 1 query).
When doing a distinct count (most returning answer on my searches, it does return how many different elements there are, 4 in this case...)
I have learned how to create a simple website with the Zend Framework. Now suppose I want to put it on some web hosting server. In my ZF project, I have a folder named public, which I want to appear as the root of the URL. I want my site to be visible and accessible as
http://www.mysite.com
while being served from a page like /public/index.phtml or similar.
How is this done?
When we create a lucene index, various files are created. If we donot optimize Index writer three files are created, one named _0.cfs which contains all of the index data and two other files conataining meta data. Is it possible to force lucene to create only one file instead of three.
hello dear,
I am new to Nhibernate, I am trying to get record by ID and I am getting exception
Unknown entity class: DAL.Product
here is my line of code where I am getting exception..
Repository.Get<Product>(id);
What could be the issue?
Thanks for your help.
How can I make xmlpp::DomParser be less verbose on errors? Right now, if parsing fails, I get a bunch of text printed to my console and I'd just as soon have that not be visible.
Entity: line 1: parser error : Opening and ending tag mismatch:
feed line 1 and fed
<feed><entry id='5' /></fed>
I don't see a lot of options for xmlpp::DomParser but I have to believe this is something that can be disabled/tweaked.
Just to grok this: If I had a transient property, lets say averagePrice, and I mark that as "transient" in the data modeler: This will not be persistet, and no column will be created in SQLite for that?
And: If I make my own NSManagedObject subclass with an averagePrice property, does it make any sense to model that property in the xcdatamodel file? Would it make a difference if I would simply create a property in my subclass and not model that in the entity?
(I think: yes, it doesn't matter at all ... but not sure)
From my perspective, the Data Services and their query approach is useful when querying simple object graphs from your server-side domain model. But when you want to query complex dependencies I couldn't create anything good out of it.
The classic DTO approach is fine-grained and can handle everything, but the downside is that you have to create Dto classes for every type of server-request which is time consuming and you have to synchronize the Dto type with your domain entity/business logic.
I have a folder(/MyFolder/) with a dedicated web.config in it that does an impersonating
In that folder I have an asp.net file that use Microsoft report viewer 8.0 named MyReport.aspx
When I view this folder on my machine, it's working perfectly without issue
When I publish my project to the dev server and I'm trying to view the report, I have an issue where the the user that run IIS doesn't have access to something, (rsAccessDenied)
Can asp.net routing cause this issue?
(I'm not at work right now so I can only go by memory so it will be hard to provide more information)
I'm running OS X Leopard. I followed this site to install it. Trying to run any demo script, I now get "No module named opencv.cv", which is obviously stopping me from doing any programming. I am running python 2.5.1 (yes, I know it's kind of old).
Why would this be, and how can I solve it?
Thanks
I have an ASP.NET Dynamic Data web application, with an entity called ActivationResource. One of the properties of this is a CellPhone field. Now, whenever I open a List or Details view of one of these entities, the cell phone number displays for a moment then disappears.
Anyone have any ideas as to the cause of this mysterious behavior?
I am working on a project which requires face detection through webcam.Suggest me any libraries that I can use to do this.i found one named openCV but it is for windows only.plz suggest some other methods also.Thank you.
Some modules have easy install, others need to be copied in site package but some of them really doesn't work.
And i need to import 3 module(libraries) but when i run program.py with python Sheel ...apear no module named ....(so it's not installed correctly)?!
When i try to set this property I am getting run time error,
GtkSettings *settings;
settings = gtk_settings_get_default();
g_object_set(G_OBJECT(settings), "gtk-button-images", TRUE, NULL);
Error:
(App:5191): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `GtkSettings' has no property named `gtk-button-images'
Why this might be happening?
i am also using rc file with this.
If I write a C# class called Foo and that is compiled into an assembly named FooLib.dll. Then, I write a Windows Service in C# that references FooLib.dll. When I deploy my Windows Service using InstallUtil.exe:
a) do I have to explicitly tell it to reference my FooLib.dll?
b) where does FooLib.dll get deployed if I mean to deploy it as a private assembly and not in the GAC?
Hi
I'm across winforms currently but want to write an app that users will have a LAN/WAN between them and database.
So assuming I need to use WCF if I stick with winforms as the UI, or go ASP.net and go web, THEN which of these two approaches would be the easier rampup
approach for me?
Note wanted to use Entity Framework.
I want to write an emacs function that does the following -
1) Start a new shell named "abc".
2) Change the dir "/opt/abc"
3) In the dir run a shell command "python abc.py"
I have written the following fucntion -
(defun abc-server ()
(interactive)
(shell-command "cd /opt/abc/")
(shell-command "python abc.py"))
The problem with the above -
1) It doesnt start a new shell
2) It doesnt change the dir.
3) When the cmd executes, it opens a browser window, which completely blocks any usage of emacs.
I have a string array in C named args[] - now how can I use this list of arguments to construct a proper call to execl()?
So if the array contains:
{"/bin/ls","ls","-a","-l"}
...how can I eventually construct an execl() call that is:
execl("/bin/ls","ls","-a","-l",NULL);
I must be thinking about this wrong, as I can't find anything online, just talk about defining functions that can take a variable number of arguments.