Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VbModal & Out of Stack Space Infinite loop
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00013520
Message ID:
00013539
Views:
27
>Has anyone hit the following situation:
>
... After exiting the second vbmodal form, I get into an infinite loop and run out of stack space & hang up vb...
...VB is not as robust as VFP, to put it lightly.
Steve...

Well, it works fine here. BTW, are those forms in the same project? I created 2 forms,
both empty, to quickly test the phenomenom :)
Form1.Click :
Private Sub Form_Click()
   If Form2.Visible <> True Then
      Form2.Show
   Else
      Form2.Hide
   End If
End Sub

Form2.Click :
Private Sub Form_Click()
   Hide
End Sub
Stupid code, I know, but it works fine. ...

VB is not as robust as VFP? I wouldn't
say so. I have 2 identical apps, one written in VFP, another replicated in VB (took
me a while, have to admit :) Both do Mailer Master Listing functions such as
address matching, adding zip+4, etc...Both use the same indexes that were
originally created in FoxPro 2.6 DOS. VB flies, while VFP can't even load
in the development environment on the client's machine (486DX-33/8Mg RAM)
Some things are better be left unknown...NOT!!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform