Click here to Skip to main content
15,921,548 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: binding navigater add new Pin
Nagy Vilmos11-Jun-09 0:16
professionalNagy Vilmos11-Jun-09 0:16 
QuestionTab Order with UserControls Pin
Andrew Holland10-Jun-09 10:11
Andrew Holland10-Jun-09 10:11 
AnswerRe: Tab Order with UserControls Pin
Johan Hakkesteegt11-Jun-09 0:27
Johan Hakkesteegt11-Jun-09 0:27 
GeneralRe: Tab Order with UserControls Pin
Andrew Holland11-Jun-09 6:25
Andrew Holland11-Jun-09 6:25 
AnswerRe: Tab Order with UserControls Pin
Andrew Holland27-Aug-09 6:00
Andrew Holland27-Aug-09 6:00 
QuestionForm size issues.. Pin
No-e10-Jun-09 10:07
No-e10-Jun-09 10:07 
AnswerRe: Form size issues.. Pin
Christian Graus10-Jun-09 10:33
protectorChristian Graus10-Jun-09 10:33 
GeneralRe: Form size issues.. Pin
No-e11-Jun-09 2:53
No-e11-Jun-09 2:53 
Thanks for your response, if I might take a step back it may help as I also see this screen resizing when the form loads.
    Private Sub frmChamber_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load

      frmChamber.DefInstance.Height = frachamber(0).Height + 214  
      If frmChamber.DefInstance.Height < fraControl.Height + 200 Then frmChamber.DefInstance.Height = fraControl.Height + 214

end sub 


when this code runs, my height will be 645 in this case. It is very clear.

the code then returns to the

public sub new() routine and does a me.show(). Note this code was inserted by the update tool,I have not changed it, copied exactly as is)

Public Sub New()
     MyBase.New()
     If m_vb6FormDefInstance Is Nothing Then
         If m_InitializingDefInstance Then
             m_vb6FormDefInstance = Me
         Else
             Try
                 'For the start-up form, the first instance created is the default instance.
                 If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
                     m_vb6FormDefInstance = Me
                 End If
             Catch
             End Try
         End If
     End If
     'This call is required by the Windows Form Designer.
     InitializeComponent()
     'This form is an MDI child.
     'This code simulates the VB6
     ' functionality of automatically
     ' loading and showing an MDI
     ' child's parent.
     Me.MdiParent = MBIG.mdiMain.DefInstance.DefInstance
     MBIG.mdiMain.DefInstance.DefInstance.Show()
     'The MDI form in the VB6 project had its
     'AutoShowChildren property set to True
     'To simulate the VB6 behavior, we need to
     'automatically Show the form whenever it
     'is loaded.  If you do not want this behavior
     'then delete the following line of code
     'UPGRADE_NOTE: Remove the next line of code to stop form from automatically showing. Click for more: 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup2018"'
     Me.Show()
 End Sub


The form will then show on screen but will be much shorter than it was when I set it. I can re-size it again from the calling routine, but I am not sure why it would change.

Thanks for your help, I am hoping I am just not understanding how this works.

Mike
AnswerRe: Form size issues.. [modified] Pin
nlarson1111-Jun-09 3:29
nlarson1111-Jun-09 3:29 
GeneralRe: Form size issues.. Pin
No-e11-Jun-09 3:41
No-e11-Jun-09 3:41 
QuestionUsing printdocumnet and printdialog Pin
johnjsm10-Jun-09 7:40
johnjsm10-Jun-09 7:40 
AnswerRe: Using printdocumnet and printdialog Pin
Christian Graus10-Jun-09 8:48
protectorChristian Graus10-Jun-09 8:48 
QuestionTwipsToPixelsX Pin
No-e10-Jun-09 6:21
No-e10-Jun-09 6:21 
AnswerRe: TwipsToPixelsX Pin
Luc Pattyn10-Jun-09 6:41
sitebuilderLuc Pattyn10-Jun-09 6:41 
QuestionvalueMember vs DisplayMember Pin
atk887710-Jun-09 4:11
atk887710-Jun-09 4:11 
AnswerRe: valueMember vs DisplayMember Pin
Henry Minute10-Jun-09 4:56
Henry Minute10-Jun-09 4:56 
AnswerRe: valueMember vs DisplayMember Pin
Christian Graus10-Jun-09 9:05
protectorChristian Graus10-Jun-09 9:05 
GeneralOT: I wonder who this is... Pin
Dave Kreskowiak11-Jun-09 3:42
mveDave Kreskowiak11-Jun-09 3:42 
QuestionI need urgent help how to synchronize web & windows database. Please help!!! Pin
Yajjoj9-Jun-09 22:33
Yajjoj9-Jun-09 22:33 
AnswerRe: I need urgent help how to synchronize web & windows database. Please help!!! Pin
Steven J Jowett9-Jun-09 22:50
Steven J Jowett9-Jun-09 22:50 
AnswerRe: I need urgent help how to synchronize web & windows database. Please help!!! [modified] Pin
Johan Hakkesteegt10-Jun-09 0:11
Johan Hakkesteegt10-Jun-09 0:11 
GeneralRe: I need urgent help how to synchronize web & windows database. Please help!!! Pin
Yajjoj10-Jun-09 3:55
Yajjoj10-Jun-09 3:55 
AnswerRe: I need urgent help how to synchronize web & windows database. Please help!!! Pin
Baran M10-Jun-09 2:23
Baran M10-Jun-09 2:23 
QuestionUsing VB.net 2005, How to populate the Column header to all records. Pin
Member 40276179-Jun-09 20:21
Member 40276179-Jun-09 20:21 
AnswerRe: Using VB.net 2005, How to populate the Column header to all records. Pin
Christian Graus9-Jun-09 20:31
protectorChristian Graus9-Jun-09 20:31 

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.