Home Image-Pro Automation (Macros, Apps, Reports)

TMP FILES IN C:\Users\Owner\AppData\Local\Temp . .

All --

I have an APP that I wrote for a customer.

This app opens and processes hundreds of images.  There is an ORIGINAL IMAGE OPENED and then 3 RESULTING IMAGES SAVED by the APP.

As the APP is running, IMAGE-PRO 10.0.7 creates TMP FILES in

    C:\Users\Owner\AppData\Local\Temp

as shown below when I am logged in as OWNER.


   

There are no errors in my APP and everything seems to be working properly.

These TMP FILES remain after the APP and IMAGE-PRO shut down gracefully.

This is not being caused intentionally by any code in the APP.

Is there something in IMAGE-PRO that can be configured to keep this from happening.  This behavior is creating hundreds of TMP FILES that seem to have no contents and no value.

Thanks.

-- Matt


Best Answer

  • Answer ✓
    Hi Matt,

    Thanks for providing the test macro. I found that the TMP file is created only when "Automatic file signature" option is on (Advanced page, Audit trail group).

    We will work on fixing this issue.

    Thanks,

    Yuri

Answers

  • Matt,

    I don't see that problem, no temp files are created running apps on my Image-Pro. Can you reproduce it? If yes, can you share the way to reproduce the problem?

    Thanks,

    Yuri
  • 2020-09-23-092352

    Yuri --

    I think the TMP FILES are being generated by the OPEN IMAGE FILE CODE.

    The TMP FILES are appearing in the same quantity as the INPUT FILES to the CODE rather than the OUTPUT FILES.  If 100 INPUT FILES are processed into 300 OUTPUT FILES, there are 100 TMP FILES generated.

    I have two obligations THIS (WED) AM to address.  After that I try to identify the CODE that is generating the TMP FILES.

    By the way . . .

    I noticed this first with 9.3.2 (because that is what the USER has) but I tested it with 10.0.7 and it happens in both.

    Thanks.

    -- Matt

  • 2020-09-28-162412

    Yuri --

    I am sorry that it has taken me a bit but I tracked down the section of CODE that is generating the TMP FILE.

    When the section of CODE below is executed, when the AAA is displayed via MSGBOX, there is no TMP FILE in the

        C:\Users\Owner\AppData\Local\Temp

    folder.

    When the BBB is displayed via MSGBOX, a TMP is found in the

        C:\Users\Owner\AppData\Local\Temp

    as shown here


    The TMP FILE appears whether OpenAsSequence is set to TRUE or FALSE.

    I hope this information helps polish IMAGE-PRO.

    Thanks.

    -- Matt

    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

                            MsgBox ("AAA")
    
                            With Application.DocumentCommands.Open(Nothing)
                                .Filenames = New String() {MyFileList (MyI)}
                                .OpenAsSequence = False
                                .Run(docList1)
                            End With
    
                            MsgBox ("BBB")
    

  • 2020-09-29-141333

    Yuri --

    I'm glad you were able to identify the source of this mystery.

    Holler when I can assist further.

    -- Matt


Sign In or Register to comment.