开发者

Return image from exe

开发者 https://www.devze.com 2023-01-02 07:10 出处:网络
I have an exe (i have the code for that exe) where i invoke the camera. Now i want the image captured in my application(ie..the picturebox control)

I have an exe (i have the code for that exe) where i invoke the camera. Now i want the image captured in my application(ie..the picturebox control) I am ivoking that exe in my applicati开发者_Go百科on(the application is in vb script). Can we return image from exe to my application(the application is in vb script)... if yes how?


If you have to code, why not put it in the application that you want the image in?

If that is not possible, save the image file to location on the drive and then monitor it using a FileSystemWatcher control. Once you have retrieved the file from the location and processed it you can delete it.


The easy way is to use a file location to (temprarily) store the images, and configure that path in both applications.

Another option would be to use WCF (or COM) to let the camera app act as a server

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号