473,657 Members | 2,504 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can you hide a vb.net console window?

Can you hide a vb.net console window?
Nov 20 '05 #1
9 19428
* "DaveF" <df*****@geodec isions.com> scripsit:
Can you hide a vb.net console window?


You can close it by exiting the application.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
I want to hide it when it is running???

--

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:2h******** ****@uni-berlin.de...
* "DaveF" <df*****@geodec isions.com> scripsit:
Can you hide a vb.net console window?


You can close it by exiting the application.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3
* "DaveF" <df*****@geodec isions.com> scripsit:
I want to hide it when it is running???


I doubt that this is supported because you can start a console
application from an existing console window and then hiding the
application would hide the whole console...

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
Hi, DaveF

yes you can.

Use GetConsoleWindo w() and ShowWindow Win32 API - see platform SDK - Console
functions.

HTH
Alex

"DaveF" <df*****@geodec isions.com> wrote in message
news:eM******** ******@TK2MSFTN GP10.phx.gbl...
Can you hide a vb.net console window?

Nov 20 '05 #5
In article <Of************ **@tk2msftngp13 .phx.gbl>, AlexS wrote:
Hi, DaveF

yes you can.

Use GetConsoleWindo w() and ShowWindow Win32 API - see platform SDK - Console
functions.


GetConsoleWindo w only works on 2K and up... The old way to do this was
to use SetConsoleTitle to a unique value (a GUID string comes to mind)
and then use FindWindow to locate the window.

--
Tom Shelton [MVP]
Nov 20 '05 #6
Dave,
Rather the creating a console application, consider creating a Windows
Service or a Windows Application.

Then the question of hiding the "console window" is moot.

Hope this helps
Jay

"DaveF" <df*****@geodec isions.com> wrote in message
news:eM******** ******@TK2MSFTN GP10.phx.gbl...
Can you hide a vb.net console window?

Nov 20 '05 #7
Hi Jay,

Are you making it difficult for us.

Then the question of hiding the "console window" is moot.


I thought Jay starts with the same words of CJ, and than we (not american
speakers) have to translate free and thought he means mud, but I never saw
you use those words.

I was looking this up in a dictionary, however the translations do not fit
in my idea, what is it?

:-)

Cor
Nov 20 '05 #8
Cor,
I was using this definition:

Moot (adj) 1: open to question 2: having no practical significance

If you change the project type to a type that does not show a console
window, then needing to know how to hide (the none existent window) does not
matter (no practical significance).

Hope this helps
Jay

"Cor Ligthert" <no**********@p lanet.nl> wrote in message
news:un******** ******@TK2MSFTN GP09.phx.gbl...
Hi Jay,

Are you making it difficult for us.

Then the question of hiding the "console window" is moot.
I thought Jay starts with the same words of CJ, and than we (not american
speakers) have to translate free and thought he means mud, but I never

saw you use those words.

I was looking this up in a dictionary, however the translations do not fit
in my idea, what is it?

:-)

Cor

Nov 20 '05 #9
>
Moot (adj) 1: open to question 2: having no practical significance

The second one I could not find and the first one was moot in my opinion.

Thanks.

Cor
Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
11472
by: adrien | last post by:
Hi, (also posted in netscape.public.mozilla.browser) i use netscape 7 and want to hide the scrollbars of the window when something happens. I tried this: window.scrollbars.visible=false window.scrollbars.visibility="no" .... nothing works Is it also possible only to hide the vertical scrollbar instead of both?
2
404
by: Jason Han | last post by:
I have a .NET Windows application which launches another .NET console application using Start() method in the Process class. I set the StartInfo.CreateNoWindow to true. But on Windows98, the console still shows up (on XP and 2000, no window shows up). Could anyone tell me how to hide the console window? Thanks in advance for the help.
3
10405
by: dricks dr | last post by:
Hi, I'm using the AxWebBrowser Control from microsoft in a C# application. It works fine, but i have many problems to hide the javascript error windows that appear when u visit a website with... javascript errors :) I can catch errors coming from website that does not use frames using : private void NavigateComplete(object sender,AxSHDocVw.DWebBrowserEvents2_NavigateComplete2Event e) {
1
3097
by: Terry Olsen | last post by:
I would like to hide a console window on startup so that the user can't close it. is this possible? If so, how would I also show it when I want to view it? *** Sent via Developersdex http://www.developersdex.com ***
0
1373
by: Helge Lenuweit | last post by:
Hello, I am trying to put together an application that (1) shows Console.WriteLine() output when launched from within a console window (that is, from the command prompt) but that (2) **does not open** a console window when launched from Explorer or another process. Can this be done? I haven't had any luck so far - either all Console output is redirected to null (target:winexe) or a console window is
2
6023
by: xfadeuk | last post by:
I have a requirement to create a simple window switching program, which switches between 2 windows when the specified hotkey is pressed. I have managed to accomplish this fairly easilly although I want to hide the console window that is shown when my application is run. Here is my code: #include <windows.h> #include <winuser.h>
1
6922
by: JupeMarsInc | last post by:
Hi, I'm using a simple console application project in VC++ (not a window one). my question is, how can I hide the console window,prevent it from popping up when i run my program? Thank you
2
11440
luke14free
by: luke14free | last post by:
Hello guys, I've been searching for a method to hide the console (as c/c++ user would say) under windows, but i found nothing really helpful. What I found is: 1) I need to rename file as pyw. But when I do so, code just doesn't give any output or open windows, it just close itself... 2) I need to create a "python" service...But how? Is there another simpler method to tell python that my main window is the frame and not the console? I'm...
1
2901
by: Kevin McKinley | last post by:
When I use py2exe to convert Python script to executable Windows programs I always have a black console pop up behind my program. If i run the script before i convert it with py2exe it don't have the console because i save the script ending with .pyw instead of .py. Is there a way to get rid or hide this console once i've turned it into a executable windows program? Thanks you Kevin McKinley
0
8421
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8325
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8742
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8518
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7354
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.