There are probably several ways to do this, but one way would be to save the current text in your rich text box into a temporary file and then fire up the browser by shelling to it.
Here is a very simple, hardcoded, example that will open a file in whichever browser has a file association with the html exension:
ShellExecute 0&, vbNullString, "c:\test.html", vbNullString, vbNullString, vbNormalFocus
Of course, you will need to declare the ShellExecute API function:
Code:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal Hwnd As Long, ByVal _
lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
If you aren't familiar with using API calls, you can search the internet for basic info on doing this from VB6.
Woody Z
http://www.learntoprogramnow.com