instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have developed a windows based application using VB.NET 2005. It is working perfectly fine. Now the client wants to add an option called "Logout". When this is selected, all the open windows forms should get closed, the MDI form need to get opened with the login form on top of it.
Can anyone please suggest as to wh... | stackexchange/codereview |
ref: http://boedesign.com/blog/2008/06/08/imagetick-for-jquery/
I'm trying to get the aformentioned example working in a setup with Django on a generated form. In the custom_button function (see below) the $label.text()
comes up empty. As it seems, imagetick uses the 'id' from the input tags. And it breaks somehow bec... | stackexchange/codereview |
I'm using Eclipse 3.6 Helios (for Java Developers) and want to add the javax.servlet package to one of my projects.
What do I need to configure/download?
| stackexchange/codereview |
I am using a system() call in a program , that is in c library. For 1st 9 calls it returns '0'(zero) after 10th call it returns 256. I do not know what does it mean. Please anybody help me. Following is the line of code
int returnValue= system("/system/bin/cat /dev/graphics/fb0 > /tmpdata/Screenshot/screenshot.bin");
| stackexchange/codereview |
I am trying to write a module that overwrites an instance method in the class it is included in.
This doesn't work:
require 'active_support'
class Foo
def bar
"bar"
end
end
module NewFoo
extend ActiveSupport::Concern
included do
alias __bar__ bar
end
def bar
"new " + __bar__
end
end
cla... | stackexchange/codereview |
I'm opening a few jQuery dialogs on my page and I was using:
$("#dialog2").parent().appendTo($("form:first")); //This was working, no problem.
I noticed when I applied it again to dialog3 it has stopped that line from working on dialog 2. How can this be used for different dialogs?
$("#dialog2").dialog({
bgiframe:... | stackexchange/codereview |
Here's the hex code I am trying to unpack.
b'ABCDFGHa\x00a\x00a\x00a\x00a\x00\x00\x00\x00\x00\x00\x01' (it's not supposed to make any sense)
labels = unpack('BBBBBBBHHHHH5sB', msg)
struct.error: unpack requires a bytes argument of length 24
From what I counted, both of those are length = 23, both the format in my unpa... | stackexchange/codereview |
I have an ISerializationSurrogate implementation that I want to pass some data in to. According to the MSDN article (http://msdn.microsoft.com/en-us/library/h58hxyt6.aspx) you can pass in an arbitrary value to your StreamingContext that will then be available in the ISerializationSurrogate.
public class IndexedSurroga... | stackexchange/codereview |
I'm struggling with a simple toggle. Well, it should be simple. I'm visiting forums and threads and can't quite get it to work.
I have three tab images (not part of any package) and I simply want the clicked image to switch to "on" and others to switch to "off"
<img class="mastheadTab" id="products" src="#application.v... | stackexchange/codereview |
I have a fully ajaxed wordpress page and i am adding my navigation in wordpress via wp_nav_menu()
<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
Wordpress outputs the following html structure:
<div class="menu-header">
<ul class="menu" id="menu-wordpress-navigatio... | stackexchange/codereview |
I created a Java JOGL project for a friend, for his university assignment, and imported a few jpg files used for textures.
When application is started (I'm using Eclipse IDE), I get a bunch of errors, which all disappear when I use full path to texture files.
Where should I import those files? Do I need to set somethin... | stackexchange/codereview |
I am attempting to get several unique lists out of one xml file.
The xml format is
<Response>
<Tracks>
<Track>
<Name>Track1</Name>
<Contributors>
<Contributor>
<Role>Recording Artist</Role>
<Name>aaa</Name>
... | stackexchange/codereview |
I'm facing a very strange problem related to the soft keyboard in my application and I don't know even where I could start to fix it. I have a text field where the user may input samething. The soft keyboard on my device has in the bottom left a button "BPMF" which pressed changes the keys on the keyboard into simplifi... | stackexchange/codereview |
I want to remove parent control (which is span in this case) without deleting its children controls from container. how can I accomplish this in asp.net c#?
you can see the code here: http://pastebin.com/9NiriWXN
Note: I can easily find the "newsright" control and return its parent (which is span in this case)
| stackexchange/codereview |
Which operation should be faster on a x86 CPU on Linux and what are the average differences (in %):
unsigned int x, y, z;
x = y / z;
or:
double x, y, z;
x = y / z;
The operation on double will be executed by the FPU and the CPU may continue to other commands. Is it correct?
Does it depend on compilation flags (I'm us... | stackexchange/codereview |
Any site I see generated with the Lift framework displays strange behaviour in the Chrome browser - on page load, the browser tab is blanked for around 1/3 of a second before the page is displayed. It's very disconcerting. This behaviour does not appear on Firefox or IE, just Chrome. In IE and Chrome, there is a sl... | stackexchange/codereview |
I need to force an Android project created in Eclipse for the 2.0 platform to run on the 1.5 AVD (emulator). This is due to the fact that I'm writing an app that will support both the Contacts API and the ContactsContract API.
Does anyone know the magic word to make this happen?
| stackexchange/codereview |
I have been looking for the most recent nightly build for PDT, but the official download site only has builds up to Sept 2010.
After some search, I was directed to their CVS dashboard but I couldn't find a link to download the build. What should I be looking for?
| stackexchange/codereview |
How do I find the path MTU between connection? I need this to define the packet size of my UDP connection. Is there things like Path MTU Discovery in .Net?
| stackexchange/codereview |
I want to write an user defined error collection class which should collect all the Error's. When we validate an entity object if there is no error it should go and save to the Database. if Error there it should display it.
now i have wrote the class it collects the error and displays it successfully but when there is ... | stackexchange/codereview |
I've been developing in C++ for some time when I was a student, but I never used virtual class or extern in C++ in any of the projects. I just recent read about these two, and was hoping if someone had a better understanding of their usage.
What is the purpose of virtual class? An example of where it could be used/impl... | stackexchange/codereview |
Alright, we have two database servers, one is owned by us, one owned by a partner. Our partners have been having issues lately that have been causing us numerous sql timeout errors, which takes down our whole system. We'd prefer to limit the time those queries can take to say 20 seconds max, otherwise quit trying and t... | stackexchange/codereview |
Let me set up my LOB scenario.
I am re-writing our core business app. The requirements are that I create an internally usable app (I'd like to use Silverlight) that our employees use on a daily basis. I also need to provide a SOAP service that can be used to input orders, get invoices, etc.
I also will be doing this ... | stackexchange/codereview |
OK, I've got a weird one here...
I have an issue with MPMoviePlayerController and playing a m4v movie on an old iphone 3g.
When I connect the device to my mac, and run it through Xcode with the build set to Device|Debug - the movie plays fine.
When I change the build to Device|Release, the MPMoviePlayerPlaybackDidFin... | stackexchange/codereview |
Is there a "by row" operation in R to convert each row in a vector like this to strings?
> d= cbind("Data", c("2", "73"))
> d
[,1] [,2]
[1,] "Data" "2"
[2,] "Data" "73"
What I want is to get strings like
[,1]
[1,] "Data 2"
[2,] "Data 73"
Is there an easy way to join items by row?
| stackexchange/codereview |
I'm facing a problem in crystal report: I want to display the main report header in the sub report if the sub report opened in separated tab.
Is there a formula or anything to do that.
I used :
Crystal Reports for Eclipse
Version: 2.0.1.r566
© 2008 Business Objects, an SAP company. All rights reserved.
Please help me
| stackexchange/codereview |
I have a program (written in C) that uses getaddrinfo() and its first parameter is the host name that I want it to get address information about, let's say it is "domain". In my /etc/hosts file on the same machine I can see that "domain" is supposed to resolve to 192.168.1.200. When I run the program it hangs on this... | stackexchange/codereview |
I want to test this code found here. It allows me to auto-load content from server as the user scrolls down the scroll down.
I am having difficulties trying to convert code to C#/ASP.NET. Primarily, I want this code to be translated to C#/ASP.NET:
package com.vraa.demo;
import java.io.IOException;
import java.io.Prin... | stackexchange/codereview |
I started creating a sample webservice using top-down approach in jboss4.2.2 GA.
From the wsdl, i generated stubs using wsconsume
I created a new java class: SalesTaxImpl implementing the interface in the generated stub. Configured @WebService with endpointInterface, portname, wsdllocation.
My war application has the f... | stackexchange/codereview |
I have a txt file which contains a set of 3 Dimensional data points and I would like to create a vtkPolyData based on those points.
In the file, I have the number of points on the first line, in my case they are 6 x 6. And after that the actual coordinates of each point. The content of the file is like this.
6 6
1 1 ... | stackexchange/codereview |
I wish to use SQL Server Compact 3.5 Databse with my application. The application is going to be run over a network where the database has to handel more than 30 connections at a time.
Is it the right choice I made?
Thanks
Furqan
| stackexchange/codereview |
I'm currently going through a RoR tutorial (http://railstutorial.org/chapters/sign-in-sign-out#sec:signin_success is the relevant section) which seems to be fairly good, although I've run into the following problem when trying to view the sample site.
Extracted source (around line #10):
7: <li><%= link_to "Ho... | stackexchange/codereview |
When a button is focused by pressing Tab key, a rectangle appears on
it. Even if the button's TabStop property is set to false, when the
button is clicked with mouse the rectangle appears. Is it possible to
stop the rectangle from appearing? Please help. Regards.
| stackexchange/codereview |
We have a client with a MySQL database that we need to access over the internet. A port number is open on their end for us to gain access and run queries.
I was wondering if anyone's had experience using the Entity Framework with a MySQL database over the internet and what gotchas and tips you had to share? Is it p... | stackexchange/codereview |
Can anyone describe "Crystal Report Engine Returns Error Code 997" for Crystal Reports 6.0?
Googling proved futile.
| stackexchange/codereview |
We have a 3-tier Delphi application written using RemObjects DataAbstract. Many of our customers are asking for an API so they can interact with it using their own applications.
The API must allow the clients to call methods with various parameters and return results ranging from simple parameters to whole datasets.
Wh... | stackexchange/codereview |
I am currently working on a project in C#. I have a method called updateProgress() which has two int parameters (count and totalRows).
If I have call the method by saying updateProgress(count, totalRows) this works fine but I want to run this method within a new thread.
How can I go about doing this, I have looked on... | stackexchange/codereview |
I get an invalid JSON string, which contains ; ( characters. Any guess what is going on?
My Code:
-(void)getJSONFeed {
// Create the URL & Request
NSURL *feedURL = [NSURL URLWithString:
@"http://maps.googleapis.com/maps/api/geocode/json? address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&s... | stackexchange/codereview |
I am trying to add a custom field to the wordpress user profile page. For instance if I wanted to add a field where the user could put in their Linkedin, or Twitter user name, then use that value whenever the user posts a comment, or if the user is an author, to add that value in their posts.
I have a forum (bbpress) i... | stackexchange/codereview |
I plan to insert a large number of unique keys ( ~3E9 ) in a BerkeleyDB JE database.
The keys will have a fixed length ( ~10 bytes ) but the values will have a variable length. The database won't be transactional.
What parameters would you suggest for the EnvironmentConfig and the DatabaseConfig for optimizing the siz... | stackexchange/codereview |
I'm working with a MySQL database and need to check if a row is already there before deciding which queries to run.
The table I'm working on is something like this:
player(playerid, nickname, data1, data2, data3)
Where "playerid" is an auto-incremented number and "nickname" is unique.
I tried some queries with COUNT, ... | stackexchange/codereview |
I'm giving BeautifulSoup an html document and simply by constructing a BeautifulSoup object instance with the full html, it seems to choke on the following line of a jQuery script that's embedded within the html:
var txt = "Logged in as: <a href=\"http://somedomain.com/the-blah/\">" + uname + "</a> <small>(<a h... | stackexchange/codereview |
I am getting some disappointing completion and go-to-definition results with ropemacs in places where I use multiple name-bindings to the same object.
Considering my contrived and stylistically challenged example code below, does anyone know why rope would not be presenting completions or go-to-definition results?
Pr... | stackexchange/codereview |
The below is query is similar to what I am trying to achieve but simplified.
In my actual code, I have four table joins and trying to get a result which has latest version in it. I have C# version I got very close to, but could not create a Vb version with type result set
C# version
This query generates appropriate sq... | stackexchange/codereview |
I am trying to build a website with a text-box and a button that will redirect the client to his browser default defined search engine with the inserted text as the search query (Like the effect of inserting a search query in the address bar).
However, I am not sure how to do it and would appreciate your help.
Thanks.... | stackexchange/codereview |
I have 3 tables:
forums
id, name, description
threads
thread_id, forum_id, user_id, title, content, views
posts
post_id, thread_id, author_id, content, date
What I want to do is to get all the threads in a forum, and get the post count of every thread. So I get every thread (WHERE forum_id = whatever) and t... | stackexchange/codereview |
Every LR(0) grammar is SLR(1) but vice versa need not necessarily be true, why?
| stackexchange/codereview |
**
Gtk:ERROR:/build/buildd/gtk+2.0-2.22.0/gtk/gtktoolbar.c:2248:logical_to_physical: assertion failed: (logical == 0)
Aborted
This is happening when I run code analogous to:
if condition:
self.insert(self.toolbutton, 0)
where self is an instance of a subclass of gtk.Toolbar. The error only occurs when condition ... | stackexchange/codereview |
I use Opn + Cmd + ← and Opn + Cmd + → to navigate between open tabs and all of a sudden it stopped working. It does nothing now. Anyone seen this happen before?
| stackexchange/codereview |
We have large (2M+ row) product data tables with 50+ data fields and multiple country specific product codes. I'd like to be able to efficiently join from ProductData to different lookup tables based different code fields. We currently use seperate but very similar SPs to implement the logic and that's leading to versi... | stackexchange/codereview |
I'm trying to show a MPMoviePlayerViewController.
MPMoviePlayerViewController* theMoviePlayer = [[MPMoviePlayerViewController alloc]
initWithContentURL:[NSURL URLWithString:media_url]];
If I'm adding theMoviePlayer View to the current view via addSubview , everything is fine. But if I'm t... | stackexchange/codereview |
You may say it will look at Content-Disposition for file name, but I'm talking about where there's nothing in that header and also URL is not so straight forward like http://website.com/myfile.zip. I leave some examples here but wondering how browser (I use FireFox) find out the right name in save as dialog. Does it kn... | stackexchange/codereview |
I'm trying to grab my files from isolated storage but unfortunatly it is pulling in all the files not just the specified ones from the pattern.
I'm using:
foreach (string fileName in storage.GetFileNames("*.item"))
Is this a known bug or am I just doing something wrong?
PS. The use of wildcards is essential
Any help v... | stackexchange/codereview |
I'm trying to have some file inputs, and have them only show up if the previous one has been filled. This can use css 3 as well.
| stackexchange/codereview |
I'm trying to get my current GPS accuracy by using Location.getAccuracy(). However, this is returning 1 (or sometimes 2) which doesn't seem possible. Google maps is telling me my current location accuracy is 40 meters.
Any thoughts?
int accuracy = (int) loc.getAccuracy();
// This will give me accuracy = 1
| stackexchange/codereview |
I have my site ( http://www.rohanjain.in) based on html5. It uses the new elements defined in html5 for page layout: header, nav, section, article, footer etc. But I just checked that with old browsers and ie (dont care about this "non" browser) dont render the page properly.
Snapshot:
The css markup (source of css... | stackexchange/codereview |
I want to put a configuration file in my Maven project. Looking at the standard directory layout, there are two places that seem sensible, "src/main/resources" and "src/main/config". Could someone explain the difference between these, and explain when you would put something in config and when in resources?
In this cas... | stackexchange/codereview |
I'm making a platform game, and the game runs perfectly fine as a swf, as long as Flash CS5 is installed. It won't even work if CS4 is installed.
When the swf is played standalone, or embedded in a browser (tested on multiple machines). The collision detection does not work well, and the play simply falls endlessly. ... | stackexchange/codereview |
How do I set a UiPickerView's (in iphone/itouch)font size from HTML5. The situation is i am writing a mobile web page which has a dropdown. The drop down text seems to spill out of the uipickerview which show up when the user selects the dropdown. Is there a way to control the spill? My solution was to decrease the fon... | stackexchange/codereview |
I need to loop through an AdvancedDataGrid's tree. Can anyone explain me some things?
This is my code:
var adg : AdvancedDataGrid;
var dp : GroupingCollection2 = adg.dataProvider;
var cursor:IViewCursor=dp.createCursor();
Now my issue is that I don't know how to access my objects from here. My AdvancedDataGrid has as... | stackexchange/codereview |
I'm trying to make selectable NSToolbarItems. I've connected everything correctly in IB, but toolbarSelectableItemIdentifiers: is not working. It doesn't get called. The delegate is the File's Owner (subclass of NSWindowController), and the toolbar is in a sheet. Here's my code:
// TOOLBAR DLGT
- (NSArray *)toolbarSele... | stackexchange/codereview |
I'm using Jqueryui connected sortable lists and I would like to drop elements only when the connected list is empty, so I have to force the user to add maximum 1 element.
Using Jquery droppable is not allowed.
So, How can I manage JQueryui connected list to restrict the number of elements inside?
I want sortable1 and s... | stackexchange/codereview |
I am creating a game using OpenGLES.
Game consists of a view controller and the EAGLView.
I have created another view controller that I want to handle the extra view that go ontop of the EAGLView so things like menu and options.
I have a call from the EAGLView view controller to the extra view controller that adds an ... | stackexchange/codereview |
I have a custom javadoc tag (@todo) attached to some methods and classes. This is what checkstyle says:
[ERROR] Foo.java[0:null] Got an exception - java.lang.IllegalArgumentException:
the name [todo] is not a valid Javadoc tag name
Is it possible to teach checkstyle to ignore these tags?
I tried to configure as spec... | stackexchange/codereview |
I have three uiTableViews on a view.
I have created three different NSMutableArray loaded with different data.
I need to place one of the NSMutableArray as the datasource for one of the UITableView.
I am able to assign all three UITableViews datasource through the viewDidLoad of the form.
But what I really need to do... | stackexchange/codereview |
Possible Duplicates:
How to send HTTP request in java?
How to use java.net.URLConnection to fire and handle HTTP requests?
using java, how do i hit any url?
for instance, opening of http://www.xyz.com/node1 in a browser will tell xyz.com that node1 is hit.
so in this java program (which sends sms text say 'node1' i... | stackexchange/codereview |
I have two tables. One table is meant to serve as a transaction history and the other is a log of member details. When a report is run, I want to move pieces of the member details into the transaction history but ALSO update some field records which would not otherwise exist.
Is it possible to select all records which... | stackexchange/codereview |
I want to close the jquery dialog on click of a button which is placed in that dialog how should i do this?
| stackexchange/codereview |
I would like to know where in the linux source code should i search for finding the board specific packages, more clearly, the memory map of different devices.
I was browsing through the link : http://lxr.linux.no
Thanks
| stackexchange/codereview |
In Java, a try { ... } finally { ... } is executed somewhat unintuitively to me. As illustrated in another question, Does finally always execute in Java?, if you have a return statement in the try block, it will be ignored if a finally block is defined. For example, the function
boolean test () {
try {
retu... | stackexchange/codereview |
I am trying to change the background color and alpha of a link bar in a Flex/Flash 4 application. No matter what properties I define, the background of said link bar is always white. Please see the image https://i.stack.imgur.com/PyHs2.png.
<mx:LinkBar id="lnkBar" backgroundAlpha="0" backgroundColor="black" bottom="0... | stackexchange/codereview |
I am trying to learn how the whole build chain works so I can better understand what goes on when I do build/link/compile etc.
One point I am having trouble with is this: If the compiler turns the source into native assembly, why can't the same program run on different OSs? Isn't assembly run directly by the CPU? So th... | stackexchange/codereview |
I have a view made up of TableLayout, TableRow and TextView. I want it to look like a grid. I need to get the height and width of this grid. The methods getHeight() and getWidth() always return 0. This happens when I format the grid dynamically and also when I use an XML version.
How to retrieve the dimensions for... | stackexchange/codereview |
I've recently implemented Facebook's api to login/register an account via the user's existing facebook account.
I now want to do the same thing with Google. Is there any examples of how to do this with the Zend_Gdata stuff? I've been looking, and I can't find the proper "scope" parameter to pass to get access to the us... | stackexchange/codereview |
How to make a WPF application automatically run at computer start up programmatically?
| stackexchange/codereview |
I have data on a remote server. I can query it asynchronously from, say, a console app passing it a callback reference and it will return the data in batches, calling the callback once for each batch. When I send the query, I won't know how many items are being returned, so I won't know how many batches, though I wi... | stackexchange/codereview |
Check
<class name="Blankhol" table="hoL" lazy="false">
<id name="Id" column="H_Id" />
<property name="MId" column="M_ID" insert="false" update="false" />
<many-to-one name="MemInfo"
class="BusinessDataEntities.Domain.Net.Company, BusinessDataEntities"
lazy="false">
... | stackexchange/codereview |
I'm trying to build a custom control for the Windows Phone 7 platform. So far I have the property defined and it works fine if it's a simple type (like a string), but this ultimately needs to be an array. So I define my property like this:
#region Keywords
public string[] Keywords
{
get { return ... | stackexchange/codereview |
I am trying to do multiple image uploads via the <cffileupload> tag. The tag calls a file called fileupload.cfm to process / finalize the image.
Inside that image I want to start off a thread (here is where I might not understand threading, so let me know) so that I can reply 'image uploaded' back to the flash upload ... | stackexchange/codereview |
I am trying to customize the DispForm.aspx Display form in an announcement list but as soon as I try to delte the WebPart and add the new Custom form using SharePoint Desginer 2007, the link to view an item on the list goes to root.
Example the correct URL for the item is:
http://serverx/Site1/Lists/Announcements/DispF... | stackexchange/codereview |
I'm working on the avatar upload on my website and would like for users to be able to input an image using URL's.
How would I go about taking the image from the URL supplied in the form and checking its file format (.png, .jpg, .gif), file size (50kb max), and file dimension(100x100 max)?
| stackexchange/codereview |
I store sensitive information in a mysql database in 'text' field format which is encrypted using openssl_public encrypt and descrypted using openssl_private_decrypt.
The issue I face however is that when trying to use my php script to 'decode' the text, the returned value has several apostrophes and quotations within ... | stackexchange/codereview |
Does anyone know how to determine the security mode (Mixed Mode or Windows Authentication) in .NET?
EDIT: I am using normal ADO.NET objects (SqlConnection, SqlCommand, etc) to connect to the database.
Thanks for any and all advice.
Steve
| stackexchange/codereview |
http://www.slideshare.net/zeeg/djangocon-2010-scaling-disqus
Vertical partitioning helper:
class ApplicationRouter(object)
def db_for_read(self, model, **hints):
instance = hints.get('instance')
if not instance:
return None
app_label = instance._meta.app_label
return... | stackexchange/codereview |
In not edit mode(setEditing:NO), selecting cell is possible.
But in edit mode(red minus icon appears), I can't select cells and didSelect method isn't invoked.
How I resolve this? Help me :)
| stackexchange/codereview |
I am using TouchXML to parse incoming XML Files. Until now, everything worked fine, but with this file, I am having lots of troubles:
<item>
<title><![CDATA[Hotel Katschberghof]]></title>
<edsp:uid>92090</edsp:uid>
<link>http://test.dataapi.herold.at/search?aId=yasssu&auth=MjAxMDExMDgwNTAwMD... | stackexchange/codereview |
We are trying to implement facebook chat from our own ejabberd server using transports.But when we requested for photo of the contact, it gives binval but not type of photo.Can any one help me out in resolving this issue.
EDIT
In response to the follow-up questions, this is the request I send to the server:
var imgcar... | stackexchange/codereview |
I am using a third party library from which i want to give a callback to UI( written in qt) upon some events. I am registring the call back with the function pointer of the UI but when i get the call back i get following error
"QObject::startTimer: QTimer can only be used with threads started with QThread" and
"QPixma... | stackexchange/codereview |
I want a new instance of my app to be created for every filepath handed to it via command-line args at startup.
Right now I have this in my main window's constructor:
if (args.Length > 0)
{
for (int i = 0; i < args.Length; i++)
{
string arg = args[i];
if ... | stackexchange/codereview |
I am interested in displaying a struct / class object in a specific way using Netbean's default GDB debugger for C and C++ projects so I can step through the code quicker. For Java there is an easy way to do this using the "Variable Formatters" section under Tools -> Options -> Misc -> Variable Formatters. I am looki... | stackexchange/codereview |
I have an ASP.NET HttpModule that is distributed as a DLL. I badly need a plugin architecture so I can isolate some heavyweight, rarely used features into external .dlls, and speed up/slim up the core functionality.
I've experimented with (1) reflection and (2) static constructors.
It seems GoDaddy and a few other web ... | stackexchange/codereview |
I need to tweak a jQuery carousel I have made using the excellent cycle plugin
http://jquery.malsup.com/cycle/
Basiaclly, as you can see from this demo (
http://jquery.malsup.com/cycle/pager11.html), if you click '3' on the pager from '1' or vice-versa, that slide will slide in without seeing slide 2
Is there a quick w... | stackexchange/codereview |
I have a need to force my application to the front under special circumstances. I know its against the good coding philosophy but I am working on a turnkey solution where I control the complete device. The app is used internally as a business tool and supplied to the users on a stripped down device. I have searched but... | stackexchange/codereview |
When I view my response I have my json data but at the bottom i've got the html of the page? I'm trying to create a JSON response any spot something obvious. All i've done is create a blank .aspx page.
protected void Page_Load(object sender, EventArgs e){ Database db = DatabaseFactory.CreateDatabase();
... | stackexchange/codereview |
I've had some problems passing string as PChar to Delphi built DLL, and resolved it thanks to Jens Mühlenhoff.
Now I have another issue -
I've made successful callback of c# method when passed to DLL if the Delphi declaration is a regular type procedure, but if Delphi declaration is a method type procedure I get "Atte... | stackexchange/codereview |
the input button is in index.php
<form method="post" action="1.php,2.php,3.php">
<input type="text" name="search" id="search" class='search'/>
<Input type="image" src="" value="Search" class="search_button" /><br />
</form>
I want to set a search box and post a value to 3 pages. The 3 pages get the values and run the... | stackexchange/codereview |
I want to transform some xml using an xsl-file and output the result somehow (I'm using Android Api Level 8).
My current activity looks like this, but the transformer stays null.
LogCat throws an System.err with org.apache.harmony.xml.ExpatParser$ParseException, saying the xml is not well-formed, but I made sure it is.... | stackexchange/codereview |
SELECT OrgNo, CompanyName FROM ematch WHERE CompanyName = 'SECNET'
I try to change the column into another one and it works. Do I need to remove or add the quotes? Also how to add wild characters in the search string?
| stackexchange/codereview |
Trying to setup a SQL stored procedure that if the variable passed to it equals the keyword 'All' It negates the column 'PlatformName' from the WHERE clause and returns everything in PlatformName and the variable in @Title.
My SQL code is below.
WHERE PlatformName = CASE @Platform
WHEN 'All' ... | stackexchange/codereview |
I just started with v5 of the enterprise lib and seem to encounter some strange issues.
As usually I started with logging. I just added the required references and execute the following code:
Logger.Write("test");
Nothing special so far. Checking the output I found a quite strange issue; when the code is called the fi... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.