I know something about the delegates but there is a little bit of confusion in strong type Term and does dll hell term has anything to do with the partial classes.
Thanks and regards
does dll hell term has anything to do with the partial classes.
there is a little bit of confusion in strong type Term
It means that you sign the assembly so that the types (classes and structures) are strongly typed. In other words, it helps with security as you need to create a key to sign the assemblies with. You would not distribute the key that you use to create the strong typed assembly, therefore if anyone tampers with your assembly, or attempts to replace it with their own, any application using the assembly will reject the doppleganger.
Select "Tools->Options" from the menu.
On the "View" tab-page tick "Show-System objects".
Select "Tools->Security->User and group Permissions" from the menu.
Choose "MSysObjects" from object names.
Tick "Read Design" and "Read" Permissions.
Which does not help to answer the OP's question, which is why do you not have to specify that you are importing (using in C#) the System namespace. Console is in the System namespace, yet if you leave that out it does not compile. String is in the System namespace, so surely you should need to Import System or refer to it fully as System.String.
I never implemented delegated and events in my programs.I really want to learn these things and get implemented in my project.Can u please send any link that implemented the same.
Thanks and regards
I'm building a page which has a webusercontrol on it.
The webusercontrol is there for the sole purpose of displaying controls(calendar, texbox, etc...) on demand.
The parameters the webusercontrol uses to detirmine what to show, is given by the page the webusercontrol is on.
How can I pass a parameter from the page to the webusercontrol ?
I'll need to build some sort of 'listener' in the webusercontrol I built, but I'm not sure how to go about doing that.
I would suggest simply storing the values you need for the web user control in a Session variable. But pay attention to the order of events so you know where to store the change, I believe the user control is dealt with after the Page Load but before the button click so you would need to have a call to that logic in the Page Load or earlier.
What would that look like in code ?
Take into account that there could be 0 to N parameters being returned.
And there can be several parameters of the same type.
More than one date parameter required, which means that it should return two or more calendar controls on screen.
I can't seem to figure out how to create an object array and load its indexes at runtime in VB 2005. In VB6 you would just select an object set its index property to 0 and at runtime you could load instances of this object whenever you wanted.
for example: in vb6 i have a textbox and i set its index to 0. its name becomes text1(0) and behind the the command button i wrote a code like this:
Private Sub Command1_Click()
For i = 1 To mytxtCount
Text1(i).Visible = True
Text1(i).Top = Text1(i - 1).Top + 500
but i cant do it in vb 2005 now.
Can somebody tell me how to create an object array or point me to an article regarding it?