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 🙂