1. François Van Lerberghe
  2. Valentina Database ADK
  3. Saturday, September 28 2019, 12:50 PM
  4.  Subscribe via email
I'm unable to create a file (diagnostic report) in the specified folder using the API of Database class "VDatabase.Diagnose(inVerboseLevel, inFile)"
The file is always created next to the app (project) with a name that is the shell path of the folder.

V4RB 9.5.3, Xojo 2019r1.1, MacOS 10.14.6

My code is :

dim f As FolderItem
dim result As Integer
f = SpecialFolder.Temporary.Child("MyDiagnoseReport.txt")
result = self.Diagnose(0, f)


How can I create the file in the specified folder ?
Comment
There are no comments made yet.
result = self.Diagnose(0, f)

(self is an instance of Database class)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 1
And it's the same issue with Database.Create, Database.Clone, ...
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 2
Ruslan Zasukhin Accepted Answer
Hi Francois,

we will check this
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 3
Ivan Smahin Accepted Answer
I've tried

MacOS 10.14.6
Examples/API/Database_Diagnose
Xojo 2019 Release 1.1
V4RB 9.6

Everything works as expected.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 4
Ok. Good news.
I narrowed down the problem and have been able to reproduce with Examples/API/Database_Diagnose *when I build for 32 bits*.
No problem building for 64 bits. As 32 bits is going to be deprecated, I don't think you must worry about that.
Mmmh, except perhaps if we build in Windows 32 bits that is actually allowed (but I had not tested in Windows).

Thank you for your attention.

François
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories