c# - Starting application before target application -


i have c# windows forms application need run before microsoft infopath.

my application needs have access parameters passed in infopath. application processes parameter, has conditional logic, sets registry key/value. needs open infopath (with parameters passed in first time around) , close.

eg

1. user opens infopath param "c:\file.xml" 2. before infopath starts need application open , able access    above param 3. application it's stuff 4. application starts infopath instance param above 

basically need middle man. know how open infopath after using process.start unsure of how "intercept" user's request open infopath, open application , open infopath once application has finished.

i suggest replacing infopath executable own , afterwards starting "original one" (which have stored under different name of course).


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -