Solved

How to freeze windows 95?

Posted on 1998-12-19
10
212 Views
Last Modified: 2013-11-13
I would like to know how to freeze up a windows 95 machine
with a visual basic code. It can be just a "blue screen of the death".

thanks
0
Comment
Question by:merdik
10 Comments
 

Expert Comment

by:TomKid2004
Comment Utility
And why in the world would you even want to do this?
0
 
LVL 1

Expert Comment

by:muffinthedog
Comment Utility
Easy,
    just copy 3 or 4 of the API declarations from the API viewer and try to call the functions correctly!!! MoveMemory works real good... just poke arbitrary values into it...
0
 

Expert Comment

by:kennym141282
Comment Utility
I wont give you the code for this, but try terminating the KERNEL32.DLL!
0
 
LVL 1

Expert Comment

by:MAVERICK
Comment Utility
Why would you want to make a computer crash anyway???

0
 

Accepted Solution

by:
Shroom earned 200 total points
Comment Utility
I have this thing that locks the mouse and when they try to hit ctr alt del and shut the program off it just reloads it self so fast that nothing happens! You can just make a form that is blue and it freezes! Well here is the code (pls. execpt my answer I need these points) Thanx!


Function Lock_Mouse()
' to lock it just type: Lock_Mouse
   Dim typRect As tagRect
   Static fClip As Boolean
           
     
     
Call ClipCursor(typRect)
      fClip = Not fClip
end function

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
Dim dirss
dirss = App.Path + "/"

Shell dirss + "YourAppName.exe"

End Sub

'

0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Expert Comment

by:kennym141282
Comment Utility
The answer doesnt lock windows just the mouse!!!

Here's a clue, look at the following APIs

Createtool32help (or something like it)
Process32First
Process32Next
(CloseHandle)
OpenProcess
GetExitCodeProcess
TerminateProcess
(CloseHandle)

Have Fun! :)) Use your initiative!
0
 

Expert Comment

by:ljaques
Comment Utility
One sure fire way of CRASHING windows is to slap the Winsock control onto your form and make ordinary calls to it over and over again (connect/disconnect) and within 4 hours time your entire system will go down because of lost memory. Your HD will also begin thrashing because of the lost physical RAM (resorting to full virtual).

Sounds like you are making a malignant virus...
0
 

Expert Comment

by:kennym141282
Comment Utility
4 Hours... I think s/he wants an instant crash!!!

(Look into those APIs, I will help you further if you need it)
0
 

Expert Comment

by:kennym141282
Comment Utility
I'd hide the cursor too!

add the declaration from the Win32API Reference!

' Code
r=ShowCursor(0)

0
 

Expert Comment

by:Shroom
Comment Utility
This freezes the mouse but it also makes it so nothing happens if u would like the code for it to disable ctrl alt del then ask me for it. then they cant do anything! Oh well have fun!!!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now