I think that the point has been missed here. I have rtf docs which contain tabular information (maybe calling them 'grid lines' was misleading) which I need to be able to view from a VB app. Now the RTF control, shipped with VB 6 running on Win95, does not process the tables, so the docs can look a bit messy (NOTE that the latest version of the RFT ctrl running under Win2000 would do the job nicely).
This is a generic problem that I expect to continue to get in the future. I am loathed to use an OLE container but I would like my docs to be easily and efficiently embedded in the app. Surely someone has come across this before?
You might try experimenting with this as I have used it with some success: since you compose your documents in MS-Word, draw a table in a document and save the file in RTF format. That should give you whatever grid lines you need in the RTF control.
I use Word 2000 and the generic VB6 RTF control under Win98 SE. Looks great.
If you are already doing that, I will have to admit my confusion. Aren't the columns lining up correctly?
I find alt255's comments a bit strange. Is there something obvious that I am missing here? The rtf Active X control in VB6 (with SP4 installed) does not seem to handle table related rtf codes under Win95. Can anyone tell me otherwise?
You are correct. The Rich Text Control that ships with VB6 does NOT handle table information. It converts that information to tabular text. Why they did this I am not sure. It seems quite retarted to me.
shouldn't you be able to just copy the rich text .dll from a Win2K or 98se system onto your computer. If it works in those environments there must be a newer version of that control on those systems. If that works the newer control would go with your app when you package it and the lines should show up on any computer it is installed to. Ruairi
Could your manufacturing facility benefit from real time process monitoring? Would you like your employees to be able to see up to the minute goal and actual production?
For innovative, low cost solutions check out my website.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.