0 Replies Latest reply on May 12, 2008 8:47 AM by wakebrdr549

    Suppress HTM Print Dialog boxes

    wakebrdr549
      I am programmatically with VB.NET running flashpaper.exe with the following code.

      pProcInfo.FileName = "C:\Program Files\Macromedia\FlashPaper 2\FlashPrinter.exe"
      pProcInfo.Arguments = " """ & strFilenameToConvert & """ -o """ & strConvertedFilename & """"

      pProcInfo.CreateNoWindow = True
      pProcInfo.WindowStyle = ProcessWindowStyle.Hidden
      Dim pMyProc As Process = Process.Start(pProcInfo)
      pMyProc.WaitForExit(30000)

      This works great except for htm or html files. I get a print dialog box. I want it to print automatically. Same thing occurs if you right click on a file and choose print from the menu.