Passing parameter to my running single instance application without launching it again

  • Thread starter Thread starter Coderv9
  • Start date Start date
C

Coderv9

Guest
Hi,


I am developing a single instance application. A caller ID notification program in VB.net.


The program searches calling user name in a window.

Phone number is transferred to my app from my cisco console via command line.

D:\myapp\myapp.exe -p "123456789"

Am able to write code to launch the application via command line. But issue is am unable to find a code that can pass this value to already running instance of my program. I could find many codes written in C# and not in vb.net.


Below is the requirement.

Application is launched in system start-up and awaits for a parameter to be passed.

As soon as a parameter is triggered a widow displays the caller name from an internal database and should not launch a new instance of the application.



Coderv9

Continue reading...
 
Back
Top