Results 1 to 7 of 7

Thread: idea plz..

  1. #1

    Thread Starter
    Lively Member smartrajesh's Avatar
    Join Date
    Feb 2005
    Posts
    94

    Question idea plz..

    i am running two applications app1 & app2. app1 is always minimized ie always on system tray. another one (app2) is running by users. now i want to pass an argument from app1 to app2 (in certain time period). note:there is no socket communication between these application. if u have any idea. plz ..reply...

    regards
    rajesh

  2. #2
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: idea plz..

    You can use a file. App1 could write to it and App2 could read from it. In your App2 you can use a timer to read new data in the file in certain time period.

  3. #3
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: idea plz..

    Or you could use the old method Dynamic Data Exchange. People say its old but it still works perfectly. Do a search on here for Dynamic Data Exchange, I've posted an example a while back.

    http://www.vbforums.com/showthread.php?t=362220&
    Last edited by Keithuk; Jan 3rd, 2006 at 07:39 AM.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  4. #4

    Thread Starter
    Lively Member smartrajesh's Avatar
    Join Date
    Feb 2005
    Posts
    94

    Re: idea plz..

    ok i agree with dde but i need in delphi if u have any idea how to use this dde in delphi.....

  5. #5
    Lively Member
    Join Date
    Dec 2005
    Posts
    124

    Re: idea plz..

    I attually think that the read and write Idea by jcis is proberly the easyest to make, it might be a bit messy but it could work really well if done right.

    I did the same thing in fact, worked a treat

  6. #6
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: idea plz..

    Moved from Classic VB.


    Has someone helped you? Then you can Rate their helpful post.

  7. #7
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: idea plz..

    Quote Originally Posted by smartrajesh
    ok i agree with dde but i need in delphi if u have any idea how to use this dde in delphi.....
    You should have posted it in the correct forum then.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width