Using user controls in Visual Studio 2005

Jan 12 2007 8:47 AM

Hi there,

I started working on a Visual Studio Project Yesterday, in which I have 13 user controls, of which one of them is like the main user control of the project and in it the other twelve user controls are called by a random method. I manage to get the Main user control to make random instances of each of the user controls. I've tested it before leaving work late yesterday afternoon and the whole project worked without any problems. Now for two questions I want to ask:

Firstly, how does the Visual Studio Project File know which file must be loaded first when a project is being tested-by pressing the "play" button or the F5 key?

Secondly, I keep getting the following error in a pop-up box:
Fail to create UserControl 'myNamespace.userControl'
The error message was  'Constructor on type myNamespace.userControl not found.'
Yes, most of you would say, 'check the constructors involved for their overloads and if it is actually there', but I already did that and still can't find any error in the code.

thanx for any help

tiatia