-2

I am trying to disable Norton auto protect. I don't actually want to close the program. If you click on the Norton icon it gives you the option to disable it.

I would like to write a program that clicks the button for me. I am just not sure how to go about this. I am using C++ and I have Visual Studio and Windows XP.

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
ddd
  • 269
  • 1
  • 6
  • 15
  • your question is vague..Explain the question well? – karthik May 30 '11 at 04:57
  • Instead of clicking on the icon and pressing disable I want a program that does this for me. So I want an automated process or script. – ddd May 30 '11 at 04:59
  • give the programming language that is used to create this application.Mention some details about your application. – karthik May 30 '11 at 05:01
  • possible duplicate of [Disabling another program in windows task pane automated process](http://stackoverflow.com/questions/6172288/disabling-another-program-in-windows-task-pane-automated-process) – Bo Persson May 30 '11 at 07:46

1 Answers1

1

Do you want to close an application or disable an application (like disable java update etc)? If you are talking about closing an application using your program, you can use "TerminateProcess()".

If you are talking about disabling application, share with us particular use-case exactly what do you want to achieve?

bayCoder
  • 1,345
  • 1
  • 11
  • 19
  • I am trying to disable norton auto protect, I don't actually want to close the program. If you click on the Norton icon it gives you the option to disable it. I would like to write a program that so to say clicks the button for me. I am just not sure how to go about this. I am using c++ and I have visual studio and windows xp. – ddd May 30 '11 at 05:05
  • 1
    @Welf I think the name of Norton auto protect process is "navapsvc.exe". anyway, take a look at [this](http://stackoverflow.com/questions/865152/how-can-i-get-a-process-handle-by-its-name-in-c) – Geore Shg May 30 '11 at 05:35
  • 1
    @Welf - If it was easy for a program to disable Norton, any virus would do that. I think it requires user interaction. – Bo Persson May 30 '11 at 07:42
  • @welf - I changed your question to your comment, you should be more to the point rather than have folks trying to second guess/mind read :) Thanks. – Kev May 30 '11 at 17:23