Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   No Response from the server!!!! (http://www.velocityreviews.com/forums/t797905-no-response-from-the-server.html)

Kishore 02-11-2005 06:29 AM

No Response from the server!!!!
 
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..."
%>


All times are GMT. The time now is 08:32 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.