I'm updating my Matrix screensaver. However I have run into an issue which I don't know how to resolver.
Basicly what happends is: If the screensaver start up with no transparancy it works fine.
However, if you have set it to be transpararent it will run for about two seconds and then it'll stop updating. However, if you change the transparancy level after that by pressing any of the numberpad keys it starts working fine again. It's a very odd bug which I can't for the love of sanity work out what in my code that causes that. If anyone got any idea or would bother to have a look at the code then it'd be much appreachiacted.

You can catch me on MSN: msn[AT]thomthom[dot]net
or on #stardock

(I use Visual Studio Express 2005)

on Feb 14, 2006
I'm just a newb at C# (seriously, I've only been playing with it for a couple of days), but I wish I could help you. The link says you are using .NET 2.0(beta), are you still using the Beta or have you downloaded the more recent full version of .NET 2 and C# Express?

I know, I'm no help. I'm pretty sure I would be useless to you right now though. Let me get through my courses and then we'll talk

Good luck!!
on Feb 15, 2006
Have you tried putting some break points in your code around the areas you think might be causing the problems? Do you have any logging you can use to trace through an execution to see where it's hanging? I know you've probably tried this stuff already but if I were to get the code and look at it this is the same thing myself or anyone else would have to do to track the problem down. Post some more info here and maybe everyone can help track it down.
on Feb 15, 2006
Yes, I've updated to the release version of .NET framework and Visual Studio.

I'm going to fiddle around a little again. Got something I'll experiment with. If it fails I'll post the sourcecode on my site.
on Feb 15, 2006
Right... well... I can't work it out. I'm not even sure where to begin on this one. It's almost like the timer that stands for the drawing stops. but it doesn't because I added a debug line in there which printed the current time and it never stopped. I'm wondering if I'm loosing the reference with the drawing surface or something...

anyways, I uploaded the sourcecode at my website: http://www.thomthom.net/xfiles/Matrix.zip

note: I'm still trying to wrap my head around .NET programming after being a hobby Visual Basic programmer. I'm sure I got some bad practices there and you might find yourself scratching your head thinking: "what the hell is that guy trying to do?"
on Feb 16, 2006
I worked it out! Not sure why it worked, but it worked anyways.
When I did was setting the size of the window manually before the window was shown instead of setting it's Windowstate to Maxmimize. For some reason, that did the trick.
on Feb 17, 2006
Wow, that sounds odd at best?!? Maybe with the windowstate not set to maximize it allowed the screen saver to lose focus, which in turn caused it to stop drawing. But, with it maximized that may not happen.. Anyway, glad you worked it out!
on Feb 18, 2006
Yes. I have no idea whatsoever why that should happend. The thing is, before I started working on the update for ti that way worked fine. So I suppose it's some change I did that caused it. But bugger if I can figure out why. I'm ahppy I got around it. But I'd like to know why things work. Anyways, version 1.1 should be done soon. Just going to do some beta testing.