?
Solved

Running an application within another application's form

Posted on 2003-11-28
5
Medium Priority
?
264 Views
Last Modified: 2010-05-01
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
Comment
Question by:skimz1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 

Accepted Solution

by:
jermccloud earned 80 total points
ID: 10007827
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

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question