Friday, September 21, 2007

LoadTest troubles

After installing a loadtest Controller and an agent using the Visual Studio 2008 Beta 2

the controller indicated that the agent remained disconnected, 
after searching i found out that the user did not belong to the TeamTestAgentService user group on the controller, after adding this user the agent become ready.

another usefull utility is the AgentConfigUtil.exe tool.

You can also check the log files  for errors :   \LoadTest\agentConfigUtilSetup*.log file for errors.

Another possible error sis : “Rig failed to restart for controller . The following error was reported Cannot open VSTTController service on computer .”

This error occurs when the when the user tries to restart the rig from the Administer Test Controller dialog box, but the user doesn't belong to the Power User or Administrator group.

More info for loadtests :
Ed Glas's blog

Friday, September 7, 2007

It's finally here. Opera 9.5

It's finally here.

Opera 9.5 Alpha has arrived, and of course i had to install it. 

Just for safety I installed it separate from my 9.23 installation.

 
 When I started it I was pleasantly surprised, it is even faster than 9.23,

And this for an alpha build, this promises for the release build :)

 

Some new items are :

  • Performance
  • Full history search (quite usefull)
  • Improved site compatibility
  • Access for everyone
  • Improved platform integration
  • Preview of bookmark and Speed Dial synchronization (very nice )
  • Magic Windows build number (very important of course ;-) )


For some statistics that it is indeed fast :

http://nontroppo.org/timer/kestrel_tests/ 
 

If you want to play with a new browser , or read about the new features:
http://www.opera.com/products/desktop/next/

 

Beware, it is an alpha build !

I have one problem and it crashes when I want to save a webpage to an mht file,

Otherwise I have no probems found yet, I will post if I find more.

Tuesday, July 10, 2007

Pricey Vista Boxes



Amazon is selling empty vista boxes, and although the design is nice,
the price is a bit much :)

Tuesday, June 19, 2007

Image.FromFile locks the file

When you use the picturebox to display pictures and fill it by using

Picturebox1.Image = Image.FromFile("somefile"),

You will find that it locks the image file.

There are 2 solutions,

The first is to dispose of the image :

Picturebox1.Image.Dispose()

Wich is ok when you are going to put another picture in the picturebox but can lead to surprising results in other cases.

The second (and advised way) is to use a file stream :

Dim fs As System.IO.FileStream

fs = New System.IO.FileStream("somefile", IO.FileMode.Open, IO.FileAccess.Read)

PictureBox1.Image = System.Drawing.Image.FromStream(fs)

fs.Close()

Wednesday, June 13, 2007

Tuesday, June 5, 2007

Missing CD/DVD rom drives in Windows?

Trying to write a cd,
I noticed my DVD writer was missing,

Looking in device manager i got the following error message :

Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)

very strange, as this device has always worked perfectly before.

After some googleing I tried things to update the drivers, deleting the device from device manager etc.

Finally i found the answer :

Open regedit
Go to key :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}

Find the "UpperFilters" and "LowerFilters" (and "UpperFilters.bak" "LowerFilters.bak", if they exist) values and delete them.


After that reboot or delete the devices one more time from device manager and voila they were back!

WARNING : some CD / DVD writer programs may have to be reinstalled!!! but that's a small price to pay i find :)

Thursday, May 17, 2007

Adding rows to another table

When you add a row from a datatable to another with

table(0).rows.add(theRow)

you will get the error
This row already belongs to another table

Instead of the table.add(theRow) command, you can use the table.importrow(therow) command

This will preserve the rowstate, so if the row was unchanged in the first datatable,
it will be unchanged in the new table.

this can be usefull for ecample after a select on a datatable