Click here to Skip to main content
15,889,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need to open the .swf file thru web page on platform window CE.

I got a .swf file which is saving in window CE mobile device on path: \My Documents\flash\ParallelParking.swf.

So when user browse the web page thru the mobile device, I need to open up the .swf file which is save in the particular path on the mobile device.

I try to using Process() to open the file but hits an RunTime Error:

"An Application error occurred on server. The current custom error setting for this app prevents the details of the app. error from being viewed remotely."

Please advise. Thanks.

Public Partial Class HomePage
    Inherits System.Web.UI.Page
    Protected Sub ImageButton5_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton5.Click
        FileOpen("\My Documents\flash\ParallelParking.swf")
    End Sub
    Public Sub FileOpen(ByVal FileName As String)
        Dim myProcess As New Process()
        Try
            myProcess.StartInfo.FileName = FileName
            myProcess.StartInfo.Verb = "Open"
            myProcess.Start()
        Catch ex As Exception
            Throw ex
        End Try
    End Sub
End Class


LeeNo
Posted
Updated 26-Sep-10 15:16pm
v2

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