The subject says the max.... and here's the rest:

In a running project, I load rtf files and it works fine (under Windows). Under Mac OS X, I use styled text files generated using a custom application.

Under Novell Linux suse 10.1, I get Error Code 2.

So I put the following code in a PushButton (taken from the Language Reference) and... the rtf file is not loaded...

Help!

TIA,

Emile

 Dim dlg As New OpenDialog
 Dim f   As FolderItem

 dlg.InitialDirectory = GetFolderItem("")
 dlg.Title="Select a RTF file"
 dlg.Filter=FTrtf.All
 f = dlg.ShowModal()
 If f Is Nil Then
   //User Cancelled
   Beep
   MsgBox "An Error occured."
   Return
 End If

 f.OpenStyledEditField EFDescription


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to