Microsoft CDO for Windows 2000 Library (C:\WINDOWS\System32\cdosys.dll)

  Dim msg As New CDO.Message
        Dim cfg As New CDO.Configuration

        msg.Configuration = cfg
        msg.CreateMHTMLBody("http://xxx", CDO.CdoMHTMLFlags.cdoSuppressAll, "", "")
        msg.GetStream().SaveToFile("c:\b.mht", ADODB.SaveOptionsEnum.adSaveCreateOverWrite)
        cfg = Nothing
        msg = Nothing

        MsgBox("OK")

相关文章:

  • 2022-12-23
  • 2021-06-21
  • 2022-02-27
  • 2021-12-28
  • 2022-02-09
  • 2021-12-05
猜你喜欢
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2021-08-27
  • 2022-12-23
  • 2022-01-28
相关资源
相似解决方案