Click here to Skip to main content
15,894,405 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionworking with files and graphics... Pin
CAxeMan1-Aug-07 5:02
CAxeMan1-Aug-07 5:02 
AnswerRe: working with files and graphics... Pin
Tom Deketelaere1-Aug-07 5:13
professionalTom Deketelaere1-Aug-07 5:13 
Questionwanna write code the form's X button's click event Pin
eyes20071-Aug-07 3:27
eyes20071-Aug-07 3:27 
AnswerRe: wanna write code the form's X button's click event Pin
Tarakeshwar Reddy1-Aug-07 4:09
professionalTarakeshwar Reddy1-Aug-07 4:09 
GeneralRe: wanna write code the form's X button's click event Pin
eyes20071-Aug-07 4:44
eyes20071-Aug-07 4:44 
AnswerRe: wanna write code the form's X button's click event Pin
Steven J Jowett1-Aug-07 4:11
Steven J Jowett1-Aug-07 4:11 
GeneralRe: wanna write code the form's X button's click event Pin
eyes20071-Aug-07 4:45
eyes20071-Aug-07 4:45 
GeneralRe: wanna write code the form's X button's click event Pin
Tom Deketelaere1-Aug-07 4:52
professionalTom Deketelaere1-Aug-07 4:52 
first of all:

eyes2007 wrote:
Dim tools1 As ToolStrip = CType(sender, ToolStrip)


will not work

sender is of the type Form

second: I'm not really shure what will happen if you just change the parent of a control
my sugestion would be that you call a function on form1 wich dynamicly recreates the tools1 that way you'r form2 can shut down whitout any problems (but like I said don't know if it is needed)

perhaps something like this would be better:

form1.controls.add(tools1.clone) (don't know if possible didn't test it)
GeneralRe: wanna write code the form's X button's click event Pin
eyes20071-Aug-07 20:41
eyes20071-Aug-07 20:41 
GeneralRe: wanna write code the form's X button's click event Pin
Tom Deketelaere1-Aug-07 20:46
professionalTom Deketelaere1-Aug-07 20:46 
QuestionRef:I got error when exporting asp to pdf Pin
aswath0071-Aug-07 3:23
aswath0071-Aug-07 3:23 
QuestionDataGridView Pin
Assaf821-Aug-07 3:15
Assaf821-Aug-07 3:15 
AnswerRe: DataGridView Pin
Rupesh Kumar Swami1-Aug-07 3:32
Rupesh Kumar Swami1-Aug-07 3:32 
QuestionRe: DataGridView Pin
Assaf821-Aug-07 11:42
Assaf821-Aug-07 11:42 
QuestionStoring bengali data into a SQL server Pin
halder_rajib1-Aug-07 2:14
halder_rajib1-Aug-07 2:14 
AnswerRe: Storing bengali data into a SQL server Pin
Colin Angus Mackay1-Aug-07 8:41
Colin Angus Mackay1-Aug-07 8:41 
QuestionChanging taskbar properties. Pin
The ANZAC1-Aug-07 1:56
The ANZAC1-Aug-07 1:56 
Questionparsing user input to Create Filter SQL Pin
MartyK20071-Aug-07 1:55
MartyK20071-Aug-07 1:55 
AnswerRe: parsing user input to Create Filter SQL Pin
Craster1-Aug-07 2:44
Craster1-Aug-07 2:44 
GeneralRe: parsing user input to Create Filter SQL Pin
MartyK20071-Aug-07 3:02
MartyK20071-Aug-07 3:02 
Questionconvert an array to a string Pin
sixecho1-Aug-07 1:43
sixecho1-Aug-07 1:43 
AnswerRe: convert an array to a string Pin
_mubashir1-Aug-07 1:49
_mubashir1-Aug-07 1:49 
AnswerRe: convert an array to a string Pin
Tom Deketelaere1-Aug-07 1:54
professionalTom Deketelaere1-Aug-07 1:54 
AnswerRe: convert an array to a string Pin
Luc Pattyn1-Aug-07 2:54
sitebuilderLuc Pattyn1-Aug-07 2:54 
QuestionName of offending code Pin
Johan Hakkesteegt31-Jul-07 23:34
Johan Hakkesteegt31-Jul-07 23:34 

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.