Click here to Skip to main content
15,915,163 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: SortedList vs. ArrayList Pin
kenexcelon13-Dec-05 20:54
kenexcelon13-Dec-05 20:54 
QuestionDataGrid Row Selection (Urgent) Pin
HemaRawat13-Dec-05 18:55
HemaRawat13-Dec-05 18:55 
AnswerRe: DataGrid Row Selection (Urgent) Pin
Roy Heil13-Dec-05 19:15
professionalRoy Heil13-Dec-05 19:15 
GeneralRe: DataGrid Row Selection (Urgent) Pin
HemaRawat13-Dec-05 21:32
HemaRawat13-Dec-05 21:32 
QuestionDrag and drop controls into a usercontrols? Pin
Fu Manchu13-Dec-05 15:23
Fu Manchu13-Dec-05 15:23 
AnswerRe: Drag and drop controls into a usercontrols? Pin
Roy Heil13-Dec-05 19:22
professionalRoy Heil13-Dec-05 19:22 
GeneralRe: Drag and drop controls into a usercontrols? Pin
Fu Manchu14-Dec-05 1:02
Fu Manchu14-Dec-05 1:02 
GeneralRe: Drag and drop controls into a usercontrols? Pin
Roy Heil14-Dec-05 1:52
professionalRoy Heil14-Dec-05 1:52 
OK. What you will need to do is, as the control is dropped on your user control, identify what type of control it is.

I assume that you want this control to be persistant (i.e. still there when you restart your app later). If so, you need to store a list of controls to be populated on your user control. You could store the list in an XML file, or in the registry.

Finally, you need to dynamically create the controls; both at startup, and when a new control is added. Remember that you are not actually dropping a control on your usercontrol, you are identifying the type of control.

Sorry is this is kind of vague. I have not actually done this. But this is how I would try it. Hope this helps.


Roy.
Questiondifferences please Pin
faviochilo13-Dec-05 10:02
faviochilo13-Dec-05 10:02 
Questionvb.net user control in vb6.0 Pin
Animesh Misra13-Dec-05 0:39
Animesh Misra13-Dec-05 0:39 
QuestionWhich of the following is faster Pin
BabyEmperor12-Dec-05 21:09
BabyEmperor12-Dec-05 21:09 
AnswerRe: Which of the following is faster Pin
Briga12-Dec-05 22:17
Briga12-Dec-05 22:17 
AnswerRe: Which of the following is faster Pin
Brent Lamborn13-Dec-05 4:44
Brent Lamborn13-Dec-05 4:44 
AnswerRe: Which of the following is faster Pin
Steve Pullan13-Dec-05 12:23
Steve Pullan13-Dec-05 12:23 
GeneralRe: Which of the following is faster Pin
BabyEmperor15-Dec-05 1:13
BabyEmperor15-Dec-05 1:13 
Questionhelp.. Pin
ferdausie12-Dec-05 20:56
ferdausie12-Dec-05 20:56 
AnswerRe: help.. Pin
Christian Graus13-Dec-05 13:17
protectorChristian Graus13-Dec-05 13:17 
GeneralRe: help.. Pin
ferdausie13-Dec-05 19:44
ferdausie13-Dec-05 19:44 
GeneralRe: help.. Pin
Christian Graus13-Dec-05 23:32
protectorChristian Graus13-Dec-05 23:32 
GeneralRe: help.. Pin
ferdausie13-Dec-05 23:38
ferdausie13-Dec-05 23:38 
QuestionNhibernate in VB.net Pin
Gaurav_Rahi_SE12-Dec-05 20:31
Gaurav_Rahi_SE12-Dec-05 20:31 
QuestionChecking Version of MSDOS EXES Pin
padmakumarg12-Dec-05 20:20
padmakumarg12-Dec-05 20:20 
AnswerRe: Checking Version of MSDOS EXES Pin
Dave Kreskowiak13-Dec-05 4:14
mveDave Kreskowiak13-Dec-05 4:14 
QuestionError message on Windows NT Server Pin
vincentkhoosiongleng12-Dec-05 19:57
vincentkhoosiongleng12-Dec-05 19:57 
AnswerRe: Error message on Windows NT Server Pin
oykica13-Dec-05 3:07
oykica13-Dec-05 3:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.