Hi,
I am downloading yetanoherforum open source and install the application
but url rewriting is not working ..
pls give me any ideas how to work url rewriting in yetanotherforums
I have custom control - chart with size, for example, 300x300 pixels and more than one million points (maybe less) in it. And its clear that now he works very slowly. I am searching for algoritm which will show only few points with minimal visual difference.
I have link to component which have functionallity exactly what i need
(2 million points demo):
http://www.mindscape.co.nz/demo/SilverlightElements/demopage.html#/ChartOverviewPage
I will be grateful for any matherials, links or thoughts how to realize such functionallity.
Hi all,
On some control, I want ProcessCmdKey to return true if the keys pressed by the user were ALT and any letter of the alphabet.
I'm able to return true if the user presses Alt with the following code, but how can I add the condition of a letter also pressed ?
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if ((keyData & Keys.Alt) != 0) {
return true;
}
}
Thanks.
I have a grails app (v 1.1.2) the logging is working fine from the groovy classes, but I can't get it to work from within a java source...
I have a class in package com.mforms.devices., it imports apache log4j, defines the logger as follows
private final org.apache.log4j.Logger loggy = Logger.getLogger(this.getClass());
then refer to it later by doing loggy.error("...")
my Config.groovy has the following
log4j = {
error 'com.mforms'
root {
error 'stdout', 'file'
additivity = true
}
}
What am I doing wrong?!?!
I am trying to clip a 4:3 image with a circle within a grid control.
I need the circle clip to reveal the image from the middle in a perfect circle. See below.
The circle should dynamically re-size with the image.
I have tried Canvas.Clip and Ellipse+VisualBrush without achieving the correct behavior.
Thanks!
I have to projects in my .net windows forms, in one form(1st Project) i have timer control already running.
On some request i want to start that timer from the form1 of (second project).
If we are creating new object in second project for the 1st project(Which is currently in running thread) we will not be able to start the timer for the current instance.
How can we access the current running instance from my 2nd project.
Please suggest me some method
Hello how to use switch loop in my android project ? I want to use Android 2.1
I need JRE 1.7, but I want to use Android 2.1
I use loop like this:
switch ((CHAR[Math.abs(intGen.nextInt()%2)])) {
case "+":
result = random2 + random3;
break;
case "-":
result = random2 + random3;
break;
}
LogCat:
Cannot switch on a value of type String for source level below 1.7. Only convertible int values or enum variables are permitted
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
Properties.Settings.Default.Save();
}
I used Application Settings and When
Form was load i see value in control
but i can't use its when Form load
event.
how to use value that bind from
Application Settings when event
Form1_Load ?
I want to use OpenGL in my WndProc but I'm not sure how. I also don't want GL to occupy the whole screen, just a portion of the screen. In the end I basically want to make a drawing win32 app but use OGL instead of GDI. so how can I tell GL to use my control (a panel) 's hdc for drawing?
Thanks
Looking for a solid solution for handling reading barcodes from Windows Mobile devices using .NET Compact Framework.
Ideally something open source or free, but not against paying for something that works well. I'm looking for a high quality solution if one is available.
I am gathering small information regarding kernel dll functions.. and I found this function called CopyLZFileName/CreateLZFileName and some other functions related to this LZ.. I googled for it.. I cant find a proper source for it. From the name I guess it copies/creates file but am not sure what kind of file.. does LZ mean something to it. Please let me know.
Not sure if it's possible but how do I read a resource from a url using javascript without ajax?
for example, the following url is a static text file containing json encoded text
http://mysite.s3.amazonaws.com/jsonencodedcontent.txt
I'd like to use javascript to read the content from above link, read the json content into a javascript variable.
I can't use ajax because of cross site and I have no control over amazon S3 domain.
anyway to achieve this?
In the Android open-source qemu code I ran across this line of code:
machine->max_cpus = machine->max_cpus ?: 1; /* Default to UP */
It this just a confusing way of saying:
if (machine->max_cpus) {
; //do nothing
} else {
machine->max_cpus = 1;
}
If so, wouldn't it be clearer as:
if (machine->max_cpus == 0) machine->max_cpus = 1;
Interestingly, this compiles and works fine with gcc, but doesn't compile on http://www.comeaucomputing.com/tryitout/ .
I am having trouble installing the latest version of IE namely version 8.0.6001.18702. I downloaded the install from Microsoft but when the install is completed, the version number is reported as IE 8.0.6001.18702IC. This version does not work on all web applications and I need to get the correct final version installed. The problem is compounded by the installation downloading any updates from the Microsoft site so that there is no real control over the final version you get. Any ideas?
I need to implement a cache solution in java for a cluster of 9 servers with web applications. I saw apache JCS, seems old, do you know another open source solution ?
thanks
Hi all,
I am trying to create a html based template with xslt transformation.The string result returned by the transformer is perfectly fine.but when i try to send it to display, the browser is not interpreting it. The output looks like<html><body>...</body></html>.
when i do view source it is displaying <html>... How can i resolve it?Please help.
Thanks in advance
I have used tinybrowser with tiny mce as a plugin (My panel is php based).
When uploading, there is link like this:
www.****.com/dashboard/tiny_mce/plugins/tinybrowser/tinybrowser.php?type=image
This link can open in all browser without permission.
What is the solution in this case? Could I use admin panel's session control in tinyMce plugins??
Thanks in advance
.NET 4.0 is meant to run side-by-side with 3.5 and won't run 3.5 apps, which is making me worried about having to instruct my users to download .NET 3.5 instead of just "the latest version".
I've read in a blog that the 4.0 installer will install 3.5 as well if it's not already installed but I can't test it right now, did anyone try this or have an answer from a trusted source?
Source: http://asciicasts.com/episodes/16-virtual-attributes
I'd like to achieve a similar setup as below, but in CakePHP and where the virtual attributes are created using code, not SQL (as documented at http://book.cakephp.org/view/1070/Additional-Methods-and-Properties#Using-virtualFields-1590).
class User < ActiveRecord::Base
# Getter
def full_name
[first_name, last_name].join(' ')
end
# Setter
def full_name=(name)
split = name.split(' ', 2)
self.first_name = split.first
self.last_name = split.last
end
end
At random this output it occurring at the top of the page. Site is installed on a lot of servers issue only happens on one server.
HTTP/1.1 200 OK Date: Mon, 24 May 2010 04:18:30 GMT Server:
Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727
Cache-Control: private Content-Type: text/html; charset=utf-8
Content-Length: 39611
I have a formview control, and on the ItemCreated event, I am "priming" some of the fields with default values.
However, when I try to use the formview to insert, before the ItemInserting event gets called, for some reason it calls ItemCreated first. That results in the fields being over-written with the default values right before the insert happens.
How do I get it to not call the ItemCreated event before the ItemInserting event?
How should I go about this? I mean how does the control know whether someone is logged in or not? Session ID? Cookies?
Recommendation of which one I should implement? A guide or tutorial would be appreciated.