|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
RichTextBox in Vs2005 Vb.Net shows unformatted RTFI 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 > I had an app in VB6 that I'm "upgrading" <GGGG> to Vb.net 2005. In Vb6 I had Probably you need to set the rtb's .rtf property rather than the .text > 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? property. But I'm just guessing since you didn't post any code. 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 Show quoteHide quote "AMercer" <AMer***@discussions.microsoft.com> wrote in message news:AD9BD048-B933-49C3-B549-EAF0E862855F@microsoft.com... >> 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? > > 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. > Bob wrote:
> I had an app in VB6 that I'm "upgrading" <GGGG> to Vb.net 2005. In Vb6 I had <http://tinyurl.com/ek3px>> 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? -- Larry Lard Replies to group please
bring an already running app to the front
Loading CrystalReports.rpt, I Am Asked To Enter Login ID And Password DAAB problem most natural behavior on mouse wheel Cancel Constructor (Me = Nothing) Upload a file in a web server with a WinForm Lost focus ChartFX Slowness Rollover button sampel how do I get date and time of compilation |
|||||||||||||||||||||||