.net-3.5-sp1

Running application compiled with visual studio 2008 on .net 4 computer

Hi, I've compiled an application with vs 2008 and .net framework 3.5. I tried to run this application on computer with only .net framework 4 (.net framework 3.5 is not installed) and I've got an error (says that it can't load the assembly ....ServiceModel.... version 3.0). After installing .net framework 3.5 SP 1 it works. I have foun...

Centering a scrollable winform panel in code doesn't show horizontal scrollbar correctly.

I need to show a large image on a winform that is larger than the winform and upon loading that image I need to see the middle part of the image. The first part is easy. I created a scrollable PictureBox ... which I implemented with a regular PictureBox control (set to AutoSize) in a Panel control (set to AutoScroll). To centre the im...