Forum Moderators: phranque
If File.Exists(Server.MapPath("../HTMFiles") & "\" & strFileName.Replace(" ", "") & ".htm") Then
File.Delete(Server.MapPath("../HTMFiles") & "\" & strFileName.Replace(" ", "") & ".htm")
End If
app.Addons.ItemU("SaveAsWeb").Run("/quiet=True /openbrowser=False /PanAndZoom=True /target=" & Server.MapPath("../HTMFiles") & "\" & strFileName.Replace(" ", "") & ".htm")
app.Quit()
Catch ex As Exception
Response.Write(ex.Message)
End Try
End Sub
======================================================
the problem im facing here is when control reacheds to app.documents.open,the visio process hangs & the visio file is not exported to html
any help on this?