Using multiple forms with Windows Mobile 2003

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dtrudell75@yahoo.com

    #1

    Using multiple forms with Windows Mobile 2003

    Hi there,

    I'm running Visual Basic .Net 2003 and developing a windows mobile 2003
    application.

    I'm using the following code to create and dispose of forms, but I'm
    running into a Stack Overflow error because of the method I'm using.

    Dim frmM As frmMenu
    frmM = New frmMenu
    frmM.ShowDialog ()


    and frmM.Dispose() to close the form.

    Each form has some navigation buttons to move between screens, but
    after they've gone through 20-25 screen switches, a stack overflow is
    created.

    What is the best practice for using multiple forms using a .Net mobile
    application?? Anyone have any suggestions on how I can improve on the
    above scenario


    Thanks..

Working...