Click here to Skip to main content
16,007,885 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: arabic string to unicode Pin
Dave Kreskowiak28-Nov-07 4:38
mveDave Kreskowiak28-Nov-07 4:38 
QuestionModule Pin
Jamal Abdul Nasir27-Nov-07 23:21
Jamal Abdul Nasir27-Nov-07 23:21 
AnswerRe: Module Pin
Christian Graus28-Nov-07 0:23
protectorChristian Graus28-Nov-07 0:23 
AnswerRe: Module Pin
Dave Kreskowiak28-Nov-07 4:35
mveDave Kreskowiak28-Nov-07 4:35 
Questionwindows Close button Pin
Sipder27-Nov-07 22:56
Sipder27-Nov-07 22:56 
AnswerRe: windows Close button Pin
Tom Deketelaere28-Nov-07 0:57
professionalTom Deketelaere28-Nov-07 0:57 
GeneralRe: windows Close button Pin
Sipder29-Nov-07 22:58
Sipder29-Nov-07 22:58 
GeneralRe: windows Close button Pin
Tom Deketelaere30-Nov-07 0:08
professionalTom Deketelaere30-Nov-07 0:08 
so you want to hide all the forms when the red cross is clicked.

say you have 2 forms: form1 and form2 (original I know Poke tongue | ;-P )
form2 is opened with the click on a button on form1

now when the user clicks the close button(red cross) off form2 we need to hide form2 and form1

in the formclosing event of form2 put the following code

<br />
For Each frm As Form In Application.OpenForms<br />
            frm.Hide()<br />
        Next<br />
        e.Cancel = True<br />


tested and works

sidenote: this will only work for hiding the forms closing them like this will NOT work and you'll get an error.
sidenote 2: you will have to put this code in every form that needs this functionality

hope this helps

If my help was helpfull let me know, if not let me know why.

The only way we learn is by making mistakes.

AnswerRe: Socket Programming Pin
ChandraRam27-Nov-07 22:48
ChandraRam27-Nov-07 22:48 
GeneralRe: Socket Programming Pin
Paul Conrad28-Nov-07 12:42
professionalPaul Conrad28-Nov-07 12:42 
GeneralRe: Socket Programming Pin
ChandraRam28-Nov-07 17:50
ChandraRam28-Nov-07 17:50 
AnswerRe: Chat Pin
ChandraRam27-Nov-07 22:55
ChandraRam27-Nov-07 22:55 
QuestionResizing Forms Pin
Dreamer200727-Nov-07 20:46
Dreamer200727-Nov-07 20:46 
AnswerRe: Resizing Forms Pin
Dave Kreskowiak28-Nov-07 4:33
mveDave Kreskowiak28-Nov-07 4:33 
AnswerRe: Resizing Forms Pin
Paul Conrad28-Nov-07 12:45
professionalPaul Conrad28-Nov-07 12:45 
QuestionIssue with form activate [modified] Pin
nishkarsh_k27-Nov-07 20:42
nishkarsh_k27-Nov-07 20:42 
AnswerRe: Issue with form activate Pin
Dave Kreskowiak28-Nov-07 4:26
mveDave Kreskowiak28-Nov-07 4:26 
QuestionChat Lan(Help Me) Pin
link_night27-Nov-07 20:26
link_night27-Nov-07 20:26 
AnswerRe: Chat Lan(Help Me) Pin
Tom Deketelaere28-Nov-07 1:00
professionalTom Deketelaere28-Nov-07 1:00 
AnswerRe: Chat Lan(Help Me) Pin
pmarfleet28-Nov-07 2:57
pmarfleet28-Nov-07 2:57 
AnswerRe: Chat Lan(Help Me) Pin
Paul Conrad28-Nov-07 12:46
professionalPaul Conrad28-Nov-07 12:46 
QuestionThreads in Vb.NET Pin
Vimalsoft(Pty) Ltd27-Nov-07 20:26
professionalVimalsoft(Pty) Ltd27-Nov-07 20:26 
AnswerRe: Threads in Vb.NET Pin
Dave Kreskowiak28-Nov-07 4:23
mveDave Kreskowiak28-Nov-07 4:23 
QuestionApplication Installation Problem Pin
Suresh Belur27-Nov-07 20:09
Suresh Belur27-Nov-07 20:09 
AnswerRe: Application Installation Problem Pin
Vimalsoft(Pty) Ltd28-Nov-07 2:02
professionalVimalsoft(Pty) Ltd28-Nov-07 2:02 

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.