Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11

    @cebugdve

    ok...


    try to do that but study pa ko sa ways... wala pa ko kasulay ug codings ani..

  2. #12
    do you want to disable the alt+f4 in the system or just for your application?

  3. #13
    you just use the closing event of the form


    Code:
    Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
            If <condition> Then
                e.Cancel = True
            End If
        End Sub

  4. #14
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    In case you want to disable this in your system permanently
    get a knife take out the "F4" keys in your keyboard.

  5. #15
    Why do you need to disable those key by the way?
    What problem are you having?

    I'm sensing the your question is a solution to your problem.
    So what do you want to do when you exit?
    There could be another solution.

  6. #16
    Quote Originally Posted by MarkCuering View Post
    In case you want to disable this in your system permanently
    get a knife take out the "F4" keys in your keyboard.
    Hahahaha....

  7. #17
    ScrapeBox Development softtouch's Avatar
    Join Date
    Jan 2004
    Gender
    Male
    Posts
    3,699
    Blog Entries
    1
    If you want to prevent that your app can be closed with alt-f4, just use the close event.
    If you want to prevent system wide alt-f4, you need to write a dll which installs a keyboard hook (similar a keylogger does).

  8. #18
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    there's a lot of ways to close appliction in Windows...aside from ALT-F4. we can use taskill via dos mode, task manager, stoping services, you can even kill process from a simple program or any freewares out there... the best way to prevent the application from closing is to educate the user... if this is some kind of a flexlm or a process that must run regularly, then it would be better to use some threading, or create your own windows services to constantly check the process and rerun it if it is not running, but again, all can be stop...

  9. #19
    off topic na lang pod ko...


    @Mark and others...

    pwede ra ba na mabutang nako ang winword application sa ako VB.net nga project

    bali instead of lain siya nga app... naa siya sa sulod sa akong program

  10. #20
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    @ben77 I dont know if it is possible, if you want to run the whole winword application as child application or MDI application... but winword itself will create a new process externally from any other application...unless you could break down how the process being called... apparently, most of it is series of executions....if you try to stop and run some modules from your applications the other modules might not able to discover...

  11.    Advertisement

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

 
  1. Who can help how to avail a credit cards
    By jaymikeblits in forum Business, Finance & Economics Discussions
    Replies: 9
    Last Post: 01-27-2015, 02:37 PM
  2. Who can help how to avail a credit cards
    By jaymikeblits in forum General Discussions
    Replies: 1
    Last Post: 04-06-2013, 12:01 PM
  3. Can someone suggest how to utilize the 3rd floor ...
    By jeshcel in forum Business, Finance & Economics Discussions
    Replies: 16
    Last Post: 03-22-2013, 03:16 PM
  4. someone who can teach how to read architectural plan
    By jack.of.all.trade in forum General Discussions
    Replies: 23
    Last Post: 02-08-2013, 08:24 AM
  5. How to disable the built-in MacBook keyboard?
    By smithJames in forum Computer Hardware
    Replies: 0
    Last Post: 11-28-2012, 11:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top