Since IE6 does not support the child selector (see http://kimblim.dk/csstest/#ex1), what is the alternative when dealing with this browser?
I do not want to modify the markup, and I'd much much prefer a CSS-only solution...
And yes, it is the direct child that I wish to target.
Thanks!
I would like to have some eventhandler which raise if a new application is started. I've heard that this is possible by using a hook but the only examples I can find are based on mouse/keyboard events.
What is an example link of how I can create such a hook in C#?
Oh and btw: Nope, I don't want to use WMI which could be a solution as well but it's not an option in my case.
From what I understand, I need to use WADL to describe a RESTful web service. Still, I have read many answers in relevant posts, where users are strongly opposed the use of WADL.
What are the disadvantages of WADL? Is there any alternative solution?
I know how to use comma in printf as grouping separator to print value in format like
1,000,000.00
to print it that way I'm using command
System.out.printf ("%,.2f", value);
but how to use space as grouping separator to format value like
1 000 000.00
I tried to find solution but solutions with using DecimalFormat look at now to complicate for me (beginner level). Is there as easy way as in example with comma to do it?
I am trying to find the difference in time (without days/years/months) of two different days.
Example:
#ruby >1.9
time1 = Time.now - 1.day
time2 = Time.now
#code to make changes
#test:
time1 == time2 # TRUE
My solution:
time1 = time1.strftime("%h:%m").to_time
time2 = time2.strftime("%h:%m").to_time
#test
time1 == time2 #True
#passes
I was wondering if there was a better way of doing this? Maybe we could keep the Date the same as time1/time2?
I am trying to find a way to display numerical digits as a larger font size than chars on a website (not my idea!). The reason for this is to make the numbers stand out.
I have looked for a font that would satisfy this without coding but I could not find any. Also, I don't want to slow down the website by having the font coverted to an image.
Does anyone have a solution to this ridiculous problem?
Hi,
My UIView contains Two UITextField.I need to restrict copy,paste option for one textfield.I don't want to restrict that for another.
When i am using the following code,Both the field gets restricted from copy,paste.
-(BOOL)canPerformAction:(SEL)action withSender:(id)sender
{
if ( [UIMenuController sharedMenuController] )
{
[UIMenuController sharedMenuController].menuVisible = NO;
}
return NO;
}
Can any one provide me the solution to solve my problem.
A DirectX scene can be drawn inside of a WindowsFormsHost, but this solution concerns struggling with some interop issues, mainly the 'airspace' problem. Thus, before creating whole framework for this, I'd like to know, if a D3DImage used within a WPF window will cause alike problems with overlay and sizing as described in the WindowsFormsHost doc? Or is it designed to be fully compatible with WPF system?
Thank you for your help.
I want to setup 2 MySQL databases which differ in schema in that, one is normalized and the other is flat for quicker reads and writes. The information being stored in both DBs is the same, but the representation is obviously different owing to the different design approaches.
I need to find a robust solution to sync information in real time from my normalized version to my flatter version.
i start up an existing solution, click on a javascript file, the file opens up in the IDE for a few seconds and then visual studio disappears. This is consistent and reproducible.
I saw this patch for KB958502 and installed it but it didn't seem to do anything.
Any suggestions on how i can proceed as this is completely stopping my development here.
Hai
Thanks for everything. I have successfully implemented clean url in local. Very nice site.
Now my objective is to create a clean URL web site in php Microsoft-IIS/5.0, I know this in apache. But I don't know how this on Microsoft-IIS/5.0. Does any one give me a solution?
Hi,
I have a small C++ dll which was written in Visual Studio (of course).
In the solution code, I have a resource file that includes only version information.
The strange dact is, that when I frag the compiled dll to Visual Studio, it opens a resource viewer with bitmaps, dialogs and a string table - where do all of them come from??
Is there any way to remove them?
Thanks in advance.
I'm working on a project for school, we use visual studio 2008 there and I use it at home, both are express edition. The project in question I started at school, but I cannot edit it at home, when I open the .sln I get this
"The IntelliSense information will not be available for .VC++ projects because the Intellisense database file Location/Junk.ncb could not be opened for writing.
Other features will also be affected if the solution directory is read-only."
How do I open my project so that I can edit it?
hi! :)
anyone know how can i control a projector on a pc, from another projector on another pc, in the same LAN?
any solution is good for me! :)
thanks a lot in advance for any info.
Hi.
I've got form for some model A, which has got few fields:
tile
description
...
colors
colors are selected from multiple select and options are ['red', 'green', 'blue', 'yellow']. User can choose colors as many as he wants. I don't think that making Color model and has_many relationship is good solution here to store colors data in model A. So question is:
How to store multiple data in db for such multiple select forms?
I'm getting awful lot of spam to my forums where only registered users can post and captcha is in use. What could we best solution to stop spammers registering to my forums?
hi
I have a project with following sql table
companymaster expbill invcarat
companyId companyid companyId
name invno invno
address buyer srno
telno consignee qty
rate
amount
I have tried many times by the way of ADO.Dataset with multiple sql query but reports show like sticky problems. the details section repeating from diferent companyID and invno am tired don't know how to overcome from this kindly provide me better solution with good example.
Im trying to think of the best way to handle real time search for a website. The only solution I can come up with is to keep checking the server every few seconds for something new in the database, but that does not seem very practical to me.
I have a contenteditable div where I need to insert text at the caret position,
This can be done in IE by document.selection.createRange().text = "banana"
Is there a similar way of implementing this in Firefox/Chrome?
(I know a solution exists here , but it looks sorta clumsy)
Thank you!
Hello,
only with a certain .Net 4.0 project I can not add a new Window item to my project in the solution explorer. In the installed Templates for WPF there is only the UserControl ?
What happened?
I have window XP 2003 server, which is placed in a room where no one can enter to logon it.
for monitoring some applications
I created a consol application myServer.exe, which dont have any UI,
I want that this application (e.g., myServer.exe) start automatically as window bootup (e.g., before window logon)
and I need to do this work using windows service.
need your help.
(note: please dont suggest me any other solution, I need to use windows service to accompalish this task)
Ever since I started programming this has been something I have been curious about. But seems too complicated for me to even attempt.
I'd love to see a solution.
1, 2, 3, 4, 5 // returns 6 (n + 1)
10, 20, 30, 40, 50 //returns 60 (n + 10)
10, 17, 31, 59, 115 //returns 227 ((n * 2) - 3)
I have a default.aspx page that needs to be refresh every 10 sec.
My solution so far is a javascript function, but it only works in firefux and not IE.
I'm looking for a way to handle the refresh mecanism in the default.aspx.cs page instead, with some sort of Timer.
Any good simple sugestions/hints or solutions out there that can lead me in the right direction?