Re: Calling procedure on another software
From: Robert (robert_at_jcle_____.com)
Date: 05/13/04
- Next message: YYZ: "Re: MYSQL what should I know"
- Previous message: Veign: "Re: Getting Scintilla to work in a VB.Net Application"
- In reply to: Robert: "Calling procedure on another software"
- Next in thread: Martin Walke: "Re: Calling procedure on another software"
- Reply: Martin Walke: "Re: Calling procedure on another software"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 May 2004 11:32:37 -0400
I'm using VB 6, not VB Net...
"Robert" <robert@jcle_____.com> wrote in message
news:K%Loc.28025$dr1.771631@news20.bellglobal.com...
> Hi,
>
> I'm trying to find a way to make a software react when an instance is
> already running.
> Here what i want:
>
> Execute a software called Test1.
> Execute this software again.
> The second instance should send a message to the first instance.
> Then, the second instance stop executing.
>
> I put this code in the Form_Load procedure:
> If app.PrevInstance Then
> SaveTitle = app.title
> app.title = "... duplicate instance."
> Me.Caption = "... duplicate instance."
> AppActivate SaveTitle
> ''''' Right here, i need to execute app.PrevInstance.SomeProcedure
> End
> End If
>
> Someone know how to run the procedure on the first instance?
>
> It will really help me, and i greatly appreciate your help.
>
> Thanks,
>
> Robert
>
>
- Next message: YYZ: "Re: MYSQL what should I know"
- Previous message: Veign: "Re: Getting Scintilla to work in a VB.Net Application"
- In reply to: Robert: "Calling procedure on another software"
- Next in thread: Martin Walke: "Re: Calling procedure on another software"
- Reply: Martin Walke: "Re: Calling procedure on another software"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|