Click here to Skip to main content
15,911,039 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Any idea how to add a flash analog clock to winform?
Thanks
Posted
Comments
KM Perumal 3-May-13 4:50am    
Do u ve flash file??

For WPF
First add AxInterop.ShockwaveFlashObjects.dll
then paste code

C#
private void Window_Loaded(object sender, RoutedEventArgs e)
      {
        AxShockwaveFlashObjects.AxShockwaveFlash axShockwaveFlash1 = new               AxShockwaveFlashObjects.AxShockwaveFlash();
       axShockwaveFlash1.Location = new System.Drawing.Point(0, 0); 
        this.Controls.Add(axShockwaveFlash1);        
        axShockwaveFlash1.Movie = @"\clock.swf";
 

}
 
Share this answer
 
 
Share this answer
 
v3
Comments
mehdi_13 3-May-13 4:27am    
I've already seen these posts but i want use FLASH clock files.
Aarti Meswania 3-May-13 4:36am    
mean to say to play flash file in winform?

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