Dynamically creating URLs for other websites
Hi, I'd like to know how websites have created URLs with other domains like these on trafficestimate.com. I'm guessing it's some .htaccess stuff to redirect domain names to a dynamic page? Thanks ...
Hi, I'd like to know how websites have created URLs with other domains like these on trafficestimate.com. I'm guessing it's some .htaccess stuff to redirect domain names to a dynamic page? Thanks ...
Hello all, I'm wondering if its at all possible to sandbox a dynamically linked library via dlopen and friends. The aim is to recover from an error within the library without tearing down the hole application e.g SEGFAULT, etc... Anyone had any experience in this area? Cheers ...
Hey everybody! I'm trying to create a dynamic type in .Net. I want to get a group of Key Value pairs from a DB table and create a new type of object that has a Property-Value relation. Example: If I have a row in the table that has a field that says "Licence Plate" and the other field says "STKOVFL". I want to create an object that ha...
I can define and resolve dynamic method without any errors or warnings with @property, @dynamic and -resolveInstanceMethod: However, they're instance methods, but I want to resolve class method dynamically. How can I archive this? ...
Hi to all, I have a MasterPage that has two image buttons , and two content pages, What i want is that when an Image button is clicked ----> the theme changes. I know that MasterPage do not have a "OnPreInit" function and the theme has to be changed inside the "OnPreInit" function... so is there any workaround for this problem ??? T...
In C++, when you make a new variable on the heap like this: int* a = new int; you can tell C++ to reclaim the memory by using delete like this: delete a; However, when your program closes, does it automatically free the memory that was allocated with new? ...
I have an e-commerce website (created with a ecommercetemplates shopping cart PHP template) and on the catalogue pages there are, at times, a few pages which are numbered at the bottom. The links to these pages are, for example, in the form:- /product.php?cat=27&pg=2 despite the main page having been mapped to:- /widgets using a rewrite...
I am developing application VS 2008, .NET 3.5 and I am trying to use LINQ To SQL. I drag & drop tables on the designer to generate the .dbml file. The problem I have that I have some dynamic tables for search indexing. I know the structure of table, only the application creates new tables like this: Files_1_1, Files_1_2, ... Files_m_...
helos, my application allows users to write plugins (implementing IPlugin) that they can instantiate at runtime. on startup a directory of plugin .dlls is parsed, registering all the available plugins infos. at runtime a GUI is provided that lets users create instances of any of the plugins. this works. but now i see MEF and hope i ca...
How to create a user control for this kind of layout. I have a css. But dont know how to create a control for this kind of display. Title is the department name and below mentioned radio buttons are status for each department. Now department can be multiple as present in database. This one box can contain only two department list and ne...
Does anyone know if it's possible to deploy a war that could weave dynamic aspects around the method invocations of a class in a seperate deployment on the same tomcat server? I understand the security implications of this but we're looking to be able to audit our application as invasively as possible. Also is it possible at a war's de...
Hello. I have read other answers on this (or at least near to this) subject but I couldn't get a clear view of it so I'm asking for help again. I have a complex dynamic HTML form that I would like to submit to database using PHP. The form is split into multiple tabs and in each tab I got checkboxes that trigger other parts of the form. ...
I know of various ways to dynamically alter web pages' typeface properties via JS/DHTML, or replacing text with Flash-rendered fonts (with sIFR or Cufon). However, I can't find any good examples of dynamically changing the typeface used on a web page depending on user choice - with, for example, the use of a dropdown box or text links (t...
I use this tooltip plugin to make the tooltip on element as $('.showtooltip').tooltip({ delay: 0, track: true, showURL: false, bodyHandler: function() { var tipStr = "SOME DISPLAY HTML"; return $(tipStr); } }); And my ajax create elemen...
I would like to build a TabControl in Silverlight which is driven by a collection of objects. I'll show the code below of a VERY basic setup that I'm trying to prototype. MainPage.xaml <UserControl x:Class="DataDrivenTabControl.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micros...
Hi, I've defined a control Template for a progressbar to make it look like a thermometer ... now i want it to change its color when reaching a certain value (for example .. when the progressbar has the value 70, its color should change to yellow) Currently the color of PART_Indicator is bound to the background color of the progressbar ...
Is it true that all operations on the dynamic type are dispatched to the DLR? From this video, it looks like but they don't say it in so many words and I just want to be sure that the statement is right as I was about to write it in some communication. They also say that the DLR is currently in System.Core.dll. I want to know if the DL...
Hi, I have utilised the example code at Example Code at this link and I have got my grid to show a dynamically constructed select dropdown on add and edit. However when it is just showing the data in the grid it shows the dropdown index instead of its associated data. Is there a way to get the grid to show the data associated with t...
Hey all, I have a php script that loads a CSS stylesheet, changes the color attribute and then creates a new CSS file with the new color and links it to the page. When I hit refresh it sometimes updates to reflect the changes, sometimes it doesn't. At first I thought it was the cache, so I disabled caching in Safari but its still happe...
Is there any way to use the new dynamic features in the 4.0 framework like ExpandoObject in VB.NET without setting Option Strict Off? With C#, you lose type safety only with the variables you specifically declare as dynamic. But with VB, the only way I've found to use these features is with the old Option Strict Off trick that's been in...