Hi, I'm using vs2005, .net 2, for windows application. How can U stop the
DOS windows creation when I redirect the stderr output from the C-code
application that I launch running from my C# program? I've tried setting
the process CreateNoWindow to true and set ProcessWindowStyle.Hidden but it's
creating that black dos window in a flash and then close it.
Thank you.
--
Thanks. 4 2041
Pucca wrote:
Hi, I'm using vs2005, .net 2, for windows application. How can U stop the
DOS windows creation when I redirect the stderr output from the C-code
application that I launch running from my C# program? I've tried setting
the process CreateNoWindow to true and set ProcessWindowStyle.Hidden but it's
creating that black dos window in a flash and then close it.
Thank you.
Which method are you using to start the application?
--
Göran Andersson
_____ http://www.guffa.com
Processs.Start();
Is this the problem?
--
Thanks.
"Göran Andersson" wrote:
Pucca wrote:
Hi, I'm using vs2005, .net 2, for windows application. How can U stop the
DOS windows creation when I redirect the stderr output from the C-code
application that I launch running from my C# program? I've tried setting
the process CreateNoWindow to true and set ProcessWindowStyle.Hidden but it's
creating that black dos window in a flash and then close it.
Thank you.
Which method are you using to start the application?
--
Göran Andersson
_____ http://www.guffa.com
Also, UseShellExecute is set to false.
--
Thanks.
"Göran Andersson" wrote:
Pucca wrote:
Hi, I'm using vs2005, .net 2, for windows application. How can U stop the
DOS windows creation when I redirect the stderr output from the C-code
application that I launch running from my C# program? I've tried setting
the process CreateNoWindow to true and set ProcessWindowStyle.Hidden but it's
creating that black dos window in a flash and then close it.
Thank you.
Which method are you using to start the application?
--
Göran Andersson
_____ http://www.guffa.com
Oh, problem solved. I just needed to reboot my PC. Thank you.
--
Thanks.
"Göran Andersson" wrote:
Pucca wrote:
Hi, I'm using vs2005, .net 2, for windows application. How can U stop the
DOS windows creation when I redirect the stderr output from the C-code
application that I launch running from my C# program? I've tried setting
the process CreateNoWindow to true and set ProcessWindowStyle.Hidden but it's
creating that black dos window in a flash and then close it.
Thank you.
Which method are you using to start the application?
--
Göran Andersson
_____ http://www.guffa.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Scott |
last post by:
I'm new to ASP, but I've been programming in VB for
several years, and I'm having a few issues with this ASP
enhancement I'm working on. I've found ASP to be a lot
different than what I'm use to...
|
by: Terry |
last post by:
When launching our application with Internet Explorer already opened,
but not pointing to our web server, the session variables disappear.
If you open I.E. after launching our app, it works fine....
|
by: Asterix2XXX |
last post by:
I am trying to create a pop-up window that will remain in front of the
orignal webpage. The pop-up is called as follows:
<script type="text/javascript">
var newWin=null
var winl =...
|
by: objectref |
last post by:
Hi to all,
is there a way to get the window handle of the main window of an application
or process ?
For example, if someone opens Microsoft Word, he gets a window so he/she can
write text....
|
by: Mészáros Tamás |
last post by:
Hi all,
how can I set an app's main window to visible from an other application?
My problem is, that I know only the handle of the other app's main
process, because the application's main window...
|
by: Micus |
last post by:
Greetings,
I need to execute 2 applications from an application or batch file. The
first app launched has the user enter a product key and the app's exit code
will be 0 (failed) or 1...
|
by: Benny |
last post by:
I have a ASP.NET webservice and it is configured to run in a web garden with
multiple processes.
Whan a process in the garden is launched, I want the process to create a
background thread. When...
|
by: alexandre.brisebois |
last post by:
Hi, I am using access 2003, I would like to know if there is an option
to reorganize the tables in a maner that is readable, as we can do in
sql sever 2000 or 2005.
I have been given a database...
|
by: spamfilteraccount |
last post by:
Hi,
I have simple GUI with a listbox containing file names. If I select a
file and press ENTER it should be opened. It works, but things are
working strangely.
Here's the code I use to open...
|
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: 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: 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: 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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |