=> create HTML Document with Frontpage VBA

A

Alexander

create HTML Document with Frontpage VBA
================================

I want to:
- Create a "xyz.htm" document in the background,
- insert Html Code in it
- and save the file on the server.

Which Fp VBA Code do I need ?

Thanks
Alexander
 
S

Steve Easton

VB is client side. You need asp

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
S

Stefan B Rusynko

Your questions are to broad

You need to study the FP Object Modules at
http://msdn.microsoft.com/library/d.../vbafpw10/html/fphowExplorFPOM.asp?frame=true

and then use the VBE help to get started (lots of examples in the VBA help there)

IMHO
No one is going to write VBA modules for you, but many will offer to help w/ specific problems once you have generated some code and
need more help






| create HTML Document with Frontpage VBA
| ================================
|
| I want to:
| - Create a "xyz.htm" document in the background,
| - insert Html Code in it
| - and save the file on the server.
|
| Which Fp VBA Code do I need ?
|
| Thanks
| Alexander
|
|
 
A

Alexander

MY QUESTION
YOUR ANSWER:
VB is client side. You need asp

MY COMMENT:
No, I think it is a job for FrontpageVBA

The thing I actualy want to do is the following:
During Web Development, I want to select a certain part of the WebPage and
create an alonestanding "xyz.htm" file with this portion of my original
WebPage. This new Webpage I want to include with the "webbot include" Tag to
my original Webpage again.

This should be just an development tool for myself, but the whole process
should work in an automated way.

Thanks
Alexander
 
S

Stefan B Rusynko

Start here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fpsdk2002/html/SampleHTML1.asp




| MY QUESTION
| > > I want to:
| > > - Create a "xyz.htm" document in the background,
| > > - insert Html Code in it
| > > - and save the file on the server.
|
| YOUR ANSWER:
| > VB is client side. You need asp
|
| MY COMMENT:
| No, I think it is a job for FrontpageVBA
|
| The thing I actualy want to do is the following:
| During Web Development, I want to select a certain part of the WebPage and
| create an alonestanding "xyz.htm" file with this portion of my original
| WebPage. This new Webpage I want to include with the "webbot include" Tag to
| my original Webpage again.
|
| This should be just an development tool for myself, but the whole process
| should work in an automated way.
|
| Thanks
| Alexander
|
| | > VB is client side. You need asp
| >
| > --
| > Steve Easton
| > Microsoft MVP FrontPage
| > 95isalive
| > This site is best viewed..................
| > ..............................with a computer
| > | > > create HTML Document with Frontpage VBA
| > > ================================
| > >
| > > I want to:
| > > - Create a "xyz.htm" document in the background,
| > > - insert Html Code in it
| > > - and save the file on the server.
| > >
| > > Which Fp VBA Code do I need ?
| > >
| > > Thanks
| > > Alexander
| > >
| > >
| >
| >
|
|
 
S

Stefan B Rusynko

And look here
http://msdn.microsoft.com/library/d...k2002/html/SampleFilesFolders5.asp?frame=true




| Start here
| http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fpsdk2002/html/SampleHTML1.asp
|
| --
|
| _____________________________________________
| SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| "Warning - Using the F1 Key will not break anything!" (-;
| To find the best Newsgroup for FrontPage support see:
| http://www.net-sites.com/sitebuilder/newsgroups.asp
| _____________________________________________
|
|
| | MY QUESTION
| | > > I want to:
| | > > - Create a "xyz.htm" document in the background,
| | > > - insert Html Code in it
| | > > - and save the file on the server.
| |
| | YOUR ANSWER:
| | > VB is client side. You need asp
| |
| | MY COMMENT:
| | No, I think it is a job for FrontpageVBA
| |
| | The thing I actualy want to do is the following:
| | During Web Development, I want to select a certain part of the WebPage and
| | create an alonestanding "xyz.htm" file with this portion of my original
| | WebPage. This new Webpage I want to include with the "webbot include" Tag to
| | my original Webpage again.
| |
| | This should be just an development tool for myself, but the whole process
| | should work in an automated way.
| |
| | Thanks
| | Alexander
| |
| | | | > VB is client side. You need asp
| | >
| | > --
| | > Steve Easton
| | > Microsoft MVP FrontPage
| | > 95isalive
| | > This site is best viewed..................
| | > ..............................with a computer
| | > | | > > create HTML Document with Frontpage VBA
| | > > ================================
| | > >
| | > > I want to:
| | > > - Create a "xyz.htm" document in the background,
| | > > - insert Html Code in it
| | > > - and save the file on the server.
| | > >
| | > > Which Fp VBA Code do I need ?
| | > >
| | > > Thanks
| | > > Alexander
| | > >
| | > >
| | >
| | >
| |
| |
|
|
 
P

Peter Aitken

Alexander said:
MY QUESTION

YOUR ANSWER:

MY COMMENT:
No, I think it is a job for FrontpageVBA

The thing I actualy want to do is the following:
During Web Development, I want to select a certain part of the WebPage and
create an alonestanding "xyz.htm" file with this portion of my original
WebPage. This new Webpage I want to include with the "webbot include" Tag to
my original Webpage again.

This should be just an development tool for myself, but the whole process
should work in an automated way.

Thanks
Alexander

I understand what you want - it is certainly possible but will take some
rather skilled VBA programming. You cannot expect to complette this with
bits and pieces of answers from people in this group. You will need to learn
the FP object model and VBA syntax.
 
A

Alexander

MY QUESTIONTag

YOUR COMMENT
I understand what you want - it is certainly possible but will take some
rather skilled VBA programming. You cannot expect to complette this with
bits and pieces of answers from people in this group. You will need to learn
the FP object model and VBA syntax.

MY COMMENT
I'm cerainly not a programming expert, but I know a good piece of VB,
WordVBA, AccessVBA and PowerPointVBA. I also know a good piece of
JavaScript. But I'm new in FpVBA. Any knowledge starts with some bits and
some pieces. In the very beginning you need some hints, something to start
with. After this, things do evolve alone, and you only need occasionally
support.
Two days ago I learned the commands "rng.pasteHTML txtHtmlCode.Text" and
"Set rng = ActiveDocument.selection.createRange" and over the weekend I
could build a complex tag-machine.
I don't want anyone to write my code, I only want to get started, just
overcome some initial barriers.

The problem I have at the moment should be easy.
I have correct and complete HtmlCode in a text variable of my FpVBA
environment. I want to convert this variable into a "xyz.htm" file of my
web.
How could this be done?

The smallest hint is apreciated.
Thanks a lot
Alexander
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top