1. Black Friday Sale - 50% off

    B4A Standard for $29 instead of $59!
    Buy Now
    Dismiss Notice

Pass variables to programm

Discussion in 'Questions (Windows Mobile)' started by MM2forever, Apr 20, 2008.

  1. MM2forever

    MM2forever Active Member Licensed User

    How can I pass a variable to a b4p programm?
    I think i should do it over a command line parameter but the programm should be running all time and not just been launched and stopped everytime.

    I also dont want to do it over registry or files who are checked constantly

    Thanks for your help
  2. agraham

    agraham Expert Licensed User

    You could do this with the Network library. The running program implements a Server object and occasionally checks the Pending property. The program that wants to send the information implements a Client and connects to the server when required.

    An example is here http://www.basic4ppc.com/forum/showthread.php?t=1130
  3. MM2forever

    MM2forever Active Member Licensed User

    That sounds great, I hope it works with my version!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice