Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different behavior between WinXP and Win98?
Message
 
 
To
23/07/2005 13:37:05
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 6 SP5
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01035396
Message ID:
01035398
Views:
11
My guess would be that the RichTx32.ocx on Win98 is earlier version than on WinXP. Did you try to install the WinXP version of the control on Win98?

>
>i am using the RichTx32.ocx RTF control in my, which works just fine in WinXP so far. however, today i came across something i didn't expect: in windows 98 2 of my control words are ignored. let me explain:
>
>i programaticly change a .RTF file (a simple txt file saved throught this rtf control) and based on some information found in the file add 3 rtf control words:
>- \uld         -> underline
>- \v           -> hide
>- \v0          -> end hide
>- highlight7   -> highlight
>
>the whole string at the end looks some like this:
>"\uld{\v " +"MyHiddenText"+ "\v0\highlight7 " +"MyUnderlinedHighlightedText"+ "}\uld0}
>this all looks and works great in WinXP but not in Win98 (tried it on 2 different Win98 machines)
>in windows 98 the control word honored is the /uld - which underlines, but neither the hidden or the highhlight (i got a color table definition earlier in the file) control word is processed.
>
>if i just take the modified rtf file and open it on the same computer in ms word, it displays correctly.
>
>any idea why?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform