Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 To: Ferenc Richard
  Where is Ferenc Richard?
 warsaw
 Poland
 Ferenc Richard
 Tags
Subject: RE: Printing HTML document
Thread ID: 232596 Message ID: 232876 # Views: 23 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Friday, June 26, 2009 5:03:34 PM         
   


> >
> > I am not sure that I understand what you are doing. As I can see from your code, you copy html file from one location on your network drive to another location inside the network. Then what is a purpose of using oIE ?
> > Why do not you use just plain COPY FILE foxpro command?
> >
> > In any case, there is no native way to bypass the user dialog with OIE when SAVEAS. You may use external exe with timer to get the window "Saveas HTML document", and send keys there.
> > You may also try another approach without oie class in http://support.microsoft.com/default.aspx?scid=174524
> > You may use MS Word instead, etc...
> >
> > Best Wishes,
> >
> > Yuri Rubinov
>
>
> Dear Yuri,
>
> I used lcURL="d:\xml\test1.html" in my code as a testing example. In production mode I will use lcURL as addresses of HTML documents from different network locations.
> And therefore I have to use oIE to copy HTML documents in one directory on my server.
>
> Best regards

Then I believe that http://support.microsoft.com/default.aspx?scid=174524 is a suitable way to follow. It will allow you to store file contents into memo field. Then probably you may use strtofile() to save the file.


Best Wishes,

Yuri Rubinov



COMPLETE THREAD
Printing HTML document Posted by Ferenc Richard @ 6/24/2009 4:40:00 PM
RE: Printing HTML document Posted by Bilal Budhani @ 6/24/2009 5:08:08 PM
RE: Printing HTML document Posted by Yuri Rubinov @ 6/24/2009 5:44:19 PM
RE: Printing HTML document Posted by Ferenc Richard @ 6/26/2009 3:28:23 PM
RE: Printing HTML document Posted by Yuri Rubinov @ 6/26/2009 3:40:17 PM
RE: Printing HTML document Posted by Ferenc Richard @ 6/26/2009 4:37:26 PM
RE: Printing HTML document Posted by Yuri Rubinov @ 6/26/2009 5:03:34 PM
RE: Printing HTML document Posted by Yuri Rubinov @ 6/26/2009 5:33:35 PM