RichTextBox in Vs2005 Vb.Net shows unformatted RTF

B

Bob

I had an app in VB6 that I'm "upgrading" <GGGG> to Vb.net 2005. In Vb6 I had
rtf text in a field in a Sql server 2000 field and it would show up as
formatted RTF in my richtextbox. In vs.net that no longer works, the RTF in
the table shows up as unformatted RTF, just as if it were simple ASCII
characters.

How do I get this functionality back?

Thanks again Microsoft! Its great to know you continue making products that
are backwards compatible and not just unilaterally remove feautures we're
familiar with.

Any help would be appreciated.

Bob
 
G

Guest

I had an app in VB6 that I'm "upgrading said:
rtf text in a field in a Sql server 2000 field and it would show up as
formatted RTF in my richtextbox. In vs.net that no longer works, the RTF in
the table shows up as unformatted RTF, just as if it were simple ASCII
characters.

How do I get this functionality back?

Probably you need to set the rtb's .rtf property rather than the .text
property. But I'm just guessing since you didn't post any code.
 
B

Bob

RTB does not have an rtf property to bind to in the properties panel for the
control.

I don't have any code. I'm just using bound controls . In Vb6 I could use a
sql server field bound to a richtextbox. Apparently you can't do that any
more in Vs2005.net, some improvement in development productivity!

Any one know how I can keep my existing data in sqlserver and bind it to a
VS2005 UI?

Thanks for your help guys.

Bob
 
L

Larry Lard

Bob said:
I had an app in VB6 that I'm "upgrading" <GGGG> to Vb.net 2005. In Vb6 I had
rtf text in a field in a Sql server 2000 field and it would show up as
formatted RTF in my richtextbox. In vs.net that no longer works, the RTF in
the table shows up as unformatted RTF, just as if it were simple ASCII
characters.

How do I get this functionality back?

<http://tinyurl.com/ek3px>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top