|
-
Nov 22nd, 2004, 06:32 AM
#1
Thread Starter
New Member
Buffer flush
What code do i use so that when the exe program is terminated, it flushes its buffer?
The program receives information and then displayes it in an XML file. When the program is terminated, it does not display the information it has stored, how do i make it so that it takes all the information it has stored and displays it in the XML file?
Thanks in advance.
-
Nov 22nd, 2004, 06:35 AM
#2
Member
If I understood it right you want to save it as a .xml so it can be viewed after your application has been terminated.
Open "/public.xml" for output as #1
Write #1, DataTablet
Then you can always make a loop and such. Still I am not sure if understood it right.
-
Nov 22nd, 2004, 07:04 AM
#3
Thread Starter
New Member
Hi, I'm not sure if i understand either
Here is a piece of code that i have:
If iFileEventCount >= iFileMaxEvents Then
oDom.save(TARGETPATH & TARGETFILE & VB6.Format(Now, "ddmmyyyy-hhmmss") & ".xml")
oDom = Nothing
oDom = CreateMHubDOM
End If
I just need it to create a last .xml file when the program is terminated with any events it has stored.
I hope this makes sense
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|