<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PLEASE HELP in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/PLEASE-HELP/m-p/1756378#M719445</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/92449"&gt;@FrankC&lt;/a&gt;&amp;nbsp;if the post got you what you needed, please return to the thread and use the Accept as Solution button on the post to mark it as the solution, if that is not it, please leave an update.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 16:56:33 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-10-27T16:56:33Z</dc:date>
    <item>
      <title>PLEASE HELP</title>
      <link>https://community.qlik.com/t5/QlikView/PLEASE-HELP/m-p/1752556#M719443</link>
      <description>&lt;P&gt;We have a report that creates a pdf and then attaches that pdf to an email and sends out.&amp;nbsp; The software has been upgraded (pdf creator v4.1) and now the pdf are empty.&amp;nbsp; Please help if you can.&amp;nbsp; this is critical&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub printReportPDF(ReportID, ReportName, ReportDirectory)&lt;/P&gt;&lt;P&gt;Dim pdfjob&lt;BR /&gt;Dim sPDFName&lt;BR /&gt;Dim sPDFPath&lt;BR /&gt;&lt;BR /&gt;sPDFName = ReportName&lt;BR /&gt;sPDFPath = ReportDirectory&lt;BR /&gt;&lt;BR /&gt;Set pdfjob = CreateObject("PDFCreator.clsPDFCreator")&lt;BR /&gt;&lt;BR /&gt;With pdfjob&lt;BR /&gt;&lt;BR /&gt;If .cStart("/NoProcessingAtStartup") = False Then&lt;BR /&gt;If .cStart("/NoProcessingAtStartup", True) = False Then&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;.cVisible = True&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;.cOption("UseAutosave") = 1&lt;BR /&gt;.cOption("UseAutosaveDirectory") = 1&lt;BR /&gt;.cOption("AutosaveDirectory") = sPDFPath&lt;BR /&gt;.cOption("AutosaveFilename") = sPDFName&lt;BR /&gt;.cOption("AutosaveFormat") = 0&lt;BR /&gt;.cClearCache&lt;BR /&gt;&lt;BR /&gt;End With&lt;BR /&gt;&lt;BR /&gt;ActiveDocument.PrintReport ReportID, "PDFCreator"&lt;BR /&gt;&lt;BR /&gt;Do Until pdfjob.cCountOfPrintjobs = 1&lt;BR /&gt;ActiveDocument.GetApplication.Sleep 20&lt;BR /&gt;Loop&lt;BR /&gt;pdfjob.cPrinterStop = False&lt;BR /&gt;&lt;BR /&gt;Do Until pdfjob.cCountOfPrintjobs = 0&lt;BR /&gt;ActiveDocument.GetApplication.Sleep 20&lt;BR /&gt;Loop&lt;BR /&gt;&lt;BR /&gt;pdfjob.cClose&lt;BR /&gt;Set pdfjob = Nothing&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;function checkOutputFile(pdfFile)&lt;BR /&gt;Set fileTest = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;currentStatus = fileTest.FileExists (pdfFile)&lt;BR /&gt;&lt;BR /&gt;if currentStatus = false then&lt;BR /&gt;rem ** let QV sleep for 1 seconds **&lt;BR /&gt;ActiveDocument.GetApplication.Sleep 1000&lt;BR /&gt;checkOutputFile(pdfFile)&lt;BR /&gt;end if&lt;BR /&gt;&lt;BR /&gt;set fileTest = nothing&lt;BR /&gt;end function&lt;/P&gt;&lt;P&gt;function activateSaveAs()&lt;BR /&gt;Set WSHShell = CreateObject("WScript.Shell")&lt;BR /&gt;WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", "", "REG_SZ"&lt;BR /&gt;WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "0", "REG_SZ"&lt;BR /&gt;set WSHShell = nothing&lt;BR /&gt;end function&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PLEASE-HELP/m-p/1752556#M719443</guid>
      <dc:creator>FrankC</dc:creator>
      <dc:date>2024-11-15T23:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: PLEASE HELP</title>
      <link>https://community.qlik.com/t5/QlikView/PLEASE-HELP/m-p/1754897#M719444</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Try replacing the line:&lt;BR /&gt;Set pdfjob = CreateObject("PDFCreator.clsPDFCreator")&lt;/P&gt;&lt;P&gt;With this:&lt;BR /&gt;Set pdfJob = CreateObject("PDFCreator.JobQueue"): pdfJob.Initialize&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 11:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PLEASE-HELP/m-p/1754897#M719444</guid>
      <dc:creator>FakeJupiter</dc:creator>
      <dc:date>2020-10-22T11:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: PLEASE HELP</title>
      <link>https://community.qlik.com/t5/QlikView/PLEASE-HELP/m-p/1756378#M719445</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/92449"&gt;@FrankC&lt;/a&gt;&amp;nbsp;if the post got you what you needed, please return to the thread and use the Accept as Solution button on the post to mark it as the solution, if that is not it, please leave an update.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 16:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PLEASE-HELP/m-p/1756378#M719445</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-10-27T16:56:33Z</dc:date>
    </item>
  </channel>
</rss>

