Click here to Skip to main content
15,902,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am developing a C# apllication for Windows 7 in which I want to load some flash content from a URL in a web browser object inside a form. I want to make the form invisible and dump the bmp images captured from the form to the harddisk.I want to make the application invisible in the task bar and the alt + tab menu also. I tested the app and found out the following scenarios...
Scenario 1:
a. IE 9 installed in the system
b. Flash version 10.0 or 10.1 or 10.2 or 10.3
c. Form set to visible or invisible
d. App set to invisible or visible in task bar and alt +tab menu
Result: Flash content is loaded fully.

Scenario 2:
a. IE 8 installed in the system
b. Flash version 10.0
c. Form set to visible or invisible
d. App set to invisible or visible in task bar and alt +tab menu
Result: Flash content is loaded fully.

Scenario 3:
a. IE 8 installed in the system
b. Flash version 10.1 or 10.2 or 10.3
c. Form set to invisible
d. App set to invisible in task bar and alt + tab menu
Result: Flash content is NOT loaded fully. The content rendering stops at a certain point. :(

Scenario 4:
a. IE 8 installed in the system
b. Flash version 10.1 or 10.2 or 10.3
c. Form set to visible
d. App set to invisible in task bar and alt + tab menu
Result: Flash content is loaded fully.

Scenario 5:
a. IE 8 installed in the system
b. Flash version 10.1 or 10.2 or 10.3
c. Form set to invisible
d. App set to VISIBLE in task bar and alt + tab menu
Result: Flash content is loaded fully.

Content is loaded fully when I open the link manually in any web browser.

So the the content is not loaded properly in Scenario 3 only (which is my required scenario :( )

Can you please give any insight about this behaviour?
What is the relation between the visible property and flash content loading?

As seen from the above scenarios, I have the problem with IE 8 only.

The same results are observed if I use AxWebbrowser instead of the default web browser object available in dot Net 3.5.
Posted

1 solution

What if the form is not invisible ? If it works then, then you could have a problem with what you're trying to do. What if you make it visible, but position it off the visible screen area ?
 
Share this answer
 
Comments
Himanshu Kumar Patel 13-Jul-11 4:30am    
We actually don't want to position it off the visible screen area as it may cause problems in multiple monitors situations. Actually I am getting the correct output in all the scenarios except Scenario 3 in which we have IE 8 + Flash version > 10.0 + form set to invisible. It works fine if we have flash 10.0 or IE 9 installed in the system. can you please throw some light on what may be the problem if we use flash versions > 10.0 with IE 8.....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900