Hi, Good Day!
I'd like to find out what statement shd i write to exit my vs.net program in
vb.net.
i.e. close everything, is tht possible?
Can someone help?
Thanks in advanced.
rgds,
Phoebe. 8 13905
Hi Phoebe,
Application.Exit()
Bernie
"Phoebe." <ph********@hotmail.com> wrote in message
news:ec**************@TK2MSFTNGP12.phx.gbl... Hi, Good Day!
I'd like to find out what statement shd i write to exit my vs.net program
in vb.net. i.e. close everything, is tht possible?
Can someone help? Thanks in advanced.
rgds, Phoebe.
Thanks Bernie,
But when i insert the statement below, there's an error saying
"'Exit' is not a member of 'System.Web.HttpApplicationState'"
What could be the reason?
Thanks again.
Phoebe.
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:ep**************@TK2MSFTNGP12.phx.gbl... Hi Phoebe,
Application.Exit()
Bernie
"Phoebe." <ph********@hotmail.com> wrote in message news:ec**************@TK2MSFTNGP12.phx.gbl... Hi, Good Day!
I'd like to find out what statement shd i write to exit my vs.net
program in vb.net. i.e. close everything, is tht possible?
Can someone help? Thanks in advanced.
rgds, Phoebe.
Phoebe,
When we start with the most simple situation.
Me.close in your form1 closes the application in a windowform application if
you did not do things as application.start etc..
I hope this helps?
Cor
Hello Phoebe
Maybe your are using ASP.NET ... I'm not sure but maybe
there's application.exit()
Kind Regards
Jorge Cavalheiro -----Original Message----- Thanks Bernie,
But when i insert the statement below, there's an error
saying"'Exit' is not a member
of 'System.Web.HttpApplicationState'" What could be the reason? Thanks again.
Phoebe.
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in
messagenews:ep**************@TK2MSFTNGP12.phx.gbl... Hi Phoebe,
Application.Exit()
Bernie
"Phoebe." <ph********@hotmail.com> wrote in message news:ec**************@TK2MSFTNGP12.phx.gbl... > Hi, Good Day! > > I'd like to find out what statement shd i write to
exit my vs.netprogram in > vb.net. > i.e. close everything, is tht possible? > > Can someone help? > Thanks in advanced. > > rgds, > Phoebe. > >
.
Thanks Cor.
I'm in webform application and not windowform application.
Can you help?
Thanks again.
Phoebe.
"Cor" <no*@non.com> wrote in message
news:OW**************@TK2MSFTNGP11.phx.gbl... Phoebe,
When we start with the most simple situation.
Me.close in your form1 closes the application in a windowform application
if you did not do things as application.start etc..
I hope this helps?
Cor
Hi Phoebe,
You can do a Session abort (although with that I am also not sure it abort
direct I thought it still was living some time). With the page it is as I
wrote me.close
But you cannot delete a page from a user his screen from the server side
direct.
But I think you can use (Page .registerstartupscript and then some
javascript to close the window) although I think that the user will be
suprised (As I remember me it right with that you closes IE). http://msdn.microsoft.com/library/de...mbersTopic.asp
For the close script you can just google for javascript close window I
think.
I hope this helps,
Cor
what do you want to do exactly?
exit the application like in a windows application has no sense in a
webapplication
dominique
"Phoebe." <ph********@hotmail.com> wrote in message
news:e2**************@TK2MSFTNGP12.phx.gbl... Thanks Cor.
I'm in webform application and not windowform application.
Can you help? Thanks again.
Phoebe.
"Cor" <no*@non.com> wrote in message news:OW**************@TK2MSFTNGP11.phx.gbl... Phoebe,
When we start with the most simple situation.
Me.close in your form1 closes the application in a windowform
application if you did not do things as application.start etc..
I hope this helps?
Cor
* "Phoebe." <ph********@hotmail.com> scripsit: I'd like to find out what statement shd i write to exit my vs.net program in vb.net. i.e. close everything, is tht possible?
Close the main form.
--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Yasaswi Pulavarti |
last post by:
I know there are some sample user exit programs in sqllib/samples/c
directory. How do I tell DB2, which user exit program to use? I know I
have to edit and compile the c based user exit programs,...
|
by: Ini |
last post by:
Hi,
I'm using VB6 and Windows XP. For an user on my computer (my 3 year old
daughter) I wrote a program in VB. For reasons of security the program
automaticly starts as she logs in on her...
|
by: drose0927 |
last post by:
Please help! I can't get my program to exit if the user hits the
Escape button:
When I tried exit(EXIT_SUCCESS), it wouldn't compile and gave me this
error:
Parse Error, expecting `'}''...
|
by: Alberto |
last post by:
How can I exit from my program in any point? For example, form A calls formB
and when the user press a botton I want to close the application (not only
the formB)
Thank you.
|
by: Andy |
last post by:
In C, we can use "exit" to exit the program.But how can we exit from a
assemble program?
|
by: edeva001 |
last post by:
I have log archiving to local File System and I turned on the USER EXIT In the DB cfg
Still the logs are not archiving what is the reason.
DO I have to turn on some program db2uext dowloaded...
|
by: remya1000 |
last post by:
i need computer A to tell computer B to start or Exit a program. and computer B should do Exit or start while computer A gives start or exit direction.
i'm using VB.NET and WMI. and i'm new to WMI....
|
by: femtox77 |
last post by:
Hi to all! Do you know if i can execute a macro at exit of a program?
If yes, how can i do it?
Thank to all
Femtox
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |