473,395 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Console Application - run in hidden mode

Hi,

Is there a way to run VB .Net Console application with hidden console
window?

I can run it minimized by creating a shortcut and set its properties to run
minimized. Still it is not totally hidden.

Can it be done programmatically?

Appreciate your inputs.

Thanks,
Glenn
Dec 21 '06 #1
2 6714
Hi,

An alternative approach might be to create your application as a
Windows Application, add a new module to your project, put your code
in this module and make the module rather than Form 1 the object run
on startup.

Regards

Steve.

On Thu, 21 Dec 2006 11:25:29 -0800 "Glenn Palomar"
<gl***********@autodesk.comwrote:
>Hi,

Is there a way to run VB .Net Console application with hidden console
window?

I can run it minimized by creating a shortcut and set its properties to run
minimized. Still it is not totally hidden.

Can it be done programmatically?

Appreciate your inputs.

Thanks,
Glenn
- Steve Lowe
- E-Mail : NO************@usa.net
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net
Dec 22 '06 #2
Hi Steve,

Thanks. I'll try this alternative.

"Steve Lowe" <sp****@usa.netwrote in message
news:en********************************@4ax.com...
Hi,

An alternative approach might be to create your application as a
Windows Application, add a new module to your project, put your code
in this module and make the module rather than Form 1 the object run
on startup.

Regards

Steve.

On Thu, 21 Dec 2006 11:25:29 -0800 "Glenn Palomar"
<gl***********@autodesk.comwrote:
>>Hi,

Is there a way to run VB .Net Console application with hidden console
window?

I can run it minimized by creating a shortcut and set its properties to
run
minimized. Still it is not totally hidden.

Can it be done programmatically?

Appreciate your inputs.

Thanks,
Glenn

- Steve Lowe
- E-Mail : NO************@usa.net
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net

Dec 23 '06 #3

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

Similar topics

1
by: Oz | last post by:
This is long. Bear with me, as I will really go through all the convoluted stuff that shows there is a problem with streams (at least when used to redirect stdout). The basic idea is that my...
5
by: Publicjoe | last post by:
I am working on a little app which uses colour in the console window. I have created a class to extend the console functionality but the ClearScreen method does not work correctly. I am enclosing a...
3
by: Mr Mind - Lion | last post by:
Is there any way in .NET to force to run console application through it and get the result of tht application in our program. Please reply me quickly. Any reply will highly be appreciated....
1
by: ESmith | last post by:
I want to create a small console application that essentially gets some information and then launches a Windows Application. What I want to do is have the console application launched in hidden...
5
by: Hooyoo | last post by:
Hi, here. I write following codes: string password = Console.ReadLine(); I want users enter their passwords, but readline will show content of password when entering, so is there any way to...
10
by: Stephany Young | last post by:
When one uses the System.Diagnostics.Process.Start method to launch a common or garden Console application, one can set the WindowStyle property of the StartInfo object to ProcessWindowStyle.Hidden...
3
by: TC | last post by:
I'm trying to debug a console application, but I can't see the console output. I've seen many references which say that console output is supposed to appear on the Output window when the...
12
by: Dilip | last post by:
Hi All I have a server based C# console application. This application must hide its console window when its launched out on the field. So I dutifully P/Invoke'd FindWindow/ShowWindow...
5
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Dear all, I'd like to know if there is any method to minimize command mode window when a console program is running. In my case, there are several console programs which run periodically in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
0
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...
0
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...
0
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...
0
tracyyun
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...

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.