I followed the guide here, but for some reason, the table view does not load the data. I know the array exists and there's data in it, but it won't display in the table itself.
I have created an outlook 2007 add-in project in vs2008, targeting .net 3.5, then migrated the project to vs2010.
I have then published the project from vs2010 to a web site, and installed the add-in using click-once to a virtual machine running xp, .net 3.5 sp1, and outlook 2007. This all works great and I can see my add-in within outlook.…
I've inherited some code that I need to debug. It isn't working at present. My task is to get it to work. No other requirements have been given to me. No, this isn't homework, this is a maintenance nightmare job.
ASP.Net (framework 3.5), C#, jQury 1.4.2. This project makes heavy use of jQuery and AJAX. There is a drop down on a page…
Hi all,
I think I may have stumbled onto a limitation of Flot, but I'm not sure. I'm trying to represent a single data series over time. The items' "State" is represented on the Y-Axis (there are 5 of them), and time is on the X-Axis (items can change states over time). I want the graph to have points and lines connecting those points for…
We've got several distributed developers working together on a couple of projects. We've been using Skype to host chats with all the developers, and it works okay except for one thing:
It REALLY mangles any code we copy and paste into the chats -- especially the whitespace in Python.
This question has tons of opinions about chat clients…
Is search and replace the only way to rename as asp control in the code behind file?
I find this extremely annoying, but it is the only way I can find.
Scenario:
I'll find a variable that needs renaming (Usually to meet naming convention)
I'll rename the variable in the aspx/ascx file.
I'll have to go in the code behind files and…
in object oriented php mysqli
I am trying to request a username, and return if it matches a row, without actually returning any user data.
How would I write this?...so far I have...
$sql = "SELECT NULL FROM database WHERE usernick=?";
$stmt = $link->prepare($sql)
$stmt->bind_param('s', $snr);
$stmt->execute();
After…
Hi, this code doesn't compile. i'm wandering what i am doing wrong:
private static Importable getRightInstance(String s) throws Exception {
Class<Importable> c = Class.forName(s);
Importable i = c.newInstance();
return i;
}
where Importable is an interface and the string s is the name of an implementing class.
The…
I've written a plugin for wordpress and I want to use a slider on my page. In it's most basic form (now) to test, I have the for the slider on my page
<div id="wpge-slider"></div>
then in the plugin, I have my init action
add_action('init', 'wpge_init' );
function wpge_init() {
…
I have a worksheet that pulls data from another, it is designed to only show late jobs, and it works perfectly. I have it where it is broken down into quarters, and it gathers all this data and does everything I want. Except this one last bit...
I want to have it where it shows charts, if there is…
I am working on an app that has multiple tabs. In the first tab the user will enter values. In the other tabs it will display the results of calculations based off of those values.
Like in tab 1, the user will enter "3" and "2".
In tab 2, the program will add them and display "5".
In tab 2 how do…
I'm trying to make a simple 2D game in Java.
So far I have a JFrame, with a menubar, and a class which extends JPanel and overrides it's paint method. Now, I need to get a game loop going, where I will update the position of images and so on. However, I'm stuck at how best to achieve this. Should…
As I understand it, the limitation of 255 characters in a file path is a Windows limitation. What is the reasoning for this? If so, has this been resolved in Windows 7?
In our continuous integration practices, we often have deeply nested project structures and it would be extremely useful to be…
I am creating a custom Attribute (extending System.Attribute). I know I can put it on another class easily enough by doing the following.
[MattsAttribute]
public class SomeClassWhichIsACodeBehind {
However, I need to be able to test this attribute easily, and putting it in the code-behind…
How can I force my objects DataContext bindings to update? I'm using an event on a grid, and binding updates are not being processed before my event fires.
Any cheap tricks to get around this?
In the end I can always do things the old manual way of getting the values from my textboxes and…
Is it possible to include a Silverlight (3) out-of-browser application to the add-or-remove programs list?
The intention is to be able to remove the OOB application that way (not just by right-clicking from within the running app)?
If the OOB app is installed with a shortcut to the…
In my Ant build.xml file, I am trying to compile JSPs using ojspc. The files are being compiled, however, the build process is still running to completion when the JSP compilation has errors.
This is part of my build.xml:
<java fork="true"…
I have an NSArray filled with bool objects (expressed as a number), and I need to test to see if any object within the array is equal to 1. How can I do it?
I've started a new job, and the portion of the project I'm working has a very odd structure. Every pages is a .Net aspx page, and it loads just fine, but nothing is really done at load time. Everything is really loaded from a jquery…
I've been playing with a DataBus-type design for a hobby project, and I ran into an issue. Back-end components need to notify the UI that something has happened. My implementation of the bus delivers the messages synchronously with…
For example, if I'm doing some form input validation and I'm using the following code for the name field.
preg_match("/^[a-zA-Z .-]$/", $firstname);
If someone types in Mr. (Awkward) Double-Barrelled I want to be able to…
Like, if I write a program on windows using C# and the .NET framework, then drop the code on a Linux machine running mono, will it run exactly the same? Or would I have to rewrite it to work with Mono's libraries?
So I took some php code and turned it into a calendar with a helper to make a simple calendar.
I got my data from inside the helper:
def calendar_maker
a = Time.now
b = a.month
d = a.year
h = Time.gm(d,b,1) #first day of…
I like finding out about tricky new ways to do things. Let's say you've got a class with a property that gets set to the value of an argument in the constructor, like so:
package{
public class SomeClass{
private var…
For the sake of argument, here's a simple person class
public class Person : DependencyObject, INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public static readonly…