Click here to Skip to main content
15,907,281 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to get data in column from dataset [modified] Pin
Sonia Gupta13-May-07 19:52
Sonia Gupta13-May-07 19:52 
GeneralRe: How to get data in column from dataset Pin
theScorp13-May-07 20:51
theScorp13-May-07 20:51 
QuestionRe: How to get data in column from dataset Pin
Sonia Gupta13-May-07 20:55
Sonia Gupta13-May-07 20:55 
AnswerRe: How to get data in column from dataset Pin
theScorp13-May-07 21:06
theScorp13-May-07 21:06 
AnswerRe: How to get data in column from dataset Pin
somchoto13-May-07 20:33
somchoto13-May-07 20:33 
GeneralRe: How to get data in column from dataset Pin
theScorp13-May-07 20:59
theScorp13-May-07 20:59 
AnswerRe: How to get data in column from dataset [Thank YOu] Pin
somchoto13-May-07 21:27
somchoto13-May-07 21:27 
Questionminor math question Pin
crash89313-May-07 18:45
crash89313-May-07 18:45 
AnswerRe: minor math question Pin
GgAben13-May-07 22:15
GgAben13-May-07 22:15 
GeneralRe: minor math question Pin
crash89313-May-07 23:30
crash89313-May-07 23:30 
GeneralRe: minor math question Pin
The ANZAC14-May-07 2:17
The ANZAC14-May-07 2:17 
QuestionHow to remove icon Pin
Rupesh Kumar Swami13-May-07 18:35
Rupesh Kumar Swami13-May-07 18:35 
AnswerRe: How to remove icon Pin
Sonia Gupta13-May-07 19:12
Sonia Gupta13-May-07 19:12 
GeneralRe: How to remove icon Pin
Rupesh Kumar Swami13-May-07 19:20
Rupesh Kumar Swami13-May-07 19:20 
QuestionRe: How to remove icon Pin
Sonia Gupta13-May-07 19:36
Sonia Gupta13-May-07 19:36 
AnswerRe: How to remove icon Pin
Rupesh Kumar Swami13-May-07 19:43
Rupesh Kumar Swami13-May-07 19:43 
GeneralRe: How to remove icon Pin
Sonia Gupta13-May-07 20:01
Sonia Gupta13-May-07 20:01 
AnswerRe: How to remove icon Pin
harsh_c13-May-07 22:04
professionalharsh_c13-May-07 22:04 
GeneralRe: How to remove icon Pin
Rupesh Kumar Swami13-May-07 23:12
Rupesh Kumar Swami13-May-07 23:12 
QuestionClose all forms but one Pin
harveyhanson13-May-07 14:20
harveyhanson13-May-07 14:20 
AnswerRe: Close all forms but one Pin
Paul Conrad13-May-07 14:32
professionalPaul Conrad13-May-07 14:32 
AnswerRe: Close all forms but one Pin
Christian Graus13-May-07 15:18
protectorChristian Graus13-May-07 15:18 
GeneralRe: Close all forms but one Pin
harveyhanson14-May-07 0:26
harveyhanson14-May-07 0:26 
GeneralRe: Close all forms but one Pin
Dave Kreskowiak14-May-07 4:03
mveDave Kreskowiak14-May-07 4:03 
harveyhanson wrote:
Im not a wiz at vb by the way, just a beginner!


This makes me question what you're really trying to do with this.

The Application object has a collection called OpenForms. All you need to do is iterate over this collection and call Hide on each form, taking care not to hide the form you want to show.
For Each f As Form in Application.OpenForms
    ' Make sure we're not hiding the form this code is on...
    If f Is Not Me Then
        f.Hide
    Next
Next



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Close all forms but one Pin
harveyhanson14-May-07 4:40
harveyhanson14-May-07 4:40 

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.