Subscribe

Sunday, March 29, 2009

Bon Anniversaire Bastien

Some of the wildest birthday celebration i've encountered, yet, it was nothing but pure fun. It started of with a game of hide and seek. Our birthday boy roamed Newall Avenue clad in a gold flaked g-string searching for hidden clues. These clues then lead him to the final destination, back to the kitchen at home where candles were placed throughout the kitchen, champange bottles and birthday cakes were placed on the table. His love for tomato ketchup earned him 10 bottles of tomato ketchup from different brands. cool eh..Well, his real gift was a t-shirt, which was nice..

[The Gents]

[The Ladies]
[The French & The Malaysian : Strangely both born on the same date]

[My Attempt To Learn French From The Birthday Boy]

[The Gang]

Friday, March 27, 2009

Making The Right Call..

Apparently there's further development in my summer plan. If the road trip to Lyon does take place on 7th of May, it will be a week in France. And the development?It might be another week in Ibiza, Spain if cashflow permits. Ibiza does sound a.w.e.s.om.e...The one place dJ'z throughout the world head during summer to launch new beats and mixes...we'll see how it goes

Wednesday, March 25, 2009

VB.Net & MS SQL Tutorial For Retrieving Record

I'm one of those programmers who's in love with Visual BASIC 6. Yes, it's a simple language, but that's what I love about it. Data manipulation in VB6 with database is done through RecordSet. A RecordSet will perform one continuous connection to the DBMS(MS SQL, MS Access) and retrieve requested data. When you're done with the retrieval, update or what so ever, you may close the connection.

Now in VB.Net, we have a Data Adapter, Data Set, SQL Command, and etc. Connection to DBMS in VB.Net is made when you request for the data. Basically, it connects to perform one operation, then disconnects. Unlike VB6 which is continuous. This is usefull for mass scaled database as a continuous connection will utilize server resources. In VB.Net, the data is retrieved onto the memory on a set of table, called 'DataSet'. To keep things short, here is the simplest way to make a connection to a MS SQL database and retrieve records in VB.Net. I created a simple login for so you could see how you can check on RecordCount as well to perform validations.


Imports System.Data.SqlClient

Public Class frmLogin

Public CN As New SqlConnection("Data Source=localhost\SQLEXPRESS;Initial Catalog=WMTGS;Persist Security Info=True;User ID=dbWMTGS;Password=12345")
Public SQL As String

Private Sub cmdLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdLogin.Click

SQL = "SELECT * FROM Administrator WHERE Username = '" & txtLogin.Text & "' AND Password = '" & txtPassword.Text & "'"
Dim DA As New SqlDataAdapter(SQL, CN)
Dim DS As New DataSet("Credentials")
DA.Fill(DS, "Credentials")

CN.Open()

If DS.Tables(0).Rows.Count = 0 Then
MsgBox("Invalid Login Credentials. Please Contact Administrator.")
CN.Close()
Exit Sub
End If

CN.Close()

Msgbox ("Login Successfull.")

End Sub

Monday, March 23, 2009

The Game Plan

So here's my game plan..

-Head London
-Probablity a roadtrip to France which may involve 17 hours of on road experience..
-Spend a week in France
-Head to Amsterdam

Game on...

Saturday, March 21, 2009

Satria Neo 1.6 Auto Gear Box Q'

Someone posted this question on my blog :

hi...i know this is off topic...but you seem like a reasonable guy who knows
quite a lot about the satria neo...i got a question for you...for an auto neo
using a 1.6l campro engine...will it change to a lower gear and result in high
rpm when going downhill as the accelerator is released as in the gen2 ? thx...

Frankly, I do not know much about the Auto gearbox for Satria Neo as I didn't get much time to experience it. Furthermore I'm no expert for auto gearbox. But for this question, it's clear to everyone that when you drop the gear and your speed is increasing, your RPM will rev higher[more torque i think]. This is due to usage of lower gear on higher speed. Your car would be in a mode where it's using more fuel. So yes, IF it drops gear going downhill, it will rev higher.

On your question will it drop gear, I guess it depends on your driving style as you should be able to control the gear shift[up or down] by playing with the accelerator. Hope that answers your question. :)

Monday, March 16, 2009

Weather In Arizona

I've been asked by SFP to take a minute and state on the climate in Arizona. As I write this, it's currently 5 degrees C in Arizona. The average temperature there stays above 60 degrees. The average rainfall in summer is less than 1in per month. It often rains more in July and August, in a sort of Rainy season. Does sound hot over compared to the weather in Malaysia. It's warm, it's dry, and it's generally comfortable as long as you’re not particularly sensitive to heat.
This is a sponsored post by PayPerPost

Wednesday, March 11, 2009

Iphone 3G In Malaysia On March 20!


Maxis has finally taken proper action to bring in the iPhone 3G to Malaysia. The iPhone 3G 8GB will be for free under the iValue 4 plan from March 20 onwards. New tariff will be introduced starting at RM100..

More information can be found at The Star's website.

Source : Maxis To Bring iPhone 3G to Malaysia On March 20, Published: Wednesday March 11, 2009 MYT 6:14:00PM. (Last Accessed : Wednesday March 11, 2009 GMT +0 4:55PM)

Keyword : 01068b262f

Sunday, March 8, 2009

Satria Neo Problem Solving Tips

An anonymous comment was left on my blog, a tipster provided us with the following information that might be usefull. I'm not able to try it as I'm currently abroad, but hopefully it works on fellow Satria Neo aficionado's:

the problem with your radio always changing channel, just turn off the TA and the RDS function.. it will try to seek other channel that is more clearer but sumtimes it always change to another station.

and i dont have any problem with my burnt cd.. it plays nicely.. maybe the format of the file you burnt is wrong.. it is mp3 max bitrate is 192



And the CD problem that was mentioned, my mp3 qualities are 256 and above. On top of that, I use Imation CD-R which i deem as reliable. I did enquire on the problem to the service center. According to them, they'd have to extract the player and dispatch it to Penang for inspection and it may take couple of weeks. So I just took the easy way out to ignore the issue.