Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I crash an application ?

Status
Not open for further replies.

christopher007

Instructor
Nov 14, 2003
29
0
0
GB
Hi this may sound a bit of a mad request but I need to crash my PC. I writing ECDL manuals and need to get a screen shot of task manager with a non-responding application.

Anyone know a way of hanging a office app or could think of some VBA code that won’t cause the debugger to switch in and crash the app but not windows.

Thanks in advance.
 
I find that entering 10000 or so vlookup formulae into excel will make it hang


sub MakeItHang()

Range("A1:A10000").formula = "=vlookup(B1,$F$1:$G$10000,2,false)"
application.calculate
end sub

Rgds, Geoff
[blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
 
Cheers Geof, but it didnt hang my pc had the hour glass for a wile. Then runs the code all ok

any other suggestion ?
 
Its ok ive got it just did this

1 goto 1

bit like the first basic i came across on my z80

10 print "Chris"
20 goto 10

I used to love that, so impresive
 
buying and running any M$ app usually crashes my pc!
 
Try printing 83 pages to a network priner using vba directly, seems to hang for me! damn customers with their silly requests!

[pc3]
Adam [glasses]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top