my application has these 2 procedures:
1.
Private Sub btnHelp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Help.ShowHelp(Me, "..\CYM HELP.chm")
End Sub
2.
Private Sub frmLogin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim pro As New System.Diagnostics.Process
Dim proInfo As New System.Diagnostics.ProcessStartInfo("..\CYM.swf")
pro.StartInfo = proInfo
pro.Start()
pro.WaitForExit()
End Sub
when making the deployment project, within the application folder, i added "content files from CYM (Active)" which contains the help file and the .swf file.
then i built the deployment program, and installed it, when i run the exe file, it gave me error said "unhandled exception occured". when i clicked continue, the program login form came out and the program works fine, the help file appears when help button is clicked.
however the .swf file didnt run as it is expected to run before the login form appears. both the .swf file nad the help file are in same folder, dont understand what happened. please help~

deploying .swf file
jonrmorgan99
The only other thing I can think of to look at is the location of your files after things are deployed. The swf file may not be one level up from your app as "..\chm.swf" imples. If that is not the case you can deploy it, attach the debugger to it and see where the unhandled exception is coming from.
Spence Gong
Lily
Anyone can help me
Thanks
Waylander67
I think the problem is that you are trying to launch a file CYM.swf where the extension "swf" is not registered on the machine. I think swf is shockwave flash but I am not familiar with how it works. I fyou want to launch the swf file you should look into what application runs it and how you would get theat installed/registered on the machine you are trying to install to.
Hope that helps
Larry Foat
biju7630
the shockwave is installed on both development and client machine.
it works fun when i run it under vb.net 2005, but after i built the installation and installed on client machine ( i tried to install on development machine, the same result). it didnt work. no idea....
T. Carmichael