Hi, someone.
i have a web app that write with asp,but now i get a error.


 Set mspApp = CreateObject("MSProject.Application")

    If Err.Number = 0 Then
        On Error GoTo 0
        On Error GoTo MSPError

        mspApp.DisplayAlerts = False

'TmpFilName is exist file:"AA.mpt"
        mspApp.FileOpen name:=TmpFilName, ReadOnly:=False, _
                        FormatID:="MSProject.MPT"
                       
        mspApp.OrganizerMoveItem Type:=7, FileName:="Project", _
                                 ToFileName:="GLOBAL.MPT", name:=MPTFileName ' this method work faild ;Filename="Project", it hasn't ext name,it will thow a exception
       ' and the Err.number=1100,i cann't t get the meanning about it
      'i cann't get answer,i don't understand this method" OrganizerMoveItem
        mspApp.FileClose

        mspApp.FileOpen name:=strExpFileName, ReadOnly:=False, _
                        FormatID:="MSProject.CSV", map:=MPTFileName
        mspApp.Visible = True
        mspApp.DisplayAlerts = True

    End If

who can help me?      您好!关于Officewebapp方面的问题,请到MSDN论坛获得帮助和支持:http://social.msdn.microsoft.com/Forums/zh-CN/categories此是否有帮助?是否抱歉,这没有帮助。太棒了!感谢你的反馈。你对此的满意度如何?感谢你的反馈,它能帮助改进网站。你对此的满意度如何?感谢你的反馈。
        您好!关于Officewebapp方面的问题,请到MSDN论坛获得帮助和支持:http://social.msdn.microsoft.com/Forums/zh-CN/categories此是否有帮助?是否抱歉,这没有帮助。太棒了!感谢你的反馈。你对此的满意度如何?感谢你的反馈,它能帮助改进网站。你对此的满意度如何?感谢你的反馈。

点赞(36) 打赏

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部