Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing my application from a module
Message
From
25/10/2004 20:04:30
 
 
To
25/10/2004 14:22:11
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
VB.NET 1.1
OS:
Windows 2000 SP3
Network:
Novell 4.x
Database:
MS SQL Server
Miscellaneous
Thread ID:
00954351
Message ID:
00954430
Views:
13
Mike,

I'm no guru but what I'd probably do is instead of issuing Me.Close(), I'd try to determine the form to close and issue frmMyForm.Close(). If the function is called from within a form, you might want to try to pass the form as a parameter.

Martin

~ * ~ * ~

Hello,
I have a module in my VB.NET app that I have a function with an error checking routine in. If I encounter an error, I want to issue a msgbox followed by closing the application. I can't issue a Me.Close in a module, however. I also can't return a boolean value like I usually do to handle this because I am already returning a dataset. Any guidance on this one? TIA!

-MAC
Shit happens!!!
Previous
Reply
Map
View

Click here to load this message in the networking platform