Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jijo Pappachan
  Where is Jijo Pappachan?
 Kerala
 India
 Jijo Pappachan
 To: shiva kumar
  Where is shiva kumar?
 Hyderabad
 India
 shiva kumar
 Tags
Subject: RE: Creating Cover Page For FAX
Thread ID: 249134 Message ID: 249177 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: General VFP Topics
Date: Wednesday, December 30, 2009 5:51:32 AM         
   


> > You cannot directly. You would have to create your own cover sheet using either FCREATE() or STRTOFILE() and adding you text to it.
> >
> > Mike Gagnon
> > Refox XI +(English version)
>
> Hi Mike Gagnon,
> i tried to create a .cov file using FCREATE()
> i gave like
>
FCREATE('abc.cov')

> it Created an ABC.cov file, but when i tried to open it i got an Error
> ---------------------------
> Cover Page Editor
> ---------------------------
> The Cover Page Editor cannot locate the file "E:\SOURCE\AVL\ABC.COV".
> Please open an alternative cover page file.
>
> ---------------------------
> ---------------------------
> or i Tried to Give Create Like
>
STRTOFILE('13254','cover.cov')

> but when i tried to open cover.cov
> i got error
> ---------------------------
> Cover Page Editor
> ---------------------------
> The Cover Page Editor does not recognize "E:\SOURCE\AVL\COVER.COV" as a valid cover page document.
> ---------------------------
> ---------------------------
>
> i am not sure the way i did was Correct, but hope it was
>
> Shiva

Hi Shiva,
This errors seems like you created a .cov file with invalid format. I am not sure what is it's format. When you create with STRTOFILE() the header information for that .cov file may loss. So, you just open a original .cov file in a low level text editor like notepad. Then see how it is arranged its content. Then change required characters using file handling commands like FSEEK(), FPUTS(), FREAD() functions.

Jijo
JUST THINK.. THERE IS A SOLUTION................
my blog:http://weblogs.foxite.com/jijo_pappachan/

ENTIRE THREAD

Creating Cover Page For FAX Posted by shiva kumar @ 12/29/2009 9:16:04 AM
RE: Creating Cover Page For FAX Posted by Mike Gagnon @ 12/29/2009 1:33:41 PM
RE: Creating Cover Page For FAX Posted by shiva kumar @ 12/29/2009 1:42:49 PM
RE: Creating Cover Page For FAX Posted by Mike Gagnon @ 12/29/2009 2:34:24 PM
RE: Creating Cover Page For FAX Posted by shiva kumar @ 12/30/2009 5:20:01 AM
RE: Creating Cover Page For FAX Posted by Jijo Pappachan @ 12/30/2009 5:51:32 AM
RE: Creating Cover Page For FAX Posted by shiva kumar @ 12/30/2009 5:57:23 AM
RE: Creating Cover Page For FAX Posted by Mike Gagnon @ 12/30/2009 12:44:34 PM
RE: Creating Cover Page For FAX Posted by shiva kumar @ 12/30/2009 12:47:37 PM