You need to add a Public Sub to the userControl which maps to the Richtextbox

eg. in the usercontrol:

Code:
Public Sub LoadFile(strFile As String)
  RichTextBox1.LoadFile strFile
End Sub

then in the client program:

Code:
Private Sub Command1_Click()
UserControl11.LoadFile "C:\test.rtf"
End Sub
Does this help?


------------------
Mark Sreeves
Analyst Programmer

[email protected]
A BMW Group Company


[This message has been edited by Mark Sreeves (edited 11-26-1999).]