473,797 Members | 3,187 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Blue screen program in C#

Hello,

I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?

Please help me.

Mario
Oct 18 '06 #1
17 11848
Explain further, are you referring to emulating the blue screen of death? Or
you just want a winform, covered in blue?
"Mario" <ma***@web.dewr ote in message
news:3B******** *************** ***********@mic rosoft.com...
Hello,

I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?

Please help me.

Mario


Oct 18 '06 #2
Why oh why oh why oh why?

Write some unsafe code?
http://msdn2.microsoft.com/en-us/library/t2yzs44b.aspx

Mario wrote:
Hello,

I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?

Please help me.

Mario
Oct 18 '06 #3

Mario wrote:
Hello,

I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?

Please help me.

Mario
If you are trying for an actual BSOD I don't think you can do it in
managed code. That's what is mannaged, memory access and such. It's
written and executed in such a way that it doesn't blue-screen, it just
crashes and gets wiped. That's the point of running in it's own memory
space.

Tom P.

Oct 18 '06 #4
Hey, thanks for answering so quick. I want to emulate the blue screen of
death, so that nothing works anymore. (sry for my english)

Mario
"Daniel" wrote:
Explain further, are you referring to emulating the blue screen of death? Or
you just want a winform, covered in blue?
"Mario" <ma***@web.dewr ote in message
news:3B******** *************** ***********@mic rosoft.com...
Hello,

I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?

Please help me.

Mario


Oct 18 '06 #5
hahahahah @ Chris.......... ......was my first reaction too lol

"Chris Fulstow" <ch**********@h otmail.comwrote in message
news:11******** *************@f 16g2000cwb.goog legroups.com...
Why oh why oh why oh why?

Write some unsafe code?
http://msdn2.microsoft.com/en-us/library/t2yzs44b.aspx

Mario wrote:
>Hello,

I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?

Please help me.

Mario

Oct 18 '06 #6
Thanks, wath you wrote here makes sense. So I won't be able to program a blue
screen in C#. How can I do it in another languages? Do I have to use C?

Greetings Mario

"Tom P." wrote:
>
Mario wrote:
Hello,

I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?

Please help me.

Mario

If you are trying for an actual BSOD I don't think you can do it in
managed code. That's what is mannaged, memory access and such. It's
written and executed in such a way that it doesn't blue-screen, it just
crashes and gets wiped. That's the point of running in it's own memory
space.

Tom P.

Oct 18 '06 #7
Are you trying to create a virus?

I can't imagine why you would want a intentional BSOD!!!

"Mario" <ma***@web.dewr ote in message
news:3B******** *************** ***********@mic rosoft.com...
Hello,

I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?

Please help me.

Mario


Oct 18 '06 #8
No, I am not trying to create a virus, the reason why I need this, is to
test a WindowsXPembedd ed system...

news.microsoft. com schrieb:
Are you trying to create a virus?

I can't imagine why you would want a intentional BSOD!!!

"Mario" <ma***@web.dewr ote in message
news:3B******** *************** ***********@mic rosoft.com...
>Hello,

I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?

Please help me.

Mario


Oct 18 '06 #9
"Mario" <ma***@web.dewr ote in message
news:3B******** *************** ***********@mic rosoft.com...
Hello,

I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?
To reliably produce a "blue screen", you need only write a device driver
that deliberately crashes the OS. There's no reliable way to do it from a
user-mode app, managed or otherwise (there no doubt are ways, but they're
due to bugs and quirks and cannot be considered reliable).

-cd
Oct 18 '06 #10

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

Similar topics

1
1587
by: robert | last post by:
hi! there's a line in my Javascript program that makes a change in the appearance of an area of the screen. it is a game program, so there are a cascade of changes after the user makes a move. these are carefully sequenced and timed in a loop which contains the "action" statement document.images.src = offGIF; unfortunately, the *actual* screen updating appears to be 1)
1
2256
by: Ken Allen | last post by:
I am developing a small utility program that must perform a considerable amount of 'background' or 'research' work before it can display any user interface. In general it can take 3-15 seconds to perform all of the work requured before we display any user interface. So we have determined that the utility should have a splash screen to assure the user that the program is executing and will provide results shortly. I should also note that...
0
1011
by: BobAchgill | last post by:
My program has a problems maybe related to running on the wide screen computer. Even when I change the screen resolution to 1024 by 768 I still get the problems. Some times my program window does not show at all though the program is running. And when it does show the window the Flash control windows on my program window are longer than they should be.
10
1749
by: Kenneth Lantrip | last post by:
My question is: Is there a generally accepted way to clear the screen and perhaps move the cursor to a new location (other than newline) for the next printf in standard c? What about ANSI control codes? Are those standard across most platforms? Or is that just for PC/MAC based computers? Anyone know where I can see a list of ANSI codes? Please enlighten me, thanks for your time.
65
8646
by: Leslie Kis-Adam | last post by:
Hi everyone! Does anyone know, if it is possible to clear the screen in ANSI C? If it is,then how? Any help would be appreciated. Laszlo Kis-Adam <dfighter_AT-NOSPAM_freemail.hu
2
1590
by: TomTH | last post by:
I've written a program using a number of forms which runs perfectly on a 14" screen and you know the story....... on a bigger screen it all sits up in the top left hand corner. Ok I can scale it to fit in the middle and still look like a 14" program running in a bigger screen which is fine too. But then when going back to the smaller monitor, its not all there...... Meaning the right hand side and bottom are off the screen until moved to fit...
2
3764
by: E C H (He of too much code) | last post by:
I am very weak in VB.NET, I am using VB.NET 2k5 Express. I have only created one program, and heck it was my first ;-) (URL below if it matters). I am trying to create a program that stays resident, and after a period of inactivity on the computer locks the screen, only it can't use the screen saver interface if I understand it correctly (as the screensaver stuff creates an additional desktop virtual desktop that is unable to interact...
4
29674
by: sophie_newbie | last post by:
Hi, in my program i need to call a couple of functions that do some stuff but they always print their output on screen. But I don't want them to print anything on the screen. Is there any way I can disable it from doing this, like redirect the output to somewhere else? But later on in the program i then need to print other stuff so i'd need to re-enable printing too. Any ideas?
4
6979
by: mike | last post by:
I have the opportunity to rescue a project that uses a mouse to sense the relative position of a machine. The hardware is built...just needs to be programmed. Stop snickering!!! I didn't do it...I just gotta fix it. I need to make some calculations on the measurements and VB6 is my language. Yes, the system mouse will corrupt the measurement, but it's an auditing function and that's acceptable.
0
9685
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
9537
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
10469
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10246
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
7560
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6803
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5459
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...
2
3750
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2934
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.