Click here to Skip to main content
15,886,806 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionOpen/Close Forms: Has anybody seen this problem? Pin
Brad Fackrell19-Jul-05 8:47
Brad Fackrell19-Jul-05 8:47 
AnswerRe: Open/Close Forms: Has anybody seen this problem? Pin
Anonymous19-Jul-05 9:45
Anonymous19-Jul-05 9:45 
GeneralRe: Open/Close Forms: Has anybody seen this problem? Pin
Anonymous19-Jul-05 9:48
Anonymous19-Jul-05 9:48 
GeneralRe: Open/Close Forms: Has anybody seen this problem? Pin
Brad Fackrell19-Jul-05 10:00
Brad Fackrell19-Jul-05 10:00 
GeneralRe: Open/Close Forms: Has anybody seen this problem? Pin
Anonymous19-Jul-05 13:05
Anonymous19-Jul-05 13:05 
GeneralRe: Open/Close Forms: Has anybody seen this problem? Pin
Brad Fackrell20-Jul-05 2:26
Brad Fackrell20-Jul-05 2:26 
GeneralRe: Open/Close Forms: Has anybody seen this problem? Pin
Anonymous20-Jul-05 3:44
Anonymous20-Jul-05 3:44 
GeneralRe: Open/Close Forms: Has anybody seen this problem? Pin
Brad Fackrell20-Jul-05 4:02
Brad Fackrell20-Jul-05 4:02 
Anonymous wrote:
where are you showing the form in code?

I have a btnClick that calls:
Dim newFrmMain As New frmMain
formLibrary.frmNewProject.Hide()
newFrmMain.ShowDialog()

...nothing else in the btnClick sub.

Anonymous wrote:
If .Hide is not used, is it possible to .Close the form?

No. I think it goes back to what you said about newFrmMain.ShowDialog() only allowing newFrmMain to be accessable.

In fact, after removing formLibrary.frmNewProject.Hide(), it seems like that line of code is doing absolutely nothing.

I've gone through frmNewProject with a "fine tooth comb" to see if there is anything that could be making it 'hang'...no luck finding anything.
GeneralRe: Open/Close Forms: Has anybody seen this problem? Pin
Anonymous20-Jul-05 4:47
Anonymous20-Jul-05 4:47 
GeneralRe: Open/Close Forms: Has anybody seen this problem? Pin
Brad Fackrell20-Jul-05 5:26
Brad Fackrell20-Jul-05 5:26 
GeneralRe: Open/Close Forms: Has anybody seen this problem? Pin
Anonymous20-Jul-05 5:47
Anonymous20-Jul-05 5:47 
GeneralRe: Open/Close Forms: Has anybody seen this problem? Pin
Brad Fackrell20-Jul-05 9:08
Brad Fackrell20-Jul-05 9:08 
GeneralUrgently need help for inserting value from .net CF to SQL CE database Pin
19-Jul-05 8:38
suss19-Jul-05 8:38 
GeneralHelp: System.Reflection.TargetInvocationException Pin
Anonymous19-Jul-05 7:22
Anonymous19-Jul-05 7:22 
GeneralPopulating Dropdown list Pin
macca2419-Jul-05 5:27
macca2419-Jul-05 5:27 
GeneralRe: Populating Dropdown list Pin
StealthMaker19-Jul-05 10:14
StealthMaker19-Jul-05 10:14 
GeneralCombo Box row selected Pin
directred19-Jul-05 1:14
directred19-Jul-05 1:14 
GeneralRe: Combo Box row selected Pin
toxcct19-Jul-05 1:23
toxcct19-Jul-05 1:23 
GeneralRe: Combo Box row selected Pin
StealthMaker19-Jul-05 10:16
StealthMaker19-Jul-05 10:16 
GeneralUsing VB (VS 7.0) to dev Excel macros etc. Pin
CreepingFeature19-Jul-05 0:55
CreepingFeature19-Jul-05 0:55 
GeneralRe: Using VB (VS 7.0) to dev Excel macros etc. Pin
Kevin McFarlane19-Jul-05 9:27
Kevin McFarlane19-Jul-05 9:27 
Generalhallow only one instance of a winform Pin
fuel2run18-Jul-05 23:50
fuel2run18-Jul-05 23:50 
GeneralRe: hallow only one instance of a winform Pin
Anonymous19-Jul-05 3:42
Anonymous19-Jul-05 3:42 
GeneralRe: hallow only one instance of a winform Pin
fuel2run19-Jul-05 5:05
fuel2run19-Jul-05 5:05 
GeneralRe: hallow only one instance of a winform Pin
Anonymous19-Jul-05 5:45
Anonymous19-Jul-05 5:45 

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.