473,513 Members | 2,429 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with PPT files in WebBrowser

Hello,

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

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()
Me.Controls.Add(WebBrowswer1)
WebBrowswer1.navigate(strFilePath)
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
animation
not to run correctly.

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

Regads
Nov 9 '06 #1
0 821

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
6511
by: Mike | last post by:
Hi! I posted this question in browser_ctl group as well but got no results. I have a form with embedded WebBrowser. Upon clicking on a link in the embedded webbrowser that calls JavaScript's...
0
799
by: Alvo von Cossel I | last post by:
hi, i have a webbrowser control on my form. there are also buttons on the form. when you click a Button, i want the documenttext (the source) of the webbrowser control to change. but as html...
5
2716
by: IkBenHet | last post by:
Hello, I use this script to upload image files to a folder on a IIS6 server: ******************* START UPLOAD.ASPX FILE ********************** <%@ Page Language="VB" Debug="true" %>
2
5683
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
1
3392
by: Ben | last post by:
Hi there, Perhaps someone can help me. For some reason, when my Python script runs and loads an HTML page in a new browser window at the local host (desktop), the links to my stylesheet and all...
0
1370
by: Jaret Brower | last post by:
I'm trying to parse html that resides locally by using the HtmlDocument class and unfortunately you can only get an instance of an HtmlDocument through the WebBrowser control. Some of the html...
2
7872
by: hzgt9b | last post by:
Using VS2003, VB.NET, BACKGROUND I have a window forms based application that will be distributed and executed directly from CD media. The app contains a TreeView control and a WebBroswer...
6
2473
by: Ant | last post by:
Hi all, I'm putting together a simple help module for my applications, using html files stored in the application directory somewhere. Basically it sets up a basic web server, and then uses the...
3
3164
by: =?Utf-8?B?R2F1cmF2?= | last post by:
I am using the AxSHDocVw.AxWebBrowser control (named PreviewBrowser) in my C# app to load a pdf file: PreviewBrowser.Navigate(strPDF ,ref objNull,ref objNull,ref objNull,ref objNull); These PDF...
0
1220
by: Peter Hemmingsen | last post by:
Hi We have a directory receiving PDF files from various scanners. I need a simple to browse these files, view them, and based on the content move them to different applications using drag/drop....
0
7545
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7539
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5692
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5095
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4751
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3228
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1605
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
461
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.