instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm trying to use Windows From as ActiveX control inside SAP B1. Inside that control I host WPF control. It works great except when I try to cast activeX object onto my class so I can use all the methods on my class. But when I try to do that I get an exception. What is wrong?
I did registration and all that stuff. I c... | stackexchange/codereview |
We have several enterprise projects on maven2, do you think it would be a good idea to switch now to maven 3?
I heard the migration is not hard but there are not big improvements unless you're going to use the parallel builds. But our build machine is already almost choked up so I don't think we can use it.
Has someone... | stackexchange/codereview |
What does a small stop sign icon on a file in solution explorer mean? Someone asked the same question a year ago Original Question but the answer provided is of no help.
The icon looks like this:
Suffice to say that the sign is not one presented in the VS documentation and is a UK Stop sign (red circle with a white h... | stackexchange/codereview |
Assume I have a mathematical expression in a "tree" form in OCaml. It's represented as an algebraic type like this:
type expr =
Number of int
|Plus of expr*expr
Well, this is a very simplified definition, but it's enough to describe the problem.
I want to convert it to a string in a reverse polish notation, so ... | stackexchange/codereview |
I am using AXIS 1.4 to generate the subs for my webservice. The generation works fine as it is, but I am facing a problem to connect to the webservice though a WebProxy.
I use the axistools-maven-plugin to generate my axis classes.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>axistools-maven-plugin</art... | stackexchange/codereview |
I'm trying to make a canvas where you can zoom and pan. The panning works, but zooming at the mouse position won't work.
EDIT: This almost works. The center for zoom is slightly offset however...
This is the code for the zooming:
public partial class Form1 : Form
{
PointF mouseDown;
float newX... | stackexchange/codereview |
Does any one implement the Desktop version with the embedded browser that can be used with the facebook graph api in java ?
| stackexchange/codereview |
In one STATIC class (my helper class named AutoItX3Delcarations.cs) i have wrapped up a dll like so:
//AU3_API void WINAPI AU3_Send(LPCWSTR szSendText, /*[in,defaultvalue("")]*/long nMode);
[DllImport("AutoItX3.dll", SetLastError = true, CharSet = CharSet.Auto)]
static public extern void AU3_Send([Marsh... | stackexchange/codereview |
Greetings all,
Is there a way to only read the HTML code from a specific frame within a webpage?
For example, if I submit a url to google translate, is there a way to parse only the translated page frame? Whenever I try, I can only access the top frame on the page but not the translated frame. Here is my self-contained... | stackexchange/codereview |
I have a table with columns name, qty, rate. I need to add a new column COLNew in between the name and qty columns. How do I add a new column in between two columns?
| stackexchange/codereview |
I was able to setup nginx as a message server for building a real-time javascript application with Dojo. For the setup I used the nginx http_push_module which can be configured to handle publish/subscribe requests on different “channels”. Channels is “A resource representing an isolated pathway for message transmission... | stackexchange/codereview |
I have a program that writes to fd3 and I want to process that data with grep and sed. Here is how the code looks so far:
exec 3> >(grep "good:"|sed -u "s/.*:\(.*\)/I got: \1/")
echo "bad:data1">&3
echo "good:data2">&3
Nothing is output until I do a
exec 3>&-
Then, everything that I wanted finally arrives as I expec... | stackexchange/codereview |
I have a custom UIComponent, which renders ok when called directly from the base facelet template (I guess this makes it a direct child of UIComponentBodyTag). However, when it is called within a composite component, nothing happens. I get no exceptions, nothing. Everything else renders ok.
So while this works:
<h:body... | stackexchange/codereview |
Can Adobe's Packager for iPhone be used for building applications from Flash Builder for Adobe AIR apps? Or is it that only Flash CS5 can be used for iphone apps? I want to deploy AIR apps built for the PC to ipad/iphone. Is that possible in any way?
| stackexchange/codereview |
Lets say I have the next jQuery code :
$('#example li a').click(function(){
var className = $(this).attr("id");
$('.className').show();
});
This code suppose to take the NAME of the id of the clicked element, and find the class with the same name and show her.
It isn't working probably because i am trying to g... | stackexchange/codereview |
I have a project in a svn with externals, for example
- myproject
|
|--------stuff1
|--------stuff2
|--------external-lib // svn::external
I need to add a file (a Makefile) inside the external-lib directory, I want to commint it inside my repository (myproject), not the external one. It's very important to don't m... | stackexchange/codereview |
I know that JMS is a option to handle asyn message communication between two discrete systems, my question is whether it has to be used in all cases or there is any specific scenario we can use our own implementation much like what JMS offers?
| stackexchange/codereview |
I have a JWS (Java Web Start) deployed applet, that uses the following libraries/jars:
red5.jar
spring-beans.jar
spring-context.jar
spring-core.jar
apache-mina.jar
bcprov-ext-jdk16-145 (Bouncy castle)
The reason I put all of those libraries in the applet is that the red5.jar requires you also have the others. However, ... | stackexchange/codereview |
i try to deserialize a json string with the help of gson. While gson.fromJson I get the following error:
No-args constructor for class xyz; does not exist. Register an InstanceCreator with Gson for this type to fix this problem
I tried to work with an InstanceCreate but I didn't get this running.
I hope you can help ... | stackexchange/codereview |
I'm pulling records off from a message queue in JSON format and want to use ActiveRecord's .build method if I can to simply pass in the record and build the object.
How do I do this? Are there any downsides to this approach?
| stackexchange/codereview |
how do i grab the values of a Person[] object?
below is my server side code:
public Person[] GetPersonList()
{
//impl code....
return new Person[0];
}
and my client code:
$("#btn3").click(function (event) {
$.getJSON(url', { },
function (data) {
alert(data.Na... | stackexchange/codereview |
I'm using Feedzirra to get some rss content. This content can be updated by a third person. In my controller I have the following code:
RSS_FEED = "http://xxxxxxxx.wordpress.com/category/my_category/feed/"
my_feed = Feedzirra::Feed.fetch_and_parse RSS_FEED
@my_feed_text = my_feed.entries.first.sanitize! if ( my_feed ... | stackexchange/codereview |
All of a sudden, my Android app doesn't display any AdMob ad. I don't see any error message in LogCat when running my app with ad test mode disabled. And I can't see any "ad request" message (but may be there isn't such log trace). In the AdMob website dashboard, the number of ad requests seems to be frozen.
Do you how... | stackexchange/codereview |
I have UITableView which has edit button in all rows with tag as id of the data in corresponding row.In the first row i have button to insert new item when i click on button on first row to add new item,navigates to insert form,add data to database in that forms n bring back to original uitableview which i reload in vi... | stackexchange/codereview |
Ive got a painting model. votes is embedded into painting. How can i query all paintings and order by the number of votes? IN theory, I would like to list down all paintings starting with the ones with the most votes.
For reference purposes. Here is the definition of the two models:
class Painting
include Mongoid::Do... | stackexchange/codereview |
I am using Windows XP, and using Python run time from http://www.python.org/ftp/python/2.7/python-2.7.msi
If I am running in standalone application, import psycopg2 doesn't cause me any trouble. However, when come to mod_wsgi + apache, I will get the following error
[Thu Nov 18 14:26:51 2010] [error] [client 127.0.0.1]... | stackexchange/codereview |
I have a question that in this link
you will see pointInTriangle Method with 4 parameters .I want to know that how can I send those 3 last parameters to this method when we have n points? Is there any way to do this at O(n^3)
please help me thanks
| stackexchange/codereview |
I want to do what the base does, but then I want to add some derived stuff.
I tried the following but it did not work: (this function is virtual in AguiWidget)
void AguiLabel::onSizeChanged( const AguiSize &size )
{
AguiWidget.onSizeChanged(size);
updateLabel();
}
Thanks
| stackexchange/codereview |
I am new to three20. I was trying to fiddle around with Launcher. I was wondering if there is a way to disable the editing of the icon's location in TTLauncherView.
I searched and found an old post:
http://groups.google.com/group/three20/browse_thread/thread/b1a79ff4cb5e1983
However I don't see these changes in v1.1 or... | stackexchange/codereview |
I've been using my Activity class to access my DB which made my program freeze sometimes.
So I decided to use AsyncTask instead to handle the DB.
My problem is I don't know how to instantiate my SQLite DB "TheDB" from AsyncTask's class
public class myClass extends AsyncTask<Void, Void, Void>{
private TheDB db;
any met... | stackexchange/codereview |
I have a entity class in a C# library class and linked to Silverlight class library
(entities must be in C# class because of legacy compatiblity with other systems)
Example (C# library):
public class TestClass
{
private string _testValue;
public string TestValue
{
get { return _testValue; }
... | stackexchange/codereview |
If your git version is too old to support git push --mirror from your gitolite server is it possible to simulate the feature by first git clone --bareing new repositories and then using git fetch refs/*:refs/* on the backup server? Can you specify *:* as a refspec too? Since the repositories on the gitolite server are ... | stackexchange/codereview |
My code is as follows:
protected override void OnStart(string[] args)
{
//Set the interval of timer to 5 minutes.
timer1.Interval = 300000;
//Enable the timer.
timer1.Enabled = true;
repeatFunction();
}
And i called the repeat function inside my timer_tick ... | stackexchange/codereview |
I'm trying to load a file where are all the lines use the same rules. (assume HEADER is a single line)
HEADER1
HEADER2
.......
But unluckily when I try to use the LOAD DATA INFILE statement I get this error: Error Code: 1409
Can't load value from file with fixed size rows to variable.
This is the code I wrote:
USE tes... | stackexchange/codereview |
I am creating a website in which user enters his position(which can only be the ones stored in my database). To make it user friendly, I want to show him the available choices of positions as he types the positions. Is there a way to cache all the values in SQL(around 30 to 40) in browser beforehand, so that user can s... | stackexchange/codereview |
Hy,
I want to bind an event to
< INPUT type=checkbox value='true' name='selectedRows[]' id='sel_id_" + i + "'class='editor-checkbox selected_rows' hideFocus />
but I couldn't find a good jquery selector. If I put an onclick event I can only call functions that are not in the $(function() { }); block and in this ca... | stackexchange/codereview |
Is it possible to set height and width of tabs in Android? I tried setting customized textview as the indicator of tabspec, setting its height and width to different values, but no matter what its height and width value is, it's always set to the default height and width value.
| stackexchange/codereview |
Is it a good programming way to use xml config file for building dynamic web interface with databinding, events etc ..?
<Sub Name="Matrix Report" Url="frmGridReportPanel.aspx">
<Report Name="Repor Name" src="ConnectionStr" Url="frmGridReportPanel.aspx">
<DataSource>
<Server Type=... | stackexchange/codereview |
Sorry for the abysmal title - if someone wants to change it for something more self-explanatory, great - I'm not sure how to express the problem. Which is:
I have a table like so:
POST_ID (INT) TAG_NAME (VARCHAR)
1 'tag1'
1 'tag2'
1 'tag3'
2 'tag2'
... | stackexchange/codereview |
I want to compare the contrast of several images, for that purpose I need to measure the contrast. In fact I need the local contrast, not global. I already have a solution which just compares the neighboring pixel of each image pixel. The results are ok, but now I need to compare it with another algorithm which I do no... | stackexchange/codereview |
I have a table say:
CREATE TABLE "DataNode" (
"ID" NUMBER(7,0),
"TYPE" NUMBER(7,0),
"NAME" VARCHAR2(100),
"STATUS" NUMBER(7,0),
"REVISION" NUMBER(4,0),
"MODIFIEDAT" DATE
);
CREATE TABLE "DataNode_Revisions" (
"ID" NUMBER(7,0),
"NODEID" NUMBER(7,0),
"TYPE" NUMBER(7,0),
"NAME" VARCHAR2(1... | stackexchange/codereview |
I am not sure what I am doing wrong but when I manually add the view "blah.html.erb" to my project and then visit myproject/dog/blah. It says the following:
Routing Error
No route matches "/dog/blah"
There is an action defined in DogController called "blah" which is the following:
def blah
end
NOTE: I add the vie... | stackexchange/codereview |
We have recently spun up Hudson for continuous integration, and beginning to enjoy the benefits of automated test, static analysis, etc. Our next step is to get our cumbersome manual release process underway. What I envision is a two-phase process:
Branch for a release line. Once our development line stabilizes, we... | stackexchange/codereview |
Can Drupal be used with PostGIS, allowing for spatial queries?
| stackexchange/codereview |
Let's say I open a file with open(). Then I fork() my program.
Will father and child now share the same offset for the file descriptor?
I mean if I do a write in my father, the offset will be changed in child too?
Or will the offsets be independent after the fork()?
| stackexchange/codereview |
Hi
I need to post a request to aspx page within dos command line.. How can I do that ?
| stackexchange/codereview |
I'm using the plist for storing data in iphone application, but now there is a need to upgrade to more powerful data warehouse. Can I upgrade the application to implement migration from plist to sqllite without losing data? Thank you.
| stackexchange/codereview |
What is snapshot builds/sources version?
| stackexchange/codereview |
I don't know how to pickup the value from the input box if I don't use a form...
So I want to replicate the following but without using form tags...
<form action="#" name="myconvert">
100% of value =
<input type="text" name="percent100"
onkeyup=" document.myconvert.percent80.value = Math.round((0.8 * document.myconve... | stackexchange/codereview |
How does the render :partial => '/comment/form', :collection=>@blog.comments work? What object does this pass to the partial view? How do I access the comment object in partial view?
| stackexchange/codereview |
hey guys the compiler keeps giving me a cannot find symbol for the try-catch here..
i'm trying to scan for a int but i have to user input error check for other stuff and yet i cant seem to be able to catch the exception..
try
{
starid = sc.nextInt();
}catch(InputMismatchException e)
{
System.out.println("Error ... | stackexchange/codereview |
I want to place three button images of same size equal to screen it is working fine in size 320 x 480,it occupies full 320 size but android is having different resolutions of phones of different sizes 480 x 800 and 240 x 320 how I has to place same image for all resolutions equally to occupy full screen ?
| stackexchange/codereview |
the xml is like this:
<persons>
<person>
<name/>
<surname/>
</person>
<person index=1>
<name/>
<surname/>
</person>
<person index=2>
<name/>
<surname/>
</person>
...
</persons>
I need to build a view that shows all data of all persons.
name surname
name1 surname1
How can i do this loop in a select statement? It nee... | stackexchange/codereview |
I have JTable and rows in it. By default first row is selected and focus is in it. How can I deselect first row and change focus to somewhere else that .addListener(new RowSetListener() will work in first row too.
I already try:
tableZaposlenciView1.setRowSelectionAllowed(true);
//tableZaposlenciView1.getSelect... | stackexchange/codereview |
I have Three Forms as below:
Form1
Form2
Form3
The Form1 and Form3 are communicating with Form2. I want If Form1 visited to Form2 than
Form1 Should leave it’s identity to Form2’s textbox1. If Form3 visited to Form2 than Form3
should leave it’s Identity to Form2’s textbox2.
Is it possible?.
Here is Visted Means as be... | stackexchange/codereview |
The documentation for jQuery UI Autocomplete states that the source property can be set to a URL that returns the suggested items in JSON format. However, it doesn't elaborate further what the structure of this JSON result is supposed to look like. Could anyone post an example? Thanks!
| stackexchange/codereview |
When I create a “development” glassfish (3.1) domain with netbeans (6.9) then no passwords are needed. Everything works magically.
Nice on the first glance. Until you actually need to know the admin user and password.
The normal combination admin / adminadmin does not actually work.
Also the normal master password cha... | stackexchange/codereview |
I have a large string (with text).
I need to split it into a few pieces (according to max chat limit), run some operations with them independently, and in the end merge the result.
A pretty simple task.
I'm just looking for an algorithm that will split text naturally. So it doesn't split it on fixed sized substrings, a... | stackexchange/codereview |
I have two models which are Parent and Child. Parent has many children and Child has one parent. one-to-many relationship using has_many and belongs_to. Child has parent_id field, of course.
I'd like to check validation for Child if its parent_id is valid(means such Parent has the ID exists).
I thought validates_associ... | stackexchange/codereview |
In the solution, 4 projects : Business, the WCFService and the WCFServiceHost (a windows service) and a client
When I work in the solution, no problem, I can discover and create the proxy in the client.
When I install the host service, I start it but impossible to discover and create the proxy from visual studio with t... | stackexchange/codereview |
I have a problem concerning boost asio libraries. I successfully tried to create a socket between a client and a server, this involves creation of resolvers in order to specify ip and port to the server (the server only requires port) and other objects, but, most importantly, it is necessary to use write and read_some ... | stackexchange/codereview |
I'm just now digging into GAE and I see two ways to make a particular URL pull up the right page.
The first way is using handlers:
handlers:
- url: /.*
script: helloworld.py
The other way is using the following:
application = webapp.WSGIApplication(
[('/', MainPage),
... | stackexchange/codereview |
I'm looking for a quick, easy and reliable way of getting the browser's HTTP Referrer in ASP.Net (C#). I know the HTTP Referrer itself is unreliable, but I do want a reliable way of getting the referrer if it is present.
| stackexchange/codereview |
I'm working on a query for a rehab organization where tenants (client/patients) live in a building when they first arrive, as they progress in their treatment they move to another building and as they near the end of treatment they are in a third building.
For funding purposes we need to know how many nights a tenant s... | stackexchange/codereview |
You are required to define a function (lets say add-y) of one argument y that returns a procedure which takes one argument x and returns the summation of both arguments ie y and x. Using the the defined function add-y, write a procedure mul that takes two integer arguments d and e and returns their product
| stackexchange/codereview |
Usually I've used NSNavigationController to switch between different view controllers smoothly. Now, on the iPad, I need a way to switch between view controllers, but am at a loss, since it seems that I cannot start a UINavigationController iPad app from Xcode. The only substitute I've found is SplitViewController -- I... | stackexchange/codereview |
My Site have three panels:
1. guests who have access to view threads but can't reply or vote
2. members who, with enough rep, can edit/vote others threads, and by default they can reply and have the same privileges as guests
3. admins who can pretty much do anything
Is it better to use Zend_Acl ?
Or if i will... | stackexchange/codereview |
I have gone through certain related answers but dont seem to get correct answer or the answer I need.
As we open googlemap in mkmap view I want to open openstreet map in mkmapview.
If there is any link or sample code showing it please pass it on.
Thanks in advance
| stackexchange/codereview |
On my computer (Win7 32, VS2010 Ultimate) I would like to use Qt Creator and Qt Visual Studio add in, both LGPL versions.
There are minGW and VS2008 versions of Qt frameworks on the Nokia websites, I did not find VS 2010 version.
So I have installed Qt 2010.05 SDK and in the VS 2010 Command prompt the following steps h... | stackexchange/codereview |
In template:
{% blocktrans with event.title|capfirst as title and event.event_date|date:"d/m/Y" as event_date %}
<p>To book a VIP Table at <b>{{ title }}</b> on <b>{{ event_date }}</b> fill the following form and indicate the details in the message.</p>
{% endblocktrans %}
in app/locale/es/LC_MESSAGES/django.po (done... | stackexchange/codereview |
I have XML data that looks like this
<?xml version="1.0" encoding="utf-8"?>
<root>
<account var1="" email="" firstname="" />
<account email="" firstname="" />
<account var1="" email="" firstname="" />
</root>
What XML parser for Perl would be recommended for this?
I use Linux, if that makes a difference.
| stackexchange/codereview |
I have a custom Shape - MyShape - (may be control, does not matter).
MyShape has an adorner - TextAdorner.
The TextAdorner should have the same ContextMenu as MyShape (because they represents the same unique object).
The CustomMenu of MyShape is changed in the code in some conditions.
So, I need to detect the moment... | stackexchange/codereview |
Does anybody know the restrictions of the NotesSQL API (Domino ODBC API)?
E.g. can I read mail attachments with this API?
Or should the domino.dll the prefered way to access NSF files (in the .NET World)?
| stackexchange/codereview |
I'm trying to find a Java library/framework, which I can add to my WAR and enable regular backup of files and databases (started on my own timer). I don't want to use a standalone solution for backup (located/maintained apart from my WAR), mostly because it's bigger maintenance headache.
Do you know any such libraries?... | stackexchange/codereview |
I want to be able to upload a file and on each upload to override/replace the existing file with the newest version.
from django.core.files.storage import FileSystemStorage
fs = FileSystemStorage(location='C:/temp', base_url='/attachments')
class Import(models.Model):
file = models.FileField(upload_to='da... | stackexchange/codereview |
I have 2 namespaces:
Project.Core;
Tests.Project.Core;
In Project.Core there is a Class named "Text". In Tests.Project.Core.TextTests (where I place tests for Text) I also use NUnit which also has a class Text.
I thought: "OK, make it fully qualified." and wrote Project.Core.Text.
Now the compiler complains that it can... | stackexchange/codereview |
I have container with textblock content. Textblock text will be changed to any text. I need to change size of container with animation. What the best way to do it?
Example
from:
[hello world text]
to:
[hello]
with animation.
| stackexchange/codereview |
My switch statement is not working properly when analysing a string variable.
The output and input are both <textarea>'s.
HTML
<form name="interface">
<textarea name="output" rows="20" cols="100"></textarea><br>
<textarea name="input" rows="1" cols="100" onKeyDown="thinkInput(event);"></textarea>
</form>
JavaScri... | stackexchange/codereview |
Ok so i am writing implicit conversions for case classes in scala, using SJSON, to send messages to remote actors using the akka framework. One of the case classes looks like this
case class Example(id: String, actr: ActorRef)
How would i go about writing the implicit for this case class.
I have seen that ActorRefs d... | stackexchange/codereview |
I created a module that used a custom widget/grid/column for my admin grid to display a thumbnail image and everything worked. Now I need to create another module in the same project that does the same thing, but the image column will not work. It appears like its not even loading my new class, since it won't execute... | stackexchange/codereview |
i have a mapview with itemizedoverlay, like in the example of mapview in androids developers guide
i have my own icon on the items, but also i want to personalize them, adding some text, not only the icon. But i mean text visible on the map, not when i press on the item
can i do it? how?
| stackexchange/codereview |
I've got a table which contains start-times (using number in example to keep it simple), and durations of events.
I would like to identify "blocks" and their start- and the end-time.
Whenever the difference between the end-time (start-time + duration) of the previous row (sorted by start-time) and the start-time of the... | stackexchange/codereview |
I'm learning C++. I'm trying to do an exercise where I define several implementations of a pure virtual class with a single function. I'm having trouble linking the class that uses these implementations.
==> BasicMath.h <==
#ifndef BASIC_MATH_H
#define BASIC_MATH_H
#include<string>
#include<vector>
class BasicMat... | stackexchange/codereview |
I have a stored procedure in Sybase that uses reorg rebuild statement in a loop for all the tables in my database. What I want to do is to suppress the reorg rebuild sysmessages for tables that succedeed the procedure and only to print the tables that were locked etc...thus the problematic ones....The thing is that I d... | stackexchange/codereview |
I was executing a socket program.The program is to, just echo the user input ,
by the server .ie if the user gives input as Apple the server reply should be Apple.
But the problem now i am facing is, the server is sending a message(instead of Apple ) which used to be the Banner Message that we get when we login to the... | stackexchange/codereview |
I'm trying to write an app on the SalesForce platform that can pull a list of contacts from a report and send them to a web service (say to send them an email or SMS)
The only way I can seem to find to do this is to add the report results to a newly created campaign, and then access that campaign. This seems like the l... | stackexchange/codereview |
I am looking to create a query similar to the below using the Zend Framework.
UPDATE table
SET column = CASE id
WHEN 1 THEN 'value 3'
WHEN 2 THEN 'value 9'
WHEN 7 THEN 'value 1'
END
WHERE id IN (1,2,7)
What is the 'Zend Way' of doing Case Updates?
As a work around I am using Zend_DB_Expr but woul... | stackexchange/codereview |
I've tried several answer I've found across the web, such as:
Camera.Parameters parameters = mCamera.getParameters();
parameters.set("camera-id", 2);
mCamera.setParameters(parameters);
or
mMediaRecorder.setVideoSource(2);
But it doesn't work. I've also set permissions on the manifest file:
<uses-permission android:na... | stackexchange/codereview |
It's very common in Javascript to come across Array-Like objects with some similarities to the build in Array type but without all of its methods or features. So much so that there are some tricks to convert Array-Like objects to "real" arrays for further manipulation.
This is even mentioned in Javascript: The Definit... | stackexchange/codereview |
With setAllowsNonContiguousLayout set to YES, if I perform the following steps I get weird behaviour:
Select all text in the NSTextView
Hit backspace to remove all the text
Type a few lines of text
Trying using backspace to delete the text again
At step 4 the cursor jumps up to the line above and at a seemingly rando... | stackexchange/codereview |
I am using jgGrid 3.8. I have an issue. I want to color the background of cells, when the column header is clicked. I mean, ascending or descending datas bg colors must be different color of other column's cells. How can I do that?
Thank you very much.
| stackexchange/codereview |
What's the best way to realize it?To do a check on blur ,or on key up/down ?
| stackexchange/codereview |
I have a link within the content of a jquery-ui accordion div. It works, but is not formatted like the rest of my links. I found this on the jquery-ui accordion page:
If you have links inside the accordion content and use a-elements as headers, add a class to them and use that as the header, eg. header: 'a.header'.
... | stackexchange/codereview |
I've been reading about performance issues decoding Bitmaps and have received the OutOfMemoryError "Bitmap exceeds VM budget" issue when I would expect to not be out of memory and read online that this is a common problem referred to as a bug in the framework by many devs.
Typically, I get the error mentioned above on ... | stackexchange/codereview |
I have some issues getting a web page using CURL.
I think the reason is that my CURL request does not include the JSESSIONID value.
This is how my cookie file looks like at the end:
direct.orange.co.il FALSE / FALSE 0 SMSESSIONMTySTv50SShcdl5y9C7TChWfGP5xbsW4P13QQLR6kkJyYtfVnx4q!574440962
bill4u.orange.co.il FA... | stackexchange/codereview |
I'm working on cleaning up an old Rails 2.3.5 app that uses Dragonfly to store its images.
I have a feeling there are far more images in the filestore than records in the database, but due to Dragonfly's less than transparent naming scheme I have no idea how to find out which files in the filestore belong to actual rec... | stackexchange/codereview |
Firstly, this is Oracle. If I do this...
execute my_package.sp_execute_my_procedure('...', '...');
It seems to run indefinitely (I let it go over night).
However, if I take the code from the stored procedure, slap it into a pl/sql anonymous block, put the declare keyword on my single cursor and run it, it finishes in... | stackexchange/codereview |
a similar question was asked in question 494120, but IMHO was not really answered...
I want to upload files to a sharepoint using perl/WebDAV (from a Win32 host). To achive this, I need to authenticate with KERBEROS on the server. After googling for hours and trying different approaches, I'm not able to open a connecti... | stackexchange/codereview |
OK, so here is some context for my problem, written as pseudo-C# code (feel free to point out any mistake): (You can jump directly to the stacktrace and read the context later.)
public class SomeForm {
private _model = new ViewModelClass
public void new() {
// Normal Winforms init omitted
ViewMo... | stackexchange/codereview |
I have a c++ application which checks the information about the printers in a given network. I need to store this information in database, using a webservice in another .net web application. But I m new to c++ and i have no idea how i can make a call to the webmethod in the webservice using c++. There is no add web ref... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.