Click here to Skip to main content
15,888,802 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello,,,

Im trying open flash file on button click event, but its didn't open, when i write
VB
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
       AxShockwaveFlash1.Movie = "D:\My Project\Practice Projects\SWF-File_As_SplashScreen\SWF-File_As_SplashScreen\Resources\back_blue.swf"
       AxShockwaveFlash1.Play()
   End Sub


then its properly work and play,,
but i build this app and published so that it will not work, ri8?
im trying like this:

VB
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
       AxShockwaveFlash1.Movie = "|DataDirectory|\Resources\back_blue.swf"
       AxShockwaveFlash1.Play()
   End Sub


but here no response, any idea to solve this problem???
Please Help,,,

@Nilesh
Thanks In Adv,,,
Posted

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