dynamic

Dynamic Allocation of buttons in C Builder 6?

Hi, I want to make a game of TicTacToe. WhenI resize the window I want to appear more buttons on the interface. From a matrix of 3x3 to 4x4 etc up to 9x9, depending on how much I resize the window. How do I do this? I will make a free web site design to whoever provides me with a working answer (and something extra for the full program...

Passing build parameters to .wxs file to dynamicaly build wix installers

Good day I am a student developer and I have built several installers for the company I am working with now. So I am fairly familure with WIX. We recently decided to have a Build server that auto builds our solution. It builds both debug, and release, aswell as Obfuscated(and non obfuscated) projects. And you really don't have to unders...

how do i create sub groups within table using jquery?

i am creating a stock portfolio. each row is a stock and it's data including profit/loss. each row has a groupid that the user can specify. the idea is i want to: 1) physically group the rows based on the groupid 2) after step #1 i want to dynamically add a row below that group with the subtotal of the profit/losses for that group on...

Mixing sitemap and dynamic (database) pages?

Hi, i have a static .sitemap file for my site. I want to add 5 subcategories for each maincategory (@Products) so they will appear in my menu (menu is custom helper which works, i just need to add to the Sitemap.Provider some pages at runtime...) Is this possible? Sitemap: <?xml version="1.0" encoding="utf-8" ?> <siteMap> <node cont...

Eclipse: Have multiple Dynamic web projects contribute to a single war file?

I am in a situation where I basically want to be able to have a web project in Eclipse where the WebContents folder is merged from multiple projects instead of only a single dynamic web project. If I have "a.jsp" in project A, and "b.jsp" in project B, I would like to end up with a single web application in the web container where "a.js...

.NET MVC: How to implement different page appearance per user?

I am running out of ideas here. Maybe you can advice me what pattern or method(s) to use. User should be able to log in and change the appearance only for his/her profile. The difference (AFAIK) with personalization is that personalized layout are seen only for the editor (him-/herself). The difference between skinning, I guess, is that...

PDFLib opinions/experiences

My organization is considering PDFlib for dynamically creating PDF files (http://www.pdflib.com/) in our Java (Spring/Tomcat) environment. Does anyone have experiences that they can share about the pro/cons of this Library? ...

Find shortest combination of words that contain every character from a specified set.

Hey, I got an array (let's call it a1) of words (like "dog", "fish", "run", "programming" anything) that's really huge. I can combine any of the words out of a1 with any other of the words (e.g. you could combine "dog" and "programming" into "dog-programming"), and then again and again, until the strings gets really big. I also got an...

Convert string to linq query

Hello Everyone - I was playing around with LINQPad and was curious how I could implement similar behavior in my own app, namely: how can I allow the user to input a LINQ query against a known database context as a string and then run that query in the application? For example, if I have the LINQ-to-SQL datacontext for the Northwind dat...

c++ getting dynamic generic type of pointer?

Hi! the title probably is misleading, but i didn't really know how to name it. let's say I have the following structs template <typename T> struct SillyBase{ void doFunnyStuff(vector<T> vec){ dummyField = T(); for(int i=0; i<10; i++) vec.push_back(dummyField++); } T dummyField; }; struct A : pu...

How do you make one of those search boxes on a web page that previews search results?

I'm developing a web site that has a search box as part of the standard page template (similar to what you see on the top right of the SO site). I want to dynamically preview possible matches to the user input, similar to what you see when you start typing in a query into the google.com search page, as a drop down that appears underneath...

Why do most spreadsheets contain a hard-coded limit on the number of rows and columns?

Why are programs like Microsoft Excel, Gnumeric and OpenOffice.org Calc designed with hard-coded limits on the number of rows and columns? This seems like an archaic programming technique from when spreadsheets were considered a demanding application and dynamic memory allocation was considered "high-end". I would guess that it indicat...

Creating a Structure from a string in C#

I've seen a lot of questions asked about instantiating classes from a string but have been unable to find any information on creating a structure the same way. I have a class which contains a structure like so: Public Structure callDetails Public GUID As Guid Public ringTime as Date Public CBN As String etc. All I really...

Static Runtime Library Linking for Visual C++ Express 2008

How do you tell Visual C++ Express 2008 to statically link runtime libraries instead of dynamically? My exes do not currently run on computers w/o some sort of VS installed and I would love to change that. :) ...

More on casting Func<T,T> and Expression<Func<T,T>>

Hi there, I've spent hours with this but haven't managed... Please see example below - How can this be done? The idea is to build a compiled expression of type Func<dynamic, dynamic> given an Expression<Func<T1,T2>> passed by the class' consumer. I have been able to solve this problem (thanks to SO) IF the types T1 and T2 are known at...

Dynamic Select in Drupal

Hi all, In my way of learning drupal, I got stuck in this issue. I have Taxonomy vocabularies that I set as tree with each node have different depth. Now, I need to display it in select box in a way that only one select(the parent terms) at first. On change, it will fetch term's children and display another select box below it. This goe...

Adding controls to TabItems dynamically at runtime in C#

So, here is my issue, im working in a Wpf application, so i dont have all of the standard windows form controls.. so im attempting to use a windowsformshost, to hold a webbrowser inside of a tabitem. So here is what i have: Tab t = new Tab(); Browser newbrowse = new Browser(t); WindowsFormsHost host = new Windows...

Dynamic JavaScript If Statement

In PHP I can do: // $post = 10; $logic = >; $value = 100 $valid = eval("return ($post $logic $value) ? true : false;"); So the statement above would return false. Can I do something similar in JavaScript? Thanks! Darren. ...

Reload Post data in onClick in asp.net

Code is simplified to make it clearer. The description I'm writing a custom control that uses Controls.Add() to add all of the sub control it wants. Say for example my control is called "lots_of_text_boxes" and I add a minimum number of text boxes and provide a button (Controls.Add(button)) that says "add new text box". The control...

.NET 4.0: How to create an Expression<Func<dynamic, dynamic>> - Or is it a bug?

Hi All, During my work with expression trees for a few days now, I came across something that I find difficult to understand; hopefully someone will be able so shed some light here. If you code Expression<Func<dynamic, dynamic>> expr1 = x => 2 * x; the compiler will complain and you won't get anywhere. However, it seems that if you cre...