Hello again, everyone! Naturally I am still fighting with HTML Purifier…
So, my /config/purifier.php looks like:
<?php defined('SYSPATH') or die('No direct access allowed.');
return array(
'settings' => array(
'HTML.Allowed' =>'a,b,strong,p,ul,ol,li,img[src],i,u,span,',
'HTML.MaxImgLength' => 250,
'CSS.MaxImgLength' =>...
I have a c# generated dataset. How can I change the connection string so I can use the dataset with another (identically structured yet differently populated) database? This has to occur at runtime as I do not know the server or database name at compile time. I am using c# 2.0.
...
Is ther any way to perform a runtime check for the iPhone device at runtime?
It has to be able to differenciate iPhone 4 from other iPhone/iPod touch models.
Any workaround that does the same thing is OK too.
...
Hello everyone!
I'm quite a novice with C# and a complete newbie regarding WPF. Probably it's a very basic question and piece of cake for the pros. Please bear with me.
I need to display a dynamic textblock with text changed in run time without additional triggers such as button clicks and so. For some reason (my insufficient understand...
I have a simple WPF application I'm using for experimenting.
I have two themes defined in seperate xaml files, changing the xaml to point to them worked fine. By the way, in the xaml I'm using a straight ResourceDictionary element, not a ResourceDictionary.MergedDictionaries one.
I want to let the user select which theme to use, so I...
Specifically, I'm running into this.
I want to call a function that resides in a MS-Access mdb file. Unfortunately, the box that it's going to be run from (Windows Server 2003) does not have Access installed on it.
I installed the runtime environment onto it just fine and it can open up the file normally and everything, but it can no...
am using C#, VS-2005
The rutime controls like textboxes created as below
Textbox Tb=new Textbox();
Tb.Location=tbpoint; // Declare In Class of Body
Tb.Name="TBox"+ i.tostring(); // Variable i Declare In Class of Body
tbpoint.Y+=30;
i++;
The above textbox is created now for rutime. And question is how do ...
Hi,
I want to measure the resource consumption of my silverlight application at runtime. I do NOT want to use an external profiler, since I want to evaluate the overall application performance (esp. regarding CPU consumption), to show/hide functionality depending on the current performance status of the application.
Is there a way to me...
Hi,
there is the security issue that "Dialogs must be user-initiated." in Silverlight (see question 1355078). There is "a timer in silverlight" and a "UserInitated" flag that is used to do the check (see silverlight forums). That's why you should not set break points before code involved in the procedure.
The problem now is, if SL is r...
How do you create a copy of an object upon mouse click in Unity3D?
And also, how could I select the object to be cloned during runtime? (mouse selection preferable)
Thanks in advance
...
Assuming compilers and runners are from same versions, can they be executed on any platform (i.e. UNIX, LINUX, WINDOWS, DOS, etc.) without the need to re-compile the source code?
...
Hi,
In my current project, I need to compile java code at runtime (in the background to process input from the user). This works fine with tools.jar in the classpath. However, not all users of my program have JDK installed on their system. Some of them only have JRE and in that case there is no java compiler available at runtime. I can...
I have (in java),
rt.exec("qq.exe -i ..(some other parameters) > qq.log");//*1
when I run qq.exe -i ..(some other parameters) > qq.log in terminal It works fine and keeps the qq.log file correctly.
However using rt.exec (*1) doesnt work. " > qq.log" part causes problem. When I delete that part rt.exec (*1) works but I cant have qq.l...
I have a winforms application that the users must be able to change the language at runtime.
To generalize the switch and avoid having to hard code control names I tried the following extension:
internal static void SetLanguage(this Form form, CultureInfo lang)
{
ComponentResourceManager resources = new ComponentResourc...
We are working on a project with many different developers and do not want to make a too big mess of using the resources, so therefore we want to use unified explicit syntax:
<%$ Resources:[filename prefix,]resource-key %>
We also want to specify a custom build tool: PublicResXFileCodeGenerator (or any other if it would suit more) to ...
The following code works fine until I upgrade to .NET 4 (x64)
namespace CrashME
{
class Program
{
private static volatile bool testCrash = false;
private static void Crash()
{
try
{
}
finally
{
HttpRuntime.Cache.Insert("xxx", tes...
If I define my own comparator for the generic HashSet<T> in System.Collections.Generic, and its runtime is O(1), is the lookup time of the hashset still O(1)?
I would think no just because there doesn't appear to be a way to set the comparator.
...
Hey,
i want to have a grid with 3 columns and 3 rows and an image button in each cell (center of cell)
i tried with gridview but i can't fix the number of rows
i tried with a tablelayout and 3 tablerows, but i can't change width/height at runtime
any idea ?
sry for english, i'm french ;)
...
Hi
Can anyone confirm if there's an access 2003 runtime available to allow users to run apps without needing the full version of access on their pc?
thanks
...
As a follow up question to this one I asked yesterday, are there any good resources for finding the expected, worst case, or best case runtimes of the various c# builtin methods?
Again, I am not looking for a search engine. When developing software, an API is useful, but it seems that that API should also include a runtime promise.
...