Load Rich1 from Path?
Hi,
Can you help me ?
My documents path = "C:\Examples.rtf"
My source code;
Dim text1 As TextObject = TryCast(Report1.FindObject("Text1"), TextObject)
text1.Text = "Hello Word"
Dim image1 As PictureObject = TryCast(Report1.FindObject("Picture1"), PictureObject)
image1.Image = Image.FromFile("D:\1.bmp")
Dim image2 As PictureObject = TryCast(Report1.FindObject("Picture2"), PictureObject)
image2.Image = Image.FromFile("D:\2.bmp")
Dim image3 As PictureObject = TryCast(Report1.FindObject("Picture3"), PictureObject)
image3.Image = Image.FromFile("D:3.bmp")
Dim rich As RichObject = TryCast(Report1.FindObject("Rich1"), RichObject)
rich.load ? // [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> but nothing Report1.Show() How to load rich my document path ? rich.Load("C:\Examples.rtf") Thanks for helps.[/img]
Can you help me ?
My documents path = "C:\Examples.rtf"
My source code;
Dim text1 As TextObject = TryCast(Report1.FindObject("Text1"), TextObject)
text1.Text = "Hello Word"
Dim image1 As PictureObject = TryCast(Report1.FindObject("Picture1"), PictureObject)
image1.Image = Image.FromFile("D:\1.bmp")
Dim image2 As PictureObject = TryCast(Report1.FindObject("Picture2"), PictureObject)
image2.Image = Image.FromFile("D:\2.bmp")
Dim image3 As PictureObject = TryCast(Report1.FindObject("Picture3"), PictureObject)
image3.Image = Image.FromFile("D:3.bmp")
Dim rich As RichObject = TryCast(Report1.FindObject("Rich1"), RichObject)
rich.load ? // [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> but nothing Report1.Show() How to load rich my document path ? rich.Load("C:\Examples.rtf") Thanks for helps.[/img]