This is something I have been meaning to do in a while and now I did it. Pretty painless actually.
http://blog.baesonline.com/2007/09/30/WeatherControlPart1.aspx
Christiaan Baes
Belgium
My Blog
"In a system where you can define a factor as part of a third factor, you need another layer to...
I have an SP
That goes something like this
CREATE PROCEDURE [dbo].[spo_KitsGeneralStatistic]
(
@KitType varchar(36)
)
AS
SELECT
(
SELECT COUNT(*)
FROM [tbl_kit]
WHERE [kittype] = @kittype)
AS [UsedKits])
,(...
)
This works fine if I give it a kittype.
But I would like to...
Multithreading and view interaction, we all know you need to do it threadsafe. This just made it easy.
Read it here.
http://www.codeproject.com/cs/samples/AOPInvokeRequired.asp
Christiaan Baes
Belgium
"In a system where you can define a factor as part of a third factor, you need another...
http://www.codeproject.com/aspnet/NHibernateBestPractices.asp
Very, very good article not only about nhibernate (like the title suggest) but also about testing, layering and many more things. With plenty of links to keep you reading for hours.
Christiaan Baes
Belgium
"My old site" - Me
On my work computer which has a lot of programs on it. The Start > all programms is slow opening the first time (more then a minute) after it ussually goes well.
This is a dual core with 2gigs of RAM and it is pretty fast.
My homecomputer with pretty much the same setup doesn't have this...
Is there a simple way to delete the records in a table that aren't linked (via FK) to another table.
Before you ask. This is for my testdatabase and it's a table that is used by several other tables as a lookup table.
So nothing important just something that could make my life more easy, since...
Just to see if I have this correct.
I have a sessionbean that sends a message to a message driven bean. But the sessionbean is not implementing messagelistener. So does that mean I have a send and pray situation? SInce the sessionbean (stateless) will never know if the message arrives? Or am I...
I thought I should share this for you kids.
I start of with this
Public Class Event_Type
Private _Id As Integer
Private _Type As Integer
Private _R As Integer
Private _G As Integer
Private _B As Integer
End Class
and then I select the private members and run the macro...
I now I still have lots of work for school but I got into this on saterday and I couldn't let go.
Its is a snow scene. The original code wasn't very flexible and it was a port from vb6 but I kept the algorithm.
So this is the panel that does all the work (aint very OO but that was more work...
Yesterday I was making a progressbarForm (form with a progressbar on it) that run in it's own thread to show the user the progress a certain process was making. More or less like the IE download screen's. And just like the windows download screens I wanted to show the progress percentage in the...
Or was that Following on more..., Following on The Sequel..., Following on The Next Level..., Following on Doom II... ...
Oh well.
1. Star trek Voyager
2. Stargate SG1
3. Andromeda
4. The 4400
5. Star-Wars (six films counts as a series)
Christiaan Baes
Belgium
"My new site" - Me
I was asked to check the spelling on a document that was written in English and alltough I can search for most words in the dictionary. Some words are not in there and the grammar is sometimes problem too. So I kindly ask for your help.
telogen phase hair or telogen-phase hair
in the sentence...
This is a very interesting article on version control for those little projects where you always forget these kind of things. Everybody should use version control.
http://www.codeproject.com/useritems/XTortoiseSVN.asp
Christiaan Baes
Belgium
"My new site" - Me
I have a select on an oracle database
SELECT ZK_NR, ...
FROM NIC.PIMS_ZAKEN Z
WHERE Z.ZK_NR = :ZK_NR
ZK_NR being the Primary key
this one takes 0.1 seconds
and then I have this
SELECT ZK_NR, ...
FROM NIC.PIMS_ZAKEN
WHERE OUDE_REF_NICC IS NULL
AND REDEN_ANNULATIE IS NULL
wich...
Do you guys use O/R mapping like hibernate/nhibernate to help or do you build your own DAL.
I made my own DAL but after looking in to nhibernate I started to wonder why I shouldn't use that. On the other hand I tried some other O/R mapping but most create code that takes days to read and...
I used to use Nunit and tesdriven.net for my unit testing but today Idiscovered csunit wich has a better interface if you work with VS2005. you can find it here.
www.csunit.org
it is still a beta but I find i stable enough and it's open source so you can debug it yourself.
Christiaan Baes...
I have this function wich returns a collection if I doe this it sorts just fine.
Dim dt As DataTable
Dim s As New KitManagement.Model.StatusKit
Dim l As New System.Collections.Generic.List(Of Model.StatusKit)
dt = Docmd.FillDataTable("SELECT id, en FROM [tbl_status of kits] order by...
Thanks to chiph for letting me use his text ;-)
A new forum has been created called Puzzles For Programmers ( forum1551 )
The (preliminary, non-exclusive, subject to expansion and/or alteration, may be void in your region) rules for the forum are:
1. Should pose a puzzle that requires some...
I know it's not friday yet. But I know you guys like a little fun so here goes
Data
CREATE TABLE #OS
(
OS_ID varchar(20) PRIMARY
, LEVELS int NOT NULL
, LEVEL_ID int NULL
)
INSERT INTO #OS (OS_ID,LEVELS, LEVEL_ID) VALUES ('02/05555.1', 1, 1)
INSERT INTO #OS (OS_ID,LEVELS...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.