Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Prevent Certain EXE program from running

Prevent Certain EXE program from running

Scheduled Pinned Locked Moved Visual Basic
toolshelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chitzdacs
    wrote on last edited by
    #1

    Guys, Does anyone here can help me to create a utility program in vb6 that will prevent certain exe program from running? Can anyone give me code snippets. Thanks! Chito

    C D 2 Replies Last reply
    0
    • C chitzdacs

      Guys, Does anyone here can help me to create a utility program in vb6 that will prevent certain exe program from running? Can anyone give me code snippets. Thanks! Chito

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      That's physically not possible. How would you hope it would work ? If it were possible, VB6 isn't going to do it.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • C chitzdacs

        Guys, Does anyone here can help me to create a utility program in vb6 that will prevent certain exe program from running? Can anyone give me code snippets. Thanks! Chito

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        You can't do what you want because you'd have to hook Windows Loader to do it. This is "black-art" type stuff that has very little to no documentation on how to do it. Any examples of hooking API functions are going to be in C++ and do things that VB6 is no capable of producing a .DLL or .EXE for.

        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups