dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 9 of 9

Thread: Kill processes for Old APP (Urgent)

  1. #1
    Ricardo Guest

    Kill processes for Old APP (Urgent)


    Hi,
    I am creating batch files from Visual Basic to use compact tools like pkzip
    and so on. However, for each batch created I got a winoldap process in the
    work list, if that processes are not killed then the system crash at all.
    My question, is there some way to identify the processes and then kill them?,
    or somebody have any other idea to solve the problem?

    Platform: Win 98, Visual Basic 6.0 (SP4)

    Any help will be highly appreciated.

  2. #2
    Jon Oliver Guest

    Re: Kill processes for Old APP (Urgent)

    "Ricardo" <Rimezah@hotmail.com> wrote in message
    news:3c613bad$1@10.1.10.29...

    > I am creating batch files from Visual Basic to use compact

    tools like pkzip
    > and so on. However, for each batch created I got a winoldap

    process in the
    > work list, if that processes are not killed then the system

    crash at all.

    > My question, is there some way to identify the processes and

    then kill them?,
    > or somebody have any other idea to solve the problem?


    How are you running your batch files? There should be a way to
    execute them without leaving the interpreter behind.






  3. #3
    Jon Oliver Guest

    Re: Kill processes for Old APP (Urgent)

    "Ricardo" <Rimezah@hotmail.com> wrote in message
    news:3c613bad$1@10.1.10.29...

    > I am creating batch files from Visual Basic to use compact

    tools like pkzip
    > and so on. However, for each batch created I got a winoldap

    process in the
    > work list, if that processes are not killed then the system

    crash at all.

    > My question, is there some way to identify the processes and

    then kill them?,
    > or somebody have any other idea to solve the problem?


    How are you running your batch files? There should be a way to
    execute them without leaving the interpreter behind.






  4. #4
    Ricardo Guest

    Re: Kill processes for Old APP (Urgent)


    "Jon Oliver" <joliver@no.spam.maam.com> wrote:
    >"Ricardo" <Rimezah@hotmail.com> wrote in message
    >news:3c613bad$1@10.1.10.29...
    >
    >> I am creating batch files from Visual Basic to use compact

    >tools like pkzip
    >> and so on. However, for each batch created I got a winoldap

    >process in the
    >> work list, if that processes are not killed then the system

    >crash at all.
    >
    >> My question, is there some way to identify the processes and

    >then kill them?,
    >> or somebody have any other idea to solve the problem?

    >
    >How are you running your batch files? There should be a way to
    >execute them without leaving the interpreter behind.
    >

    Jon,
    Sorry I'm not really sure if I understood your question. but the way I'm
    running the batch is as follow:

    vSalida = Shell(Comando, vbHide)
    Where comando have the instructions to execute like Pkzip, copy and so on...Hope
    this gives you the idea of my problem. Thanks in advance..




  5. #5
    Ricardo Guest

    Re: Kill processes for Old APP (Urgent)


    "Jon Oliver" <joliver@no.spam.maam.com> wrote:
    >"Ricardo" <Rimezah@hotmail.com> wrote in message
    >news:3c613bad$1@10.1.10.29...
    >
    >> I am creating batch files from Visual Basic to use compact

    >tools like pkzip
    >> and so on. However, for each batch created I got a winoldap

    >process in the
    >> work list, if that processes are not killed then the system

    >crash at all.
    >
    >> My question, is there some way to identify the processes and

    >then kill them?,
    >> or somebody have any other idea to solve the problem?

    >
    >How are you running your batch files? There should be a way to
    >execute them without leaving the interpreter behind.
    >

    Jon,
    Sorry I'm not really sure if I understood your question. but the way I'm
    running the batch is as follow:

    vSalida = Shell(Comando, vbHide)
    Where comando have the instructions to execute like Pkzip, copy and so on...Hope
    this gives you the idea of my problem. Thanks in advance..




  6. #6
    Jon Oliver Guest

    Re: Kill processes for Old APP (Urgent)


    "Ricardo" <Rimezah@hotmail.com> wrote in message
    news:3c615ffa$1@10.1.10.29...
    >
    > "Jon Oliver" <joliver@no.spam.maam.com> wrote:
    > >"Ricardo" <Rimezah@hotmail.com> wrote in message
    > >news:3c613bad$1@10.1.10.29...
    > >
    > >> I am creating batch files from Visual Basic to use compact

    > >tools like pkzip
    > >> and so on. However, for each batch created I got a winoldap

    > >process in the
    > >> work list, if that processes are not killed then the system

    > >crash at all.
    > >
    > >> My question, is there some way to identify the processes

    and
    > >then kill them?,
    > >> or somebody have any other idea to solve the problem?

    > >
    > >How are you running your batch files? There should be a way

    to
    > >execute them without leaving the interpreter behind.
    > >

    > Jon,
    > Sorry I'm not really sure if I understood your question. but

    the way I'm
    > running the batch is as follow:
    >
    > vSalida = Shell(Comando, vbHide)
    > Where comando have the instructions to execute like Pkzip,

    copy and so on...Hope
    > this gives you the idea of my problem. Thanks in advance..


    I can't tell what's in your Comando variable...




  7. #7
    Jon Oliver Guest

    Re: Kill processes for Old APP (Urgent)


    "Ricardo" <Rimezah@hotmail.com> wrote in message
    news:3c615ffa$1@10.1.10.29...
    >
    > "Jon Oliver" <joliver@no.spam.maam.com> wrote:
    > >"Ricardo" <Rimezah@hotmail.com> wrote in message
    > >news:3c613bad$1@10.1.10.29...
    > >
    > >> I am creating batch files from Visual Basic to use compact

    > >tools like pkzip
    > >> and so on. However, for each batch created I got a winoldap

    > >process in the
    > >> work list, if that processes are not killed then the system

    > >crash at all.
    > >
    > >> My question, is there some way to identify the processes

    and
    > >then kill them?,
    > >> or somebody have any other idea to solve the problem?

    > >
    > >How are you running your batch files? There should be a way

    to
    > >execute them without leaving the interpreter behind.
    > >

    > Jon,
    > Sorry I'm not really sure if I understood your question. but

    the way I'm
    > running the batch is as follow:
    >
    > vSalida = Shell(Comando, vbHide)
    > Where comando have the instructions to execute like Pkzip,

    copy and so on...Hope
    > this gives you the idea of my problem. Thanks in advance..


    I can't tell what's in your Comando variable...




  8. #8
    Ricardo Guest

    Re: Kill processes for Old APP (Urgent)


    "Jon Oliver" <joliver@no.spam.maam.com> wrote:
    >
    >"Ricardo" <Rimezah@hotmail.com> wrote in message
    >news:3c615ffa$1@10.1.10.29...
    >>
    >> "Jon Oliver" <joliver@no.spam.maam.com> wrote:
    >> >"Ricardo" <Rimezah@hotmail.com> wrote in message
    >> >news:3c613bad$1@10.1.10.29...
    >> >
    >> >> I am creating batch files from Visual Basic to use compact
    >> >tools like pkzip
    >> >> and so on. However, for each batch created I got a winoldap
    >> >process in the
    >> >> work list, if that processes are not killed then the system
    >> >crash at all.
    >> >
    >> >> My question, is there some way to identify the processes

    >and
    >> >then kill them?,
    >> >> or somebody have any other idea to solve the problem?
    >> >
    >> >How are you running your batch files? There should be a way

    >to
    >> >execute them without leaving the interpreter behind.
    >> >

    >> Jon,
    >> Sorry I'm not really sure if I understood your question. but

    >the way I'm
    >> running the batch is as follow:
    >>
    >> vSalida = Shell(Comando, vbHide)
    >> Where comando have the instructions to execute like Pkzip,

    >copy and so on...Hope
    >> this gives you the idea of my problem. Thanks in advance..

    >
    >I can't tell what's in your Comando variable...


    Jon,
    Sorry because I didn't specify a deteil the content of comand var, I realized
    that this is an important thing to help me.
    I tried to put "command /c " expression before bat file and it works fine
    it solve my problem.

    Thank you very much for you help and time.



  9. #9
    Ricardo Guest

    Re: Kill processes for Old APP (Urgent)


    "Jon Oliver" <joliver@no.spam.maam.com> wrote:
    >
    >"Ricardo" <Rimezah@hotmail.com> wrote in message
    >news:3c615ffa$1@10.1.10.29...
    >>
    >> "Jon Oliver" <joliver@no.spam.maam.com> wrote:
    >> >"Ricardo" <Rimezah@hotmail.com> wrote in message
    >> >news:3c613bad$1@10.1.10.29...
    >> >
    >> >> I am creating batch files from Visual Basic to use compact
    >> >tools like pkzip
    >> >> and so on. However, for each batch created I got a winoldap
    >> >process in the
    >> >> work list, if that processes are not killed then the system
    >> >crash at all.
    >> >
    >> >> My question, is there some way to identify the processes

    >and
    >> >then kill them?,
    >> >> or somebody have any other idea to solve the problem?
    >> >
    >> >How are you running your batch files? There should be a way

    >to
    >> >execute them without leaving the interpreter behind.
    >> >

    >> Jon,
    >> Sorry I'm not really sure if I understood your question. but

    >the way I'm
    >> running the batch is as follow:
    >>
    >> vSalida = Shell(Comando, vbHide)
    >> Where comando have the instructions to execute like Pkzip,

    >copy and so on...Hope
    >> this gives you the idea of my problem. Thanks in advance..

    >
    >I can't tell what's in your Comando variable...


    Jon,
    Sorry because I didn't specify a deteil the content of comand var, I realized
    that this is an important thing to help me.
    I tried to put "command /c " expression before bat file and it works fine
    it solve my problem.

    Thank you very much for you help and time.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center