I need to know how can I use app path? I have a added Shockwave Flash Object control there in my program. However I have added AxShockwaveFlash1(swfla1) there in my form.
I have written code there in Form_Load event so that swfla1 will get flash file(.swf) to play.
Form_Load event code : Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
swfla1.Movie = ("D:\Documents and Settings\James\My Documents\Test project\Animation\Animation.swf")
Swfla1 will get flash file (.swf) from ("D:\Documents and Settings\James\My Documents\Test project\Animation\Animation.swf") this location. As a result if user will install it there in another drive it will show error message or it will not work. So I want to know how can I use app path so solve this problem? Please help me.