How to bind the string value to Richtextbox.Rtf in vb.net

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi all,

I have bind the string to Richtextbox.Rtf as

RichTextBox1.Rtf = "Binding to Richtext bOx"

but it shows the error as

An unhandled exception of type ' System.ArgumentException' Occurred in
system.windows.forms.dll

Additional information: Invalid File Format

pls response if u known ASAP......


by,
M.Ganesan

.



Relevant Pages

  • Re: BINDING ARRAYLIST to DATAGRID and DataTable efficiency
    ... > Private mstrName As String ... > As Boolean, ByVal dWeight As Decimal) ... > Public Property NameAs String ... I would like to make the binding described ...
    (microsoft.public.dotnet.languages.vb.controls)
  • Re: BINDING ARRAYLIST to DATAGRID and DataTable efficiency
    ... Private mstrName As String ... As Boolean, ByVal dWeight As Decimal) ... I have seen that binding usually requires the object has properties ...
    (microsoft.public.dotnet.languages.vb.controls)
  • Re: MS-Access Send HTTP requests
    ... a reference to the MSXML.dll in Tools - References. ... Better is to NOT do that and switch your syntax to late binding. ... Private Function SendSmsViaWebHttpRequest(suniqueid As String, ... Dim surl As String ...
    (comp.databases.ms-access)
  • Re: My VB6 MS Word VBA code crashes Word - Word97
    ... As early binding is more 'efficient' then should this latter approach be ... >> Dim Firstname As String ... >> Exit Sub ...
    (microsoft.public.word.vba.general)
  • RE: Load Testing Errors
    ... > An unhandled exception was generated during the execution of the current web ... > be identified using the exception stack trace below. ... > System.Web.UI.DataBinder.GetPropertyValue(Object container, String ... > propName, String format) +11 ...
    (microsoft.public.dotnet.framework.performance)