473,394 Members | 1,709 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,394 software developers and data experts.

How to disable DOS window from appearing when executing exe created using CodeDom??

Hey There!

Any one have any ideas on how to prevent the DOS window from appearing when
executing an Output Assembly (exe) generated using CodeDom?

Thanks,
Roland
Nov 15 '05 #1
1 2031
Excellent!! Thanks Justin. Setting the compiler option "/target:winexe" did
the trick!!

;-)

/Roland
"Justin Rogers" <Ju****@games4dotnet.com> wrote in message
news:#P**************@TK2MSFTNGP11.phx.gbl...
You might want to use, CompilerParameters.CompilerOptions, since in all
honest the CodeDOM was built to dynamically generate library assemblies, it was probably a short-sight not to put in options for exe versus winexe. It might also be that many compilers won't support an option for compiling
different types of executables and so they don't even put the option in
there.

You should be able to do a /target:winexe (which should work for CSharp, VB and JScript). You may run into some problems battling with switches set by the GenerateExecutable property, but I'd hope not.

--
Justin Rogers
DigiTec Web Consultants, LLC.
"new1s.on.sympatico.ca" <ro***************@sympatico.ca> wrote in message
news:W_*********************@news20.bellglobal.com ...
Hey There!

Any one have any ideas on how to prevent the DOS window from appearing

when
executing an Output Assembly (exe) generated using CodeDom?

Thanks,
Roland


Nov 15 '05 #2

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

Similar topics

0
by: new1s.on.sympatico.ca | last post by:
Hey There! Any one have any ideas on how to prevent the DOS window from appearing when executing an Output Assembly (exe) generated using CodeDom? Thanks, Roland
4
by: mr_burns | last post by:
Hi, Is it possible to disble horizontal scrolling using CSS? I want to try and use two backgrounds, one tiling vertically and part of the body background, which will not force scrolling, but one...
1
by: BudhramM | last post by:
I have created a frameset which is my default page. I am using window.resizeto and window.move to size and position the window on the users screen, but I also need to disable the maximize button on...
1
by: Vavane | last post by:
When we update some files of our ASP.NET application on our customers servers, the vbc.exe process compiles these files "on the fly" at the first call. Right. For one server (running Windows...
16
by: MLH | last post by:
If I give someone a runtime app, they can open the database window by pressing the F-11 key. How to prevent???
26
by: yb | last post by:
Hi, Is there a standard for the global 'window' object in browsers? For example, it supports methods such as setInterval and clearInterval, and several others. I know that w3c standardized...
0
by: JP | last post by:
Is there a way to temporirly disable the X button (close) on a MODAL window in the web browser? We have cleanup code that needs to run after the user closes the modal window. This works fine if the...
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...
2
by: iDesmet | last post by:
Hallo, First of all, I'm new at this group and I'm currently learning VB.NET by my own (later I want to learn C#, but that's another story). In other words, I'm a Newbie. Anyway, I was...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
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,...
0
Oralloy
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,...
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...

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.