Sven in Sverige

Final presentation

Writing by Sven on Friday, 22 of June , 2007 at 1:29 am

Comments (3)

Category: Uncategorized

I’m home

Writing by Sven on Wednesday, 6 of June , 2007 at 9:57 am

I’m home since Saturday. Due too the many work that is left, I will be writing my last post in a few days

Leave a comment

Category: Uncategorized

Some eye-candy. Just a detail ?

Writing by Sven on Friday, 25 of May , 2007 at 11:23 pm

My layout :
AO Sven

Previous layout Sebastiaan :
AO Sebastiaan

If you were a company, which system would you prefer ? :-)
Well it’s all done with CSS, divs, and.. yes 1 table because Internet Explorer seemed to have some problems with floating.

Last week in Sweden has started !

Comments (1)

Category: Uncategorized

Working with VB.NET and MS Access

Writing by Sven on Tuesday, 8 of May , 2007 at 4:24 pm

3 hours on debugging. Whaaat ? Yes, that’s when you work with VB.NET and an Access database.
Let’s give an example :

Vb code

2 possible bugs can appear :
- The parameters are not set in the right order. Though you give an ID for each parameter (see @), the stored procedure (sorry I mean stored query) still wants them in the exact order.
- The stored query looks for records that have a name that is “like” the given name, so with LIKE [’@name’]. MS Access only accepts * as a wildcard. But on the contrary, in VB.NET you must specify this character with the normal % sign !!

It took me hours to solve this bugs.
I also get upset that MS Access doesn’t accept real stored procedures, so I can’t put some logic into the SQL code. That’s why I have SelectUsersByName and SelectUsersByNameAndRole, in case the role-id is not given.

It’s sad but we must work with these horrible languages, cause the professors “can’t maintain C# and SQL Server is still not for free” (??)..

Leave a comment

Category: Uncategorized

Also in Sweden the end is near

Writing by Sven on Thursday, 3 of May , 2007 at 11:00 am

Weather begin April

Leave a comment

Category: Uncategorized

The most friendly Apple Reseller

Writing by Sven on Tuesday, 1 of May , 2007 at 4:57 pm

If you ever went to the Apple Reseller in Gent (Belgium), propably you will have come out terrified by the kindness oldest salesman. He doesn’t like customers, that’s for sure. You can read lots of stories about this shop on the internet (1, 2, 3).

Yesterday in Malmö, I went to MacSupport where a geeky (like they all are) but friendly male vendor helped me out of my adaptor problem. He even wanted to fix my cable and return it on the same day. After calling to Apple Support, and obtaining the CS code, he even just gave me a totally new cable ! Switch, let this be a lesson for you.

So my trip to Malmö was more than worth considering. Luckely I didn’t wait for my roommates deciding when they would eventually go to Göthenborg (so I could go to the reseller over there) and in the meanwhile having the risk my broken cable would turn into flames (there were already burn signs on the end..)
I just did my own thing, which turned out to be the best, having a meet and greet with some Swedish guy from msn, and enjoyed a lovely day in Malmö !!

I finished the day with a nice drink with the international students in the B&B bowling/dancing center in Halmstad. I have never seen so much people in the streets of this town !! :)

Leave a comment

Category: Uncategorized

Kara kara mi

Writing by Sven on Thursday, 26 of April , 2007 at 1:57 pm

Wander how Swedish student parties sound like ?
This is a video taken yesterday at the weekly students pub party. Bad music, but still enough fun and hot swedish blonds ! Enjoy

Leave a comment

Category: Uncategorized

Ajax or Atlas ?

Writing by Sven on Wednesday, 25 of April , 2007 at 3:44 pm

Some time ago Microsoft changed the name of the framework Atlas into ASP Ajax.
You can now download the installer package for Visual Studio, make a new Ajax enabled project, and you are off.

But Microsoft forgot something.
When you are working with MasterPages (and you should) you have to rename Ajax back into Atlas !

Suppose you want to place the ScriptManager into a aspx page, which extends the masterpage.
<asp:ScriptManager runat=”server” EnablePartialRendering=”True” />

Then you should change it into
<atlas:ScriptManager runat=”server” EnablePartialRendering=”True” />
and update the tagprefix in the register line and web.config file.

The power of xml files :-D

Next bug to fix : Making my usercontrol to recognize an asp control inside an updatepanel, inside the usercontrol..

Comments (1)

Category: Uncategorized

Et c’est parti

Writing by Sven on Friday, 23 of March , 2007 at 7:44 pm

Last week Sebastiaan made a small test program in VB for the connection with Access database, and I made some templates. But today we started with the real implementation.
This morning we had a meeting again with our mentor. He just returned from his appointment with the consultants company, and brought some new information. Analys objects, structures, dimensional concepts, concept parameters, parameter variables.. he used some quite abstract words. May be it sounds more difficult than it is.
In the afternoon we finished the login process. Quite easy if you work with the ASP.NET login control. The following days we will make the complete registration, followed by the very advanced question forms.

Wednesday evening we went for the first time to the weekly student party, at Karen at the University. Did you know that parties already end at 2 am ? That people may not smoke inside ? That you have to wait in line to get in ? That there is a lot of security ? That Sweeds are beautiful people ? That they sell Stella’s ? That knulla means “fuck” ?

Yes the learning process has started !

Comments (4)

Category: Uncategorized

First evaluation

Writing by Sven on Wednesday, 14 of March , 2007 at 7:01 pm

I’ve been sitting 2 weeks in Sweden now.
It’s now time to give a little overview of what has happened, and how easy going Swedish life actually is.

First of all, everyone you meet at a public place, or at least someone who offers services, is always very friendly. You get a nice smile, followed by a short happy ‘Hej’. But Swedes like to take enough brakes, so you better be on time.

So after two weeks, yesterday we finally got a paper with our project description. We have to make a ASP.NET website for consultants doing risk management, written in VB.NET. When a consultant goes to examine a building, he takes his tablet pc with the application (webserver) on it. Before he leaves, he synchronizes with the database on the internet, which will give him the most up-to-date information about the subject.

When he arrives, he has to answer some questions, like “Is the building made of wood”. Answering that question, the building will be assigned some parameters, for example “fire risk”. At the end, the consultant will be able to generate conclusions and numeric reports, and even import them into a PowerPoint or Excel 2007 sheet.

It’s a complex application, and I’m a bit sad that we still can’t start to employ it after two weeks. We still need some real life examples, and of course a (dummy) database or some kind of structure. Also, the project has to be made with Microsoft Access, which isn’t a great SQL interpreter.

Today Sebastiaan and I went to school to start with the project. But it didn’t take long because of the lack of information, … and the nice sunny day. Tommorow we’ll give it another try.
I heard that our collegues at Porto already finished their main app (wtf ?). But this won’t discourage us !

Some other remarkable things I need to say :

  • There are sooo many big supermarkets in Halmstad. At the university there is Maxi, but we also have Eurostop (including two gigantic supermarkets, once cheap, one more expensive), 2 other Maxi’s around town, a Lidl, and so on..
  • Rain rain rain.. except for today and the day before yesterday. In sun, Sweden is a totally different country.
  • We are not alone ! We just discouvered a Dutch guy, coming from Eindhoven.
  • Our student houses are full of international students. Mainly Czech, Polish, Spaniards, Germans and a couple of French.
  • Warm meals are not the best quality of Sweden, but the sandwiches (”belegde broodjes” in Belgium) are really awesome
  • As computer science students, we have access to a special student department for IT people. We have our own kitchen, sofas, wireless internet, and seperate rooms. I’ll try to make a picture of that.
  • The international folks don’t mind to do a barbecue when it’s freezing. We just came from it, though it was very sunny.
  • This morning, one of our toilets behaved weird. When I opened the door, all walls and floor were discovered with dirty toilet water. The reason was obvious. In the street a special truck was working on it. Luckely I wasn’t going to the toilet at that moment !
  • A train ticket to Götheburg, about 200km from here, costs 19 euros. No student reduction.
  • Going to Stockholm by lended car is cheaper than with train
  • Only on Friday and Saturday there is people on Halmstad streets during night. Sebastian and I went on Sunday, we were whole alone. Though it is a student city, you can’t compare it to Ghent or Leuven
  • Swedes listen to old pop music (in shops, streets). No Abba, but Atomic Kitten and other bad stuff (mainly 90ies). Norah Jones is the top favorite in supermarkets
  • We are the luckiest students of the university. We don’t have finals now !

Comments (3)

Category: Project

Photographs

See all | Map view

So Swedish : (more..)

Sweden accepted thousands of Jewish refugees from Denemark during World War II