No Response from the server!!!!

K

Kishore

Hi,
I am trying to convert a XML file (MS Project readble format)
into MPP file. It is not running.... But conversion from MPP to XML works
perfectly...
Plz help...

bye,
Kishore
code is as follows:
<%
Dim a
Set a= Server.CreateObject("MSProject.Application")
Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists(Server.MapPath("uploaded\1.mpp")) Then
objFSO.DeleteFile Server.MapPath("uploaded\1.mpp")
End IF
a.FileOpen Server.MapPath ("uploaded" & "\" &
fileName),,,,,,,,,"MSProject.XML"
a.FileSaveAs Server.MapPath ("uploaded" & "\" & "1.mpp")
a.FileCloseAll
Response.write "File has been successfully converted..."
%>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top