• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

Running an application within another application's form

Hello, please help
Im not sure if this is possible, but here goes:

Ive got an application that receives an image from a scanner,  saves the image file, and emails it as an attachment. What I want to be able to do is open the image for preview/edit before letting the user either "accept" the image for saving/emailing, or "cancel" to delete the image and start over / re-scan the same document.

What I want to do is open a new form within the application, that has embedded within it a standard imaging application, either kodak imaging for windows, or MS Office Photoeditor, so that I can offer the user the rich controls of these applications (zoom, resize, rotate, scroll, etc.). A picturebox is too crude, and simply calling shellexecute to open the image using the default application doesnt give me any control over the options I can give the user once the image is open (the "cancel" or "accept image" options that I want to include).

How can do this, or something similiar? Ideally, Id like to just open MS Office Photoeditor or Imaging within an MDI form, or something along these lines.
Please help
0
skimz1
Asked:
skimz1
  • 2
1 Solution
 
jermccloudCommented:
I am wanting to do something simular with an application to run Internet Explorer inside of my application in a form without useing the browser control.  I've seen another post on this website that you can use the SetParent API Function.  I havn't had a chance to test is out because I'm not a my own computer but perhaps it will give you a step in the right direction.

Here is a website I found using the SetParent API function to display a powerpoint slide show within a vb form.  Perhaps this might help you.  http://www.mvps.org/skp/vb/pptvbwnd.htm
0
 
jermccloudCommented:
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now