Gustavo Miller
New member
- Local time
- Today, 07:34
- Joined
- Jan 23, 2022
- Messages
- 10
Hello everyone! I hope you are not having a just a good day, but having an awesome day!
I have a local table on my application (Microsoft Access) in where I store some XML information. I use about 12 different XMLs. When user loads a new version of the application; the Startup process goes through the XML table and creates an external file. This way the application can make reference to some default information.
One of the XML files contains the Ribbon configuration; labels, screentip and supertip, along other information that I use at runtime.
The file has been created with no issues for the past 1.5 years and suddenly now the files are created blank. File is empty. I thought at first that it was an encoding but no matter what it creates the file blank. The other XML files create with no issues.
What creates the file? here is the code:
Nothing really spectacular, but it works for some and it does not work for two of them. (btw. I have validated the XML code with Free Online XML Validator). I have attached one of the XML (already in a file -created by Visual Studio Code), the XML contents is in a table.
I have a local table on my application (Microsoft Access) in where I store some XML information. I use about 12 different XMLs. When user loads a new version of the application; the Startup process goes through the XML table and creates an external file. This way the application can make reference to some default information.
One of the XML files contains the Ribbon configuration; labels, screentip and supertip, along other information that I use at runtime.
The file has been created with no issues for the past 1.5 years and suddenly now the files are created blank. File is empty. I thought at first that it was an encoding but no matter what it creates the file blank. The other XML files create with no issues.
What creates the file? here is the code:
mContents = MySysTable!XML '<!-- Comes from the table Set f = oFiles.FSO.GetFile(mFilename) 'Get file handler '<!-- mFileName is a parameter passed to method Set ts = f.OpenAsTextStream(ForWriting, TristateUseDefault) ts.Write vbNullString & mContents ts.Close |
Nothing really spectacular, but it works for some and it does not work for two of them. (btw. I have validated the XML code with Free Online XML Validator). I have attached one of the XML (already in a file -created by Visual Studio Code), the XML contents is in a table.