code (27,423)


html Percentage width child element in absolutely positioned parent on Internet Explorer 7

html Percentage width child element in absolutely positioned parent on Internet Explorer 7

I have an absolutely positioned div containing several children, one of which is a relatively positioned div.When I use a percentage-based width on the child div,it collapses to '0' width on Internet…


How do I calculate someone's age in C#?

Given a DateTime representing a person's birthday, how do I calculate their age in years?…


sql ASP.NET Site Maps

Has anyone got experience creating SQL-based ASP.NET site-map providers? I've got the default XML file web.sitemap working properly with my Menu and SiteMapPath controls, but I'll need a way for the…


php How do I track file downloads

I have a website that plays mp3s in a flash player. If a user clicks 'play' the flash player automatically downloads an mp3 and starts playing it. Is there an easy way to track how many times a parti…


.net Create a SQLite database based on an XSD Data Set

Does anybody know if there is a way to create a SQLite database based on an XSD DataSet? In the past I've just used a basic SQLite manager, but want to fuse things a bit more with my.NET development…


Unload a COM control when working in VB6 IDE

Part of my everyday work is maintaining and extending legacy VB6 applications. A common engine is written in C/C++ and VB6 uses these functions in order to improve performance. When it comes to asyn…


visual studio .Net XML comment into API Documentation

Is there an easy way to produce MSDN-style documentation from the Visual Studio XML output? I'm not patient enough to set up a good xslt for it because I know I'm not the first person to cross this b…



How do you debug PHP scripts?

How do you debug PHP scripts? I am aware of basic debugging such as using the Error Reporting. The breakpoint debugging in PHPEclipse is also quite useful. What is the best(in terms of fast and easy)…


c# Unhandled Exception Handler in.NET 1.1

I'm maintaining a.NET 1.1 application, and one of the things I've been tasked with is making sure the user doesn't see any unfriendly error notifications. I've added handlers to Application.ThreadEx…


c# How to get the value of built, encoded ViewState?

I need to grab the base64-encoded representation of the ViewState. Obviously this would not be available until fairly late in the request lifecycle, which is OK. For example, if the output of the pag…




how example source with for studio java from tutorial not