Click here to Skip to main content
15,893,663 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: write the buffer to the drive [Got It] Pin
jkirkerx14-Dec-14 8:08
professionaljkirkerx14-Dec-14 8:08 
SuggestionCalculating time gap b/w files in MSFlexgrid Pin
Member 1042199813-Dec-14 3:32
Member 1042199813-Dec-14 3:32 
GeneralRe: Calculating time gap b/w files in MSFlexgrid Pin
Richard MacCutchan13-Dec-14 4:14
mveRichard MacCutchan13-Dec-14 4:14 
QuestionGridview problems with Entity framework Pin
dilkonika11-Dec-14 16:56
dilkonika11-Dec-14 16:56 
AnswerRe: Gridview problems with Entity framework Pin
Dave Kreskowiak11-Dec-14 17:00
mveDave Kreskowiak11-Dec-14 17:00 
GeneralRe: Gridview problems with Entity framework Pin
dilkonika13-Dec-14 6:17
dilkonika13-Dec-14 6:17 
GeneralRe: Gridview problems with Entity framework Pin
Dave Kreskowiak13-Dec-14 7:40
mveDave Kreskowiak13-Dec-14 7:40 
Questiondialog, top level vs mdiparent Pin
jkirkerx11-Dec-14 11:56
professionaljkirkerx11-Dec-14 11:56 
I have this dialog, I just want it to stay inside the mdi parent and be centered.
But I get this error message, I don't understand the top level vs mdi parent part.

credDialog = New dialog_credentials(True)
credDialog.TopLevel = True // Can't be top level and ? 
credDialog.MdiParent = Me  // generates the error below
credDialog.StartPosition = FormStartPosition.Manual
credDialog.Left = (Me.Width - credDialog.Width) / 2
credDialog.Top = (Me.Height - credDialog.Height) / 2 - 100

If (credDialog.ShowDialog(Me) = DialogResult.OK) Then // Windows Form Error


Additional information: Form that is not a top-level form cannot be displayed as a modal dialog box. Remove the form from any parent form before calling showDialog.

I know it's straight forward, remove the mdiparent.
AnswerRe: dialog, top level vs mdiparent [settled] Pin
jkirkerx11-Dec-14 13:32
professionaljkirkerx11-Dec-14 13:32 
AnswerRe: dialog, top level vs mdiparent Pin
Dave Kreskowiak11-Dec-14 13:41
mveDave Kreskowiak11-Dec-14 13:41 
GeneralRe: dialog, top level vs mdiparent Pin
jkirkerx11-Dec-14 13:48
professionaljkirkerx11-Dec-14 13:48 
GeneralRe: dialog, top level vs mdiparent Pin
Dave Kreskowiak11-Dec-14 14:44
mveDave Kreskowiak11-Dec-14 14:44 
GeneralRe: dialog, top level vs mdiparent Pin
jkirkerx11-Dec-14 16:37
professionaljkirkerx11-Dec-14 16:37 
GeneralRe: dialog, top level vs mdiparent Pin
Dave Kreskowiak11-Dec-14 16:58
mveDave Kreskowiak11-Dec-14 16:58 
GeneralRe: dialog, top level vs mdiparent Pin
jkirkerx11-Dec-14 17:35
professionaljkirkerx11-Dec-14 17:35 
GeneralRe: dialog, top level vs mdiparent Pin
Dave Kreskowiak12-Dec-14 16:18
mveDave Kreskowiak12-Dec-14 16:18 
GeneralQuestion Dave Pin
jkirkerx12-Dec-14 7:09
professionaljkirkerx12-Dec-14 7:09 
GeneralRe: Question Dave Pin
Dave Kreskowiak12-Dec-14 16:19
mveDave Kreskowiak12-Dec-14 16:19 
GeneralRe: Question Dave Pin
jkirkerx13-Dec-14 10:23
professionaljkirkerx13-Dec-14 10:23 
GeneralRe: Question Dave Pin
Mycroft Holmes14-Dec-14 13:14
professionalMycroft Holmes14-Dec-14 13:14 
GeneralRe: Question Dave Pin
jkirkerx14-Dec-14 13:59
professionaljkirkerx14-Dec-14 13:59 
GeneralRe: Question Dave Pin
Mycroft Holmes14-Dec-14 14:29
professionalMycroft Holmes14-Dec-14 14:29 
QuestionHow to improve performance of VB.Net 2010 / Word Windows Desktop App? Pin
QuickBooksDev11-Dec-14 8:37
QuickBooksDev11-Dec-14 8:37 
SuggestionRe: How to improve performance of VB.Net 2010 / Word Windows Desktop App? Pin
Maciej Los11-Dec-14 10:29
mveMaciej Los11-Dec-14 10:29 
GeneralRe: How to improve performance of VB.Net 2010 / Word Windows Desktop App? Pin
QuickBooksDev11-Dec-14 10:43
QuickBooksDev11-Dec-14 10:43 

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.