Results 1 to 5 of 5

Thread: crash the system

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Location
    Ca
    Posts
    93

    Unhappy

    well in my program there is a button to crash the system. Iwas wondering if anyone knew what is was. I heard it was like
    Code:
    Private Sub Command1_Click()
    Kill.system
    End Sub
    but that didn't work. how can I get it to work?
    Timbudtwo
    I have no life, only one with computers.

    VB 6.0 Enterprise Edition
    [hr]

  2. #2
    Hyperactive Member mikef's Avatar
    Join Date
    Jun 2000
    Location
    Beach bound...
    Posts
    510
    Are you trying to shut-down windows from your program?? If so there is an API call that will perform this for you. I am not familiar with it's syntax though.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Location
    Ca
    Posts
    93

    no i'm not

    i'm talking bout somthing that will accually make your computer crash! can you help me on that note?
    Timbudtwo
    I have no life, only one with computers.

    VB 6.0 Enterprise Edition
    [hr]

  4. #4
    Addicted Member
    Join Date
    Feb 2000
    Location
    CWMBRAN,WALES,UK
    Posts
    146

    Exclamation

    A word of caution....

    The Kill statement is used for deleting files, be careful with this statement, before you regret it. If you Kill your system files, you'll certainly get the crash you're looking for!!

    I can't see why you would want to crash your system on purpose, especially when Windows is pretty good at doing this already (unfortunately).

    GRAHAM

  5. #5

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width