<b>Scott Adams blog:</b> "So here now, exclusively for you blog readers, the totally unfinished first drafts of those comics. You will never see these in newspapers."
I just installed Visual Studio 2010 yesterday. As part of that I installed VSTO 4.0. Now when I run any Office application, my VSTO 3.0 addins fail to load. The error in the event log is
Customization URI: file:///H:/PathToMyAddin/MyAddin.vsto
Exception: Customization does not have the permissions required to create an application domain.
…
I have a deserialized xml c# objet.
I need to iterate through the oject to display all items, in this case there's just one, and display the name, colors and sizes for each item.
The xml:
<?xml version="1.0" encoding="utf-8"?>
<Catalog Name="Example">
<Items>
<Item Name="ExampleItem">
<Colors>
…
I have a parent page containing two iframes. One holds navigation links and the other should display the information pertaining to the navigation link clicked in the first iframe. So I need to target the one iframe from within another iframe.Is this possible? If so how does one go about it?
Recently, I used my favorite image editor to make a 1x1 black pixel (which can come in handy when you want to draw solid boxes in HTML cheaply). Even though I made it a monochrome PNG, it came out to be 120 bytes! I mean, that's kind of steep. 120 bytes. For one pixel. I then converted it to a GIF, which dropped the size down to 43 bytes.…
I'm trying to write an application that connects to my company's wireless network automatically on windows XP.
I've found the Wireless LAN API but it requires me to have some hotfix installed on the machine, and you need to have sp2 or higher(There are machines with SP1, and I'm required to support any XP machine).
I've tried to find some…
I have a couple PHP scripts used for AJAX queries, but I want them to be able to operate under the umbrella of Joomla's authentication system. Is the following safe? Are there any unnecessary lines?
joomla-auth.php (located in the same directory as Joomla's index.php):
<?php
define( '_JEXEC', 1 );
define('JPATH_BASE',…
I'm trying to learn about shift-reduce parsing. Suppose we have the following grammar, using recursive rules that enforce order of operations, inspired by the ANSI C Yacc grammar:
S: A;
P
: NUMBER
| '(' S ')'
;
M
: P
| M '*' P
| M '/' P
;
A
: M
| A '+' M
| A '-' M
;
And we…
I'm building a library to access the Google Analytics Data Export API. All the data the library accesses is in Atom format and utilises numerous different namespaces throughout. My experiments with the API have used SimpleXML for parsing so far, especially as all I have been doing is accessing the data held within the…
Lets say I have the following MySQL structure:
CREATE TABLE `domains` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`domain` CHAR(50) NOT NULL,
`parent` INT(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MYISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1
insert into `domains`(`id`,`domain`,`parent`) values…
Here's what i have so far...
I have yet to figure out how i'm going to handle the 11 / 1 situation with an ace, and when the player chooses an option for hit/stand, i get segfault.
HELP!!!
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#define DECKSIZE…
I have an application which performs 30 independent tasks simultaneously using multithreading,
each task retrieves data over http, performs a calculation and returns a result to the ui thread.
Can I use tpl to perform the same tasks?
Does tpl create 30 new threads and spread them over all the available…
Suppose a tree structure is implemented in SQL like this:
CREATE TABLE nodes (
id INTEGER PRIMARY KEY,
parent INTEGER -- references nodes(id)
);
Although cycles can be created in this representation, let's assume we never let that happen. The table will only store a collection of roots…
I am writing a webservice, that when called should build a C# project. I'm using the framework 2 reference, Microsoft.Buld.Engine and Microsoft.Build.Framework. If you look under the '<Import>' section .csproj file, by default it has:
<Import…
Is there a decent open-source C library for storing and manipulating
dynamically-typed variables (a.k.a. variants)? I'm primarily interested in atomic values (int8, int16, int32, uint, strings, blobs, etc.), while JSON-style arrays and objects as well…
When I typed this apparently innocent snippet of code:
values.name
gedit highlighted name as a keyword. However, name is not listed by the pages linked to by an answer to a question about reserved keywords. I also did a couple trivial tests in…
I'm familiar with php's function bin2hex() for converting binary data to its hexadecimal representation.
However, what is the complement function to convert the hexadecimal representation of the data back to binary data?
For example:
$foo =…
I'm familiar with php's function bin2hex() for converting binary data to its hexadecimal representation.
However, what is the complement function to convert the hexadecimal representation of the data back to binary data?
For example:
$foo =…
I'm looking for an off-shore vendor to augment a small development team in an extended team model. It's J2SE web development using modern frameworks and agile methods. Any that you would recommend (conversely any that you would not?)
I am looking for a way to programatically open the "New Document" dialog in Word 2007. It is the same one you get when you select File-New . You can also open it using the FileNew macro or the "New..." menu command. However, I have been…
Here's what i have so far...
I have yet to figure out how i'm going to handle the 11 / 1 situation with an ace, and when the player chooses an option for hit/stand, i get segfault.
HELP!!!
#include <stdio.h>
#include…
I am interested in a system that allows for distributed development with an authentication piece.
What do I mean by that?
Ok so lets take SVN, SVN keeps track of revisions and doesn't care who submits, as long as you have…
I have a method I am using to execute a command on the local host. I'd like to add a timeout parameter to the method so that if the command being called doesn't finish in a reasonable amount of time the method will return…
I'm tasked with searching for the use of cliches and common phrases in text. The phrases are similar to the phrases you might see for the phrase puzzles on Wheel of Fortune. Here are a few examples:
Safety First
Too Good…
I have an application that is mainly a bunch of PHP files included in a Joomla! application by Jumi. I want to make the site look nicer, but I'd rather not reinvent the wheel. There is a RocketTheme template installed on…