Click here to Skip to main content
16,005,552 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to copy text in a richtextbox to clipboard Pin
Zipadie Doodah18-Dec-03 5:26
Zipadie Doodah18-Dec-03 5:26 
GeneralChanging the Active Forms Pin
neha1210-Dec-03 17:24
neha1210-Dec-03 17:24 
GeneralRe: Changing the Active Forms Pin
Dave Kreskowiak11-Dec-03 2:52
mveDave Kreskowiak11-Dec-03 2:52 
GeneralRe: Changing the Active Forms Pin
neha1219-Dec-03 22:12
neha1219-Dec-03 22:12 
GeneralRe: Changing the Active Forms Pin
Dave Kreskowiak20-Dec-03 12:48
mveDave Kreskowiak20-Dec-03 12:48 
GeneralRe: Changing the Active Forms Pin
neha1220-Dec-03 21:24
neha1220-Dec-03 21:24 
GeneralRe: Changing the Active Forms Pin
Dave Kreskowiak21-Dec-03 6:39
mveDave Kreskowiak21-Dec-03 6:39 
GeneralRe: Changing the Active Forms Pin
Dave Kreskowiak21-Dec-03 6:49
mveDave Kreskowiak21-Dec-03 6:49 
I think there is a problem with your design assumptions and how Windows Forms apps work. It would appears that you think your application can stay open so long as there is ANY form in your app open:
             Application
                  |
                  |
  +-------+-------+-------+-------+
  |       |       |       |       |
Form1   Form2   Form3   Form4   Form5
This is just not the case. Your application depends on a main class, or Form, that is the central hub of your application. Something like this:
             Application
                  |
                Form1
                  |
  +-------+-------+-------+-------+
  |       |       |       |       |
Form2   Form3   Form4   Form5   Form6
                          |       |
                        Form7   Form8
Only when Form1 is closed can your application close, and in opposite terms, only so long as Form1 is open, even if its not visible, can your app stay open.

In the latter example, Form2 can be your splash screen, Forms 3-6 can be options dialogs, editors, print previews, subsections of your app, whatever, ... But in all cases, Form1 MUST keep track of which forms are open and closed.


RageInTheMachine9532
GeneralRe: Changing the Active Forms Pin
neha1221-Dec-03 16:33
neha1221-Dec-03 16:33 
Generalshowing method descriptions in VS Pin
Mesrop Simonian10-Dec-03 13:18
Mesrop Simonian10-Dec-03 13:18 
GeneralRe: showing method descriptions in VS Pin
Günther Meusburger10-Dec-03 20:05
Günther Meusburger10-Dec-03 20:05 
GeneralRe: showing method descriptions in VS Pin
Dave Kreskowiak11-Dec-03 2:48
mveDave Kreskowiak11-Dec-03 2:48 
GeneralRe: showing method descriptions in VS Pin
Mesrop Simonian11-Dec-03 5:50
Mesrop Simonian11-Dec-03 5:50 
GeneralRe: showing method descriptions in VS Pin
Ian Darling11-Dec-03 5:54
Ian Darling11-Dec-03 5:54 
GeneralRe: showing method descriptions in VS Pin
Mesrop Simonian11-Dec-03 8:07
Mesrop Simonian11-Dec-03 8:07 
GeneralRe: showing method descriptions in VS Pin
Ian Darling11-Dec-03 12:37
Ian Darling11-Dec-03 12:37 
GeneralRe: showing method descriptions in VS Pin
Dave Kreskowiak11-Dec-03 5:55
mveDave Kreskowiak11-Dec-03 5:55 
GeneralSolution Pin
Mesrop Simonian11-Dec-03 13:01
Mesrop Simonian11-Dec-03 13:01 
Generalwait for user to close the excel Pin
pnpfriend10-Dec-03 10:41
pnpfriend10-Dec-03 10:41 
GeneralRe: wait for user to close the excel Pin
Dave Kreskowiak11-Dec-03 2:44
mveDave Kreskowiak11-Dec-03 2:44 
GeneralRe: wait for user to close the excel Pin
pnpfriend14-Dec-03 4:09
pnpfriend14-Dec-03 4:09 
GeneralRe: wait for user to close the excel Pin
Dave Kreskowiak14-Dec-03 5:01
mveDave Kreskowiak14-Dec-03 5:01 
GeneralRe: wait for user to close the excel Pin
pnpfriend18-Dec-03 9:49
pnpfriend18-Dec-03 9:49 
GeneralVisual Basic .Net & WindowsNT Pin
Fionn10-Dec-03 7:38
Fionn10-Dec-03 7:38 
GeneralRe: Visual Basic .Net & WindowsNT Pin
Colin Angus Mackay10-Dec-03 13:48
Colin Angus Mackay10-Dec-03 13:48 

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.