borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Microsoft Internet Controls)Next Topic (Using A Gradient Function in VBScript?) New Topic New Poll Post Reply
AndreaVB Forum : Internet Applications : How to open a page in Frontpage2000 and some other questions
Poster Message
raggagar
Level: Guest


icon How to open a page in Frontpage2000 and some other questions

I wish a very merry Xmas at first...
  

I'm a beginner in vb and needs help with this problem in Frontpage2000:

I want to open a page (web is already open), make changes in the page (this part I have already solved), and then save the page without a window asking for "save now" or something.

But that's not all. This have to happen to all pages in the web.

So maybe anyone can help me how to

- open a page in Frontpage2000
- save a page in Frontpage2000
- create a loop for this for all pages in the current web.

Thanks in advance

raggagar

25-12-2002 at 10:06 AM
| Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: How to open a page in Frontpage2000 and some other questions

quote:
raggagar wrote:
I wish a very merry Xmas at first...
  

I'm a beginner in vb and needs help with this problem in Frontpage2000:

I want to open a page (web is already open), make changes in the page (this part I have already solved), and then save the page without a window asking for "save now" or something.

But that's not all. This have to happen to all pages in the web.

So maybe anyone can help me how to

- open a page in Frontpage2000
- save a page in Frontpage2000
- create a loop for this for all pages in the current web.

Thanks in advance

raggagar



first, do you mean that you're connected to the internet, and that you want to open and save pages in fp2k without prompts?

maybe you could create a small program to do this.

i don't know what JL would recommend, but if he says the same, i can help you.
okay?

merry xmas!!!


____________________________
Been busy trying to take a second degree <--it's not working out...
25-12-2002 at 02:14 PM
View Profile Send Email to User Show All Posts | Quote Reply
raggagar
Level: Guest

icon Re: How to open a page in Frontpage2000 and some other questions

Hi vbgen,

thanks for response.

I'm not connected with the internet. The web isn't published yet. It is stored local on myharddisk.

My web is quite large: about 2500 pages. Now I have to do some changes. Always the same changes on every page in my web.

So that it is why want to open a page, do some changes, and save it without a prompt...one by one.

I try to solve it with visualbasic in Frontpage. The first problem for me is I don't know how to open and save the pages of my web via visualbasic.

The second prob is I don't have a clue how to open all pages of a web one by one.

Would be great if you or someone other could give me hint.

raggagar

25-12-2002 at 05:18 PM
| Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: How to open a page in Frontpage2000 and some other questions

okay... i'll see how i can help, ait? ..here goes...

it would be helpful for a loop, if the change you have to make is located in the same line, and column...

if not, then let's put that aside first.. if yes, then good. but hold on..

as a beginner(as you have posed yourself), i would approach this not having to go through FrontPage... what you would need is an html editor made in visual basic... but, this is different...

tell me, is the change to be made at the same line and column?

i'm going to prepare an html editor that you can use, but it's gonna take a while, so for the meantime, post back. okay?



____________________________
Been busy trying to take a second degree <--it's not working out...

25-12-2002 at 07:02 PM
View Profile Send Email to User Show All Posts | Quote Reply
raggagar
Level: Guest

icon Re: How to open a page in Frontpage2000 and some other questions


Uhh...unfortunaly the changes are not in the same line and column.
Each page in the web was created from different sources. Partly written via keyboard or copied from other pages.
If I look in the source code I see a mixture of a lot of font size tags. Would I save such a page and work on it later, the changes partly disappear.

This is a behaviour I often noticed. But if I select the whole text in Frontpage ("Select All") and apply again a font size, the source code look nice and all changes will be saved.

This is why I want to do it in Frontpage with vb.

But I don't know how to open a page in Frontpage. I know the path of each page.

Could you tell me how to open and save a page in Frontpage via vb without a prompt?

raggagar

25-12-2002 at 08:23 PM
| Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: How to open a page in Frontpage2000 and some other questions

'm sorry, can't help you there.

hopefully, someone else will have an idea.

____________________________
Been busy trying to take a second degree <--it's not working out...

28-12-2002 at 07:26 AM
View Profile Send Email to User Show All Posts | Quote Reply
raggagar
Level: Guest

icon Re: How to open a page in Frontpage2000 and some other questions

Hi,

I've found a solution already. Thanks for being helpful anyway.

    

28-12-2002 at 12:16 PM
| Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: Re: How to open a page in Frontpage2000 and some other questions

quote:
raggagar wrote:
Hi,

I've found a solution already. Thanks for being helpful anyway.

    


would you mind sharing it with us?


just so that members and others can learn as well, how to do the task you wanted to accomplish.

we hope you don't mind.
thanks.

____________________________
Been busy trying to take a second degree <--it's not working out...
28-12-2002 at 06:47 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Internet Applications : How to open a page in Frontpage2000 and some other questions
Previous Topic (Microsoft Internet Controls)Next Topic (Using A Gradient Function in VBScript?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder