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 application(the application is in vb script). Can we return image from exe to my application(the application is in vb script)... if yes how?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
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
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.