A Disturbance of Shadows hard copies out now on CreateSpace:
For one day only, Amazon is having a free book promotion for A Disturbance of Shadows. Get it while you can, here: http://www.amazon.com/Disturbance-Shadows-Jake-Enholm-ebook/dp/B00V3WQ1QG
So, exciting doings around here, I just got my new novel released on Amazon! The novel is called A Disturbance of Shadows and its available from Amazon here:
I set up a web page for the novel here:
Just had this error when I used some validation example code from Microsoft. The form event handler might already be initialized in the Designer.cs code, so if you are running the validation code in another class file, a lot of examples (like the Microsoft one) will confuse the issue by initializing the event handler again with something like this:
this.Load += new EventHandler(MyForm_Load);
So make sure there's only one EventHandler form load event per form, or else you'll get double error messages for each validation failure.
I dug around a lot trying to find out how to set a default value in the DataGridView ComboBox data field. There are two ways you can do this:
1) Right click on the datagridview object in the [Design] view of visual studio
2) Select Edit columns
3) Select your combobox
4) Select DefaultCellStyle in the properties window on the right
5) Select the little three periods next to the DataGridViewCellStyle box
6) Another box pops up, and says CellStyle Builder. Go down to Data where it says NullValue and put in your default value like MyDefaultValue
This should be the value that will show up in the box when populating the datagrid if there is nothing in that field.
Or, you can use this command in the Form.Designer.cs file:
dataGridViewCellStyleX.NullValue = "myDefaultValue";
where the X in X.NullValue is the field number in the DataGridView. If your combobox is the 1st field then you would write
dataGridViewCellStyle0.NullValue = "myDefaultValue";
If it's the second field:
dataGridViewCellStyle1.NullValue = "myDefaultValue";
And so forth.
Here's the article I just used to replace Windows 8 with Windows 7:
Some notes, your Bios changes will probably be different, I had to go into the advances settings and change my boot up mode from UEFI to CMS because there was no legacy setting, this seemed to work. Also, the Windows 7 compatability tool didn't find all the drivers I needed for installation, however when I went to Driverpack's webpage and installed the free version of driverpack, all the drivers for the new OS came up and installed fine, except for some keyboard drivers from Microsoft that hung on installation, but I didn't really need them.
I went through a lot of crap before I figured this one out. Many of the forums that I went through had solutions where registry settings needed to be changed, and internet connection sharing needed to be turned off. None of that worked for me.
I finally figured out that I was using client version 3.0. This version allowed me to initially connect to the vpn server, but after the connection handshake something always went wrong. The 3.0 anyconnect client was given to me by my customer, but their server was really only compatable with a 3.1 version if it was running on a new version of Windows 7. Complicated huh?
Cisco won't allow you to download a 3.1 client unless you're a customer, but there are many places on Google that have it. Anyway, once I upgraded to 3.1, the problem went away.
So we came home from San Diego after being there for a week, and saw that our front yard had turned into a national park with geysers sprouting everywhere. At first I just thought some drip valve heads had popped off, so I replaced those right away.
When my wife went out the next morning, one of the heads had popped off again. That's odd, why is the system still on? It's still on because the damn valve had blown. So I figured it was the solenoid over the valve, and I had an extra one and replaced it. No dice, the valve was still stuck on, and I couldn't turn it off. What the hell?
I called a repair guy and he said they couldn't come out for a couple of days and it would probably be $200. So I told them I'd call them back.
I took apart the irrigation valve under the solenoid, after watching a youtube video on it. I examined the diaphagm carefully, and noticed that it was perforated. Bingo!
Went down to the local irrigation store and bought another diaphragm for $13. So, if you have the same problem, and you own a screwdriver (cause that's all it took to fix) and $13 I highly recommend you try doing the same, it will save you $200. Make sure no debris gets into the valve when you take it apart.
Some peculiar details on installing Knoppix 7.0 on VMWare
1) When configuring the vm, you must custom configure the hard drive type to IDE, or else the boot will hang
2) Tthe partition auto configure doesn't work right, you need to make at least two partitions, with gparted. One a swap partition with five gigs for swap memory. The rule of thumb for swap size is 2x the size of the ram you are using. Format as swap-linux.
3) Set up a second partition for root. I used thirty-five gigs, but I'm using a portable hard drive for the vm so you may not want to part that much.The root partition needs to be formatted as reiserfs before Knoppoxwill agree to install it.
4) Close the Gparted screen and Knoppix should stop complaining. Follow the rest of the defaults, including installing a grub loader on mbr.
If you have a better way to do this, then you shouldn't even be here. Just kidding, leave a note in the comments, and I'll put it in here. A better way isn't you trolling tech boards and telling people to read the docs. If you do this (and you know who you are) I suggest you move out of mommy's basement, stop drinking wine and change to whisky, and join a fight club or something.