Categories
blog

Back From Vacation

If you think the troubles with Advantage Rent-A-Car were over – you’re wrong. We lost another hour on our way back to airport when we brought the car back. Aside from numerous annoying mechanical issues with the car itself (nothing major – just annoying) it turned out that the contract on it was closed, so a new one had to be created. How these people get anything done – is just beyond me. Literally spent between 40 minutes to an hour just dropping off the car. Would have been more, but some manager type said he wants us out of there so the sales rep had to fill out some forms by hand to enter them into their system later.

I remember I was complaining about car rental companies before, but Advantage Rent-A-Car has truly beaten all the expectations of bad customer service.

Aside from that the vacation was anything short of amazing. Had a lot of fun on the beach and in parks, rested a lot and came up with new project for myself.

Categories
annoyances programming

Char Array to String in VB.NET 2.0

You will be surprised, but the obvious

Dim arrChars(10) As Char
Dim strString As String
strString = "ABCDEFGHIK"
arrChars = strString.ToCharArray
strString = arrChars.ToString

Will not yield the same string as there was before. It will, rather, return “Char[]” response. To get your string back from Char Array (at least in VB.NET 2.0) you will need to call CStr on array:

Dim arrChars(10) As Char
Dim strString As String
strString = "ABCDEFGHIK"
arrChars = strString.ToCharArray
strString = Cstr(arrChars)

Funny, isn’t it? And totally counter-intuitive 🙂

Categories
microsoft

Life gets a little better…

As it turns out, with the MSDN subscription one of our clients has, we get Visual Studio 2008 Professional Edition. They aren’t going to use it on a current project (unfortunaltely), but we get to play with it and see what’s new. Of course, the main beauties are LINQ and .NET 3.5