FREE CD/DVD Burner
Tuesday, September 9, 2008, 10:21 AM - XP
I have used a number of tools in the past for CD/DVD creation, but this one has to be one of the EASIEST and most complete. CDBurnerXP is so easy to use, I installed it on my parents computer (and we all know that means I will have to support it) and haven't got a single call yet! I burns ISO's to CD/DVD, CD/DVD to ISO, audio disks, etc. Everything you would expect!

[ add comment ]   |  [ 0 trackbacks ]   |  permalink  |   ( 3 / 50 )
Building for 1.1 in VS2008
Thursday, September 4, 2008, 05:05 PM - .NET
ok, so I like the IDE of visual studio 2008, but I still need (occasionally) to build a project that targets 1.1. I found this post which explains step by step how to use MSBee to allow VS2K8 to compile to .net 1.1.

SWEET!

[ add comment ]   |  [ 0 trackbacks ]   |  permalink  |   ( 2.9 / 66 )
NHibernate 2.0 works on MONO!!
Tuesday, August 26, 2008, 08:13 PM - Linux, .NET, NHibernate
Ok, so I'm probably not the first person to figure this out, but I'm ecstatic! Now I can upgrade to NHibernate 2.0 and start playing with the Fluent interface without having to maintain 2 separate sets of code!

[ add comment ]   |  [ 0 trackbacks ]   |  permalink  |   ( 2.9 / 68 )
NHibernate 1.2 to 2.0
Tuesday, August 26, 2008, 08:03 PM - Linux, .NET, NHibernate
I took the opportunity to update one of my projects to NHibernate 2.0 today, because I want to start mapping with Fluent instead of XML. I took an existing working project and replaced the 1.2 references with the 2.0 replacements. This worked fine, except that the NHibernate.Expression namespace is now gone, replaced by the NHibernate.Criterion.

Once I replaced these using statements, I started getting a "Hibernate.MappingException : Could not compile the mapping document: <hbm.xml file> ----> System.Collections.Generic.KeyNotFoundException : The given key was not present in the dictionary." error. It turns out, you have to call "config.Configure()" now, where this happened in 1.2 automatically.

Once I added this call to my Session Factories, the application reported that it could not find "hibernate.cfg.xml". I use mapping in my Web.Config instead of the XML file, so I figured this had changed. A couple of minutes with Google, and Viola! The Web.Config now looks like the xml configuration documents did in 1.2, which needs to look like this:

<configSections>
<section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
</configSections>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="dialect">NHibernate.Dialect.MySQLDialect</property>
<property name="connection.driver_class">NHibernate.Driver.MySqlDataDriver</property>
<property name="connection.connection_string_name">connection_name</property>
<property name="connection.isolation">ReadCommitted</property>
<property name="max_fetch_depth">0</property>
<property name="show_sql">true</property>
<property name="query.substitutions">true=1, false=0</property>
</session-factory>
</hibernate-configuration>

I did try replacing the name hibernate-configuration with another name (like "nhibernate" and it didn't work, so it looks like it needs to have that specific name).

I am now off to test it on Mono!

[ add comment ]   |  [ 0 trackbacks ]   |  permalink  |   ( 3 / 77 )
Creating an EFPS42 Linksys port without the driver
Monday, July 21, 2008, 11:33 AM - Windows
Windows Vista doesn't come with a driver, nor does Linksys seems to supply a 64 bit Vista driver for the Linksys EFPS42 2 printer box. I stumbled these instructions here, which were SPOT ON:

1. Open Control Panel>Printers
2. Click the 'Add a Printer' link
3. Select the 'Add a local printer'
4. On the next screen select 'Create a new port'
5. Select 'Standard TCP/IP Port' for the type of port to create.
6. On the next screen use the following settings: DEVICE TYPE=TCP/IP Device; HOSTNAME OR IP ADDRESS=[the ip address of your print server]; PORT NAME= (i.e., IP_[server ip address]
7. In the 'Additional Port Information Required' screen select 'Generic Network Card', then click
8. Select the printer driver for the printer connected to the port
9. After the printer is installed (do NOT send a test page yet)
10. open the properties of the printer you've just installed and select the 'Ports' tab
11. Select the port and click
12. Change the protocol from RAW to LPR, the field labeled 'Queue Name' will become editable.
13. to access the first printer port enter 'L1' (without the quotes)
14. to access the second printer port enter 'L2' (without the quotes)
15. click then go to the 'General' tab and print a test page

[ add comment ]   |  [ 0 trackbacks ]   |  permalink  |   ( 2.9 / 131 )

Next