...alas, OK - this is what it looks like when you mess up other people's code:
If Mid(xml$, Lpos, 9) = "<![CDATA["
Rpos = FindString(xml$, "]]>", Lpos) + 3
ElseIf Mid(xml$, Lpos, 4) = "<!--" ;AM: ignore all of them
Rpos = FindString(xml$, "-->", Lpos) + 3
Else
Rpos = FindString(xml ...
Search found 18 matches
- Tue Mar 11, 2025 2:13 am
- Forum: Tricks 'n' Tips
- Topic: Save formatted XML
- Replies: 8
- Views: 6977
- Tue Mar 11, 2025 1:05 am
- Forum: Tricks 'n' Tips
- Topic: Save formatted XML
- Replies: 8
- Views: 6977
Re: Save formatted XML
Still an issue in PB6.20 (FormatXML(xml,#PB_XML_ReFormat)).
Cool code (SaveFormattedXml()), thx... ...I broke it by adding this XML comment in my XML :oops: :
ynode=CreateXMLNode(xnode, "GGdtPoolKonstKommentar",ynode,#PB_XML_Comment)
SetXMLNodeText(ynode, "Konstanten händisch einfügen, falls hier ...
Cool code (SaveFormattedXml()), thx... ...I broke it by adding this XML comment in my XML :oops: :
ynode=CreateXMLNode(xnode, "GGdtPoolKonstKommentar",ynode,#PB_XML_Comment)
SetXMLNodeText(ynode, "Konstanten händisch einfügen, falls hier ...
- Wed Sep 06, 2017 9:14 am
- Forum: Feature Requests and Wishlists
- Topic: ChangeCurrentMapElement()
- Replies: 10
- Views: 4444
Re: ChangeCurrentMapElement()
I would also like a ChangeCurrentMapElement () function... :)
I've already wondered that there is such a function for lists, but not for maps. I've also asked myself, what it should bring me, when the functions of the maps give me pointers, but there are no functions that use them. Sure, I can ...
I've already wondered that there is such a function for lists, but not for maps. I've also asked myself, what it should bring me, when the functions of the maps give me pointers, but there are no functions that use them. Sure, I can ...
- Tue Sep 07, 2004 12:52 am
- Forum: Announcement
- Topic: PureContest 3 - AI-Game
- Replies: 34
- Views: 10797
- Tue May 11, 2004 8:22 am
- Forum: Tricks 'n' Tips
- Topic: RecycleFile (Windows)
- Replies: 11
- Views: 12336
Addendum: RecycleFile (Windows)
One little thing I think should be corrected here - Microsoft write for the pFrom-value:
An additional NULL character must be appended to the end of the final name to indicate the end of pFrom.
So we need two NULLs at the end of the string. I have do this so (not so elegant, could be possibly more ...
An additional NULL character must be appended to the end of the final name to indicate the end of pFrom.
So we need two NULLs at the end of the string. I have do this so (not so elegant, could be possibly more ...
- Mon Dec 01, 2003 11:48 pm
- Forum: Announcement
- Topic: Check this out will be a screen saver soon fish.zip
- Replies: 13
- Views: 4660
- Mon Dec 01, 2003 11:46 am
- Forum: Announcement
- Topic: Check this out will be a screen saver soon fish.zip
- Replies: 13
- Views: 4660
- Wed Oct 01, 2003 12:47 pm
- Forum: Tricks 'n' Tips
- Topic: CatchRTF()
- Replies: 8
- Views: 3659
- Wed Oct 01, 2003 11:00 am
- Forum: Tricks 'n' Tips
- Topic: CatchRTF()
- Replies: 8
- Views: 3659
Blank RTF EditorGadget on NT 4
Nice work!
One question about that:
I have integrate it in my program and it works fine - on all Windows except one Windows NT 4 - there appears only a blank EditorGadget. I have test it on another NT - there it works again... :x
Have anybody an idea, what could be the reason, why it works not ...
One question about that:
I have integrate it in my program and it works fine - on all Windows except one Windows NT 4 - there appears only a blank EditorGadget. I have test it on another NT - there it works again... :x
Have anybody an idea, what could be the reason, why it works not ...
- Mon Sep 15, 2003 11:07 pm
- Forum: Coding Questions
- Topic: Global vs. Shared variables
- Replies: 6
- Views: 2377
Shared have to be in main?
Thank you Eric, for your anwser.
But - sorry - I do not understand :? ...
Also in your code will "a" be know in the main - or with other words, I can't use an "a" in the main, without that the "a" in p1() will not also change it... (I hope you can understand my terrible english :oops:). The "b" is ...
But - sorry - I do not understand :? ...
Also in your code will "a" be know in the main - or with other words, I can't use an "a" in the main, without that the "a" in p1() will not also change it... (I hope you can understand my terrible english :oops:). The "b" is ...
- Sat Sep 13, 2003 8:58 am
- Forum: Coding Questions
- Topic: Global vs. Shared variables
- Replies: 6
- Views: 2377
Shared have to be in main?
Hello again
I have here still a question to shared variables: It seems to be, that shared variables >have< to be known in the main program:
a.l = 10
;b.l=30
;run the program one time without the definition "b.l=30"
;and another time with it and you can see...
Procedure p2()
Shared a, b
Debug ...
I have here still a question to shared variables: It seems to be, that shared variables >have< to be known in the main program:
a.l = 10
;b.l=30
;run the program one time without the definition "b.l=30"
;and another time with it and you can see...
Procedure p2()
Shared a, b
Debug ...
- Mon Sep 08, 2003 9:05 am
- Forum: Feature Requests and Wishlists
- Topic: Visual Editor !!!
- Replies: 4
- Views: 2058
Additional Flags
To point 3:
If have found an hint to add extra parameters:
There is an file "Visual Designer Constants.prefs" in the program directory - there you can add additional flags...
If have found an hint to add extra parameters:
There is an file "Visual Designer Constants.prefs" in the program directory - there you can add additional flags...
- Sat Sep 06, 2003 3:54 am
- Forum: Feature Requests and Wishlists
- Topic: Visual Editor !!!
- Replies: 4
- Views: 2058
Visual Designer Suggestions
At first: Berikco, you makes a very good work with Visual Designer! Thank you.
But nevertheless, please let me give some suggestions for future versions of Visual Designer - I hope that could give you some ideas...
1. The "design dialog windows": it should be possible to hide them (from the MS ...
But nevertheless, please let me give some suggestions for future versions of Visual Designer - I hope that could give you some ideas...
1. The "design dialog windows": it should be possible to hide them (from the MS ...
- Sat Aug 30, 2003 8:36 pm
- Forum: Tricks 'n' Tips
- Topic: A lot of TreeView Stuff :-)
- Replies: 16
- Views: 11099
TreeGadget individual sort
Great stuff to find here, well. But I need another functionality for sorting the items in the TreeGadget (descending instead of ascending). The only possibility to sort individual is the TVM_SORTCHILDRENCB message, which I have found by MS. But I have problems with that...
Procedure.l ...
Procedure.l ...
- Thu Jun 19, 2003 1:58 am
- Forum: General Discussion
- Topic: Problem with catch events from EditorGadget() -->PB 3.7
- Replies: 33
- Views: 12832
put memory to EditorGadget
Ah, I see - the result of the StreamFileInCallback procedure is now as described in the API reference (EDITSTREAM structure). OK - fine.
Good night

Good night