Prevent the console from closing -
When i build a Console application and run it the console always closes after the program is executed which means I cannot view any output. How do I stop the console from closing?
Thanks
Prevent the console from closing -
When i build a Console application and run it the console always closes after the program is executed which means I cannot view any output. How do I stop the console from closing?
Thanks
Changing a console's properties -
I have a program the uses a console for certain tasks and I want to disable the console's "close window button". I need to do this to prevent the user from unintentionally closing the entire program by closing the console.
In Windows 98 I can use the GetClassLongA and SetC
Prevent ignorant closing of a form -
Hello everyone,
I wanna have my form (or my application) to prompt a dialog asking whether the user really wants to exit to prevent ignorant closing, any way to do that ? is there any event like PreClose (rather than Closed or Closing)? thanks.
Prevent closing FORMS -
how to preventing the form from closing by writing coding in sub Form1_Closed ??
Prevent excel from closing -
is there a way to prevent MS Excel embedded on a C# application from closing when the user manually closes excel inside the app or even if they go to file > exit?
i only want the application itself (my C# app) to close it and not by the user
thanks
prevent user from closing word -
I need to disable the X in the right upper corner of Word and the X of the active document in the menu bar.
Basically I want to prevent the user from closing the document until certain circumstances have been met (a certain number of sections for example).
The idear was by exch
Create Console from existing console -
Basically this is what I need to do:
Console A spawns Console B:
Console A maintains input and simply uses console B as a seperate window for display purpose only.
However, from what I have read and been told this is not possible. But, I know that someone here probably has a f
prevent user from closing app -
Hi,
I want to prevent the user from closing my application, even if they use EndTask or EndProcess.
I wrote a program using VB, run it every 10 minutes and I want users not to disturb the task and not to abort it themselves.
I startup the program at every startup in a hidden
How to keep the console box opened -
I have learned a good deal in the lessons sections on the main site.
I'm now at the point of learning console applications without the use of a form. Is there a function to keep the dos box from closing when it opens? This happens even when the project is compiled and I go through
Preventing a browser window/page from closing -
Hi Guys,
How do u do this?
I'v got a page loaded and showing. When I'm closing
the window or moving to another page, I should
check for some values and based on the values
the page should not be unloaded or the window
should not be closed.
I want a functionality similar to
Limit program to startup on console session only -
I want to be able to limit a program to only startup if the program is on the console session of the computer. (Prevent automatically starting the program if the terminal server session is not the console.) Is this possible in visual basic?
How to prevent a form from closing -
Here is my question..
how would I prevent someone from pressing the "X" button on the form< I cant seem to find any properties associated with it :-/.
Thx,
Replex
Preventing a console from closing -
Hi,
I have made a program that shells an app that runs in a dos console. The problem is, the console closes the second the shell command is made so I can’t see what is said in the console. This is the command I use:
Code:
Shell “C:\program files\javasdk\bin\jvc HelloWorld.
Preventing screen from closing and screensaver from working -
Hi all,
I'm trying to see how can one prevent the screensaver from kicking in or the monitor from closing using VB. I tried putting code to disable the scr but what I found only works on w2k and sending sendkeys command to the keyboard works but is not very practical. Thanks.
Preventing A Hooked Process From Closing -
Here is what i want to do.
Create a program in VB that can prevent another program from closing. I'm using VB6 though i'm not sure what to do.
For example, i open both programs, hook with the VB6 program and the other program can't close now.
I can't edit the other program!
Dont close console until -
I finally got around to learning c++, and I have a question.
Normally the console closes when you press any key, and I want it so when the user press 'ctrl+q' then it closes the console. To see if they pressed ctrl+q I have the following code.
Code:
if (getch()==17)
{
re
getting the DOS console window handle -
could someone please tell me if there is a way to get
the handle for the dos console window if a program
is run from the command line instead of from windows?
I want to build a console app (as per the console
tutorial on this site) but want the output to appear
in the dos window t
Closing Widows, Closing an app -
How does one detect if a certian application is opened, and how do you close it from VB?
I have an ExitWindowsEx procedure that shuts the computer down at a certian time (closing time ). When the computer is rebooted, the "Windows was shut down improperly" comes up, and
Using SHELL to open a console application -
Hi all,
I'm creating a little VB app that runs a dos program using the shell command. The trouble is, this dos program terminates just as quickly as it starts. This means you don't have enough time to read what was said in the console window. To solve this problem I figured I should p
hide console -
Is their anyway to write an app that would hide the console it was run in. And i dont mean that i am writing console apps and cant figure out why the console keeps poping up instead of windows. I want to make a (hopefully) little app that gets the handle of the window console window
Prevent Program Close -
Is there any way to prevent my program from being closed?
It is a program that needs to be running on all company computers and will detect most ways to bypass it except Process List -> End Process.
I do not want employees simply end processing the program.
Maybe a way to
Widnows app + console app -
Is there any way I could use the features of a console app in a windows app?
Im working on a game, and I love how the console app works, yet I need more than that at the same time.
I was thinking of declaring a richtextbox as a console
but im not sure if thats possible.. and if
how to prevent that in console mode... -
the window closes after making all the functions i made? if i write:
Console.WriteLine("hi")
after he makes that he will unload the window..i want vb to "hold" the window, not to close it, at least untill the user press any key or something like that
console application auto close o.O -
Hey everybody,
I maked a console application in visual basic 2008 express edition but if i put my commands in the console and press enter then he gives my answer but close automatically 1 sec after i pressed enter.
So i hope someone can help me with this problem.
I got a conso
console. -
Hi,
I have a question regarding this -
console.writeline or any console statement
What does it do? I have never used it . I just use textbox or listview to get the output. Where does console. send the output.
I was looking at msdn.com examples and they use console. stuff
h
prevent closing of an application, without closing another application launched by it -
Hi All,
I have a VBApplication(Exe) which is launched by cilcking on a link from a purchased product.
The application which is launched is a data entry form, and it updates a database as well as pass some data back to the application which has launched it through DDE calls..
M
[Request] How i can make server console/hosting -
Possible make console to some game where is stupid console where cannot control anything.
Console is black but i cannot mod any settings or anything with it so can i make some connector to black console and put my program show how much players there are, example?
console programs with vb 6 -
i was using this tutorial as a base:
http://www.vb-world.net/articles/console/
and was wondering how I could instead of popping up a new console process, use the existing console window's stdout to write to... any ideas?
thanks
How to prevent the form from closing -
Code:
Sub Form1_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
Dim MR As DialogResult
MR = MessageBox.Show("Are you sure you want to quit", "", MessageBoxButtons.YesNo)
If MR =
Prevent System Shutdown if Application is open -
The secretary has this nasty habit of shuting down windows without closing my program which leaves databases open and thus the potential to corrupt my data.
Is there a way to prevent windows 95, 98, and ME from shuting down if my application is still open?
Rev. Michael L. Burns
Possible to update a console line -
Hi,
I was wondering, is there a way to update a console output?
Like f.e. when you want to show progress in percent, but it where it updates the value instead of writing the numbers one after another with Console.Write?
(If you catch what I mean )
or like:
Console.Write("
handle closing of the Concole window -
I have Console application. How can I handle closing of the Concole window ?
writing to console -
I'm having difficulty writing to a console. I'm trying to add a command line option to list command line options. I can't seem to get the handle for the console that called the application. Everything works fine if I call AllocConsole before trying to write, but that opens a second con
Preventing a program from closing -
Is there anyway to prevent a program from closing (not the vb program but a different program).
The sony station launchpad tends to close when you select a game and it's annoying because if you want to switch games you must reopen the launchpad then select the different game.
Prevent Window from Closing -
Hi!
How can I, from PHP, prevent a window to be closed? I mean, if certain condition is met (a cookie exists for instance) write some javascript or whatever to prevent the browser to be closed before some action is executed...
Code:
If(cookie)
do not allow window to be
Help with Ritchtextbox -
I use this function to add stuff to my console prog based's console:
Public Sub consoleadd(message As String, error As Boolean)
main.console.SelColor = vbYellow
main.console.SelText = Format(Time, "h:mm:ss") & " - " & Format(Date, "d/m/yyyy")
Checking a return code for a console app -
I have a console application that is to be executed within an Excel spreadsheet using VBA code. It's presence is completely unknown to the user. However, I wish for the user to be notified that the program ran successfully (like a MsgBox). The console has no Console.Write or Console.Re
Dev C++ Console -
I just started using Bloodshed Dev C++ 4.9.9.2 after using Borland C++ for a long time. How do i enable the console to keep appearing after i run any program just like in Borland C++.
For eg. When executing this code:
------------------
#include<iostream>
int main()
{
cout&
VB.NET, Console, and Sockets -
Anyone have any realworld examples or using Sockets in a console application with VB.NET? I am trying to make a console app that works in a similar fashon as telnet. Ok, alot like telnet just with other functions as well. I just want to get the socket stuff to work in the console, any
VB.NET - Console input on same line + -
With VB.NET how do I get a response to:
Console.WriteLine("my question here: ")
sUserInput = System.Console.ReadLine()
To appear like this:
my question here: (User can type here)
instead of down here......
And is there anyway to change the color of
text in a co