Regarding VS Express vs VS IIS, in IIS Express I can launch my VB DLL and it will launch Corel on the desktop and render images in 3-5 seconds. However, when I run the same exact think in VS IIS, it runs Corel in the background and takes 3-5 minutes to process. How can I get IIS to run like Express and launch Corel on the desktop? Thanks much, Craig
dynamic i2image = ReflectionUtils.CreateComInstance("i2image.webutility");
imagePath = i2image.GenAlteredFile(arrImageShapes);
You need to configure Corel's DCOM object to run with Interactive User
impersonation which will use the logged on user's credentials and also should pop Corel onto the desktop.
You may also have to set the IIS Application Pool to your User Identity so that Corel uses your local user profile - otherwise it'll try to create a profile using whatever launching account and I suspect that's what's actually really slow because it'll fail for a million little registry keys that can't be set.
+++ Rick ---