Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 To: prasanna kunder
  Where is prasanna kunder?
 mumbai
 India
 prasanna kunder
 Tags
Subject: RE: Ole Error
Thread ID: 311229 Message ID: 311265 # Views: 33 # Ratings: 1
Version: Visual FoxPro 7 Category: Classes and Objects
Date: Thursday, June 30, 2011 2:41:34 AM         
   


> Hello Experts
>
> This is my commands
>
> thisform.container1.olertf1.saveFile("One.Rtf")
> APPEND GENERAL Con1
> APPEND GENERAL Con1 FROM "One.Rtf" CLASS "RICHTEXT.RICHTEXTCTRL.1"
>
> when i run this command , error show on
> APPEND GENERAL Con1 FROM "One.Rtf" CLASS "RICHTEXT.RICHTEXTCTRL.1"
>
> that is
>
>
>
> how resole this on
> pl.help me
> prasanna


I believe, file One.Rtf is not yet created. Verify whether it is the cause; say, before append general add a line like

wait wind time 5.0 "Creating file, please, wait ...."

Other than that, I do not believe, one can save object in general field forcing class "RICHTEXT.RICHTEXTCTRL.1". It will not give you an error, but file will be saved with OLE class related to the application that associated with rtf extention on your PC (most likely Word.Document).



Best Wishes,

Yuri Rubinov

ENTIRE THREAD

Ole Error Posted by prasanna kunder @ 6/29/2011 8:56:45 PM
RE: Ole Error Posted by Yousfi Benameur @ 6/29/2011 9:53:03 PM
RE: Ole Error Posted by prasanna kunder @ 6/30/2011 7:14:30 AM
RE: Ole Error Posted by Yuri Rubinov @ 6/30/2011 2:41:34 AM