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
0
Best 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,
Yuri0
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,
Yuri0 -
2020-09-23-092352Yuri --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
0 -
2020-09-28-162412Yuri --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 theC:\Users\Owner\AppData\Local\Tempfolder.When the BBB is displayed via MSGBOX, a TMP is found in theC:\Users\Owner\AppData\Local\Tempas shown hereThe 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")
0 -
2020-09-29-141333Yuri --I'm glad you were able to identify the source of this mystery.Holler when I can assist further.-- Matt
0
Categories
- All Categories
- 961 Image-Pro v9 and higher
- 9 Image-Pro FAQs
- 18 Image-Pro Download & Install
- 448 Image-Pro General Discussions
- 486 Image-Pro Automation (Macros, Apps, Reports)
- 20 AutoQuant Deconvolution
- 2 AutoQuant Download & Install
- 18 AutoQuant General Discussions
- 195 Image-Pro Plus v7 and lower
- 3 Image-Pro Plus Download & Install
- 106 Image-Pro Plus General Discussions
- 86 Image-Pro Plus Automation with Macros
- 19 Legacy Products
- 16 Image-Pro Premier 3D General Discussions
- 26 Image-Pro Insight General Discussions