Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form error
Message
From
13/11/2001 04:54:53
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
Form error
Miscellaneous
Thread ID:
00580773
Message ID:
00580773
Views:
30
Hi,

My application is giving error of runtime error 5 whenever one of my modal
form unload. Debugging it in the IDE didn't show the error, it only appear
when I compile my application into a executable file.

Actually, I had 3 modal form calling each other with the second
form getting some return variable from the third form as show below.
Adding some code show that the form 2 unload didn't give any error at all.

I am loss, please advise

Sub Main()
Form1.show vbModal
End Sub


In form 1
=========
Private lStr as String

Form2.show vbModal <=== this part will give the error runtime '5'

with Form2

lStr = .Key

end with


In form 2
=========
Public Key as String

Key = "Testing"

'do some processing
' and will exit Form2
'by another exit button'
Best Regards
Virusim
Reply
Map
View

Click here to load this message in the networking platform