Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My project is in visual studio 2010, WPF ,c# .
I am loading swf file in design page using WebBrowser tag. How can i load it without asking user for permission..
Thanks in advance
Posted
Updated 30-Jan-12 0:45am
v2
Comments
Rajesh Anuhya 30-Jan-12 6:45am    
Edited Spelling mistakes.
--RA
ranjith m amin 31-Jan-12 2:25am    
thanks

1 solution

The web browser control just shows the page that you tell it to. If it's asking for user permission, the odds are low that you can get around that. A WPF app that contains a web browser that shows a swf seems like a very convoluted solution to me. Why do you need WPF ? Why are you using a SWF ?
 
Share this answer
 
Comments
ranjith m amin 31-Jan-12 2:19am    
I am writing this code <webbrowser source="c:\1.swf"> ... when i run this it's shows allow blocked content. When i allow it shows flash content..
I need WPF becouse my application is built in WPF in C#.. Am using SWF for showing log and do some attractive page.. Is there any easy way to do this.
Christian Graus 31-Jan-12 14:50pm    
There is no way to change how the browser works or turn off it's security. I would suggest rewriting the swf animation to run in WPF natively.
ranjith m amin 4-Oct-12 5:19am    
How to make an animation to run in WPF natively. I created animation , just by simple motion effect. Is there any alternative way to run animation in WPF.
Thank you for reply :)

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