By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,640 Members | 1,331 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,640 IT Pros & Developers. It's quick & easy.

problem with PPT files in WebBrowser

P: n/a

I've developed an app. It displays PPT files in WebBrowswer

The file would run a PPT file for certain duration and then
another PPT file is being loaded. So it's kind of multiple powerpoint show.

Every time i run a new PPT file, i'm dispossing off the current webbrowswer
control and creating new one and then load new file in it. The code snippet
is as under;

Timer Event:
If timer.value = duration of the file then
if not WebBrowswer1 is nothing then
WebBrowswer1.dispose() ' dispose off current control

System.Runtime.InteropServices.Marshal.ReleaseComO bject(webbrowser1)
GC.Collect() 'force garbage collection
End IF
'load new webbrowswer control with new PPT file.
WebBrowswer1 = New AxSHDocVw.AxWebBrowser()
End if

Now the problems i'm facing;

1. After a couple of run (one file after another), sometimes the animation
or transition stops in the PPT file. (intermetent problem, happens on some
system and doesn't on another)

2. After couple of run sometimes the POWERPNT.EXE do not get disposed off
from the process. It lurks around. i assume that's what causing the
not to run correctly.

Can anybody help me with these problems? it's quite urgernt

Nov 9 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.