FP Erasing Code

R

rn5a

One of my friends created a dynamic website using FrontPage. The
entire code is in ASP & the database is MS-Access. Since FP doesn't
have the ability to add e-mailing code (this is what my friend told
me; I have never used FP), I manually added the e-mailing ASP code
using CDO.MESSAGE.

After adding the necessary code, I passed the ASP file back to my
friend but when he opened the ASP file, strangely he found that FP
erased all the e-mailing code that I had added. This has been
happening repeatedly.

What could be causing this & how do I overcome this problem?
 
S

Stefan B Rusynko

If the ASP code is in a .asp page
- FP will not touch it
Where / how did you add the code and how are you passing it to your friend

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| One of my friends created a dynamic website using FrontPage. The
| entire code is in ASP & the database is MS-Access. Since FP doesn't
| have the ability to add e-mailing code (this is what my friend told
| me; I have never used FP), I manually added the e-mailing ASP code
| using CDO.MESSAGE.
|
| After adding the necessary code, I passed the ASP file back to my
| friend but when he opened the ASP file, strangely he found that FP
| erased all the e-mailing code that I had added. This has been
| happening repeatedly.
|
| What could be causing this & how do I overcome this problem?
|
 
R

rn5a

If the ASP code is in a .asp page
- FP will not touch it
Where / how did you add the code and how are you passing it to your friend

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| One of my friends created a dynamic website using FrontPage. The
| entire code is in ASP & the database is MS-Access. Since FP doesn't
| have the ability to add e-mailing code (this is what my friend told
| me; I have never used FP), I manually added the e-mailing ASP code
| using CDO.MESSAGE.
|
| After adding the necessary code, I passed the ASP file back to my
| friend but when he opened the ASP file, strangely he found that FP
| erased all the e-mailing code that I had added. This has been
| happening repeatedly.
|
| What could be causing this & how do I overcome this problem?
|

Thanks for the response, Stefan.

Yeah...the ASP code exists in a .asp page. I am adding the ASP code
using a text editor named TextPad & am passing it to my friend by
directly uploading the file to his server. He then downloads the ASP
file (with the code I added) to his local machine & opens it in FP to
find the code I added already stripped!

Any other suggestions?

Regards...
 
T

Thomas A. Rowe

Can you provide a example of how you are coding the page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


If the ASP code is in a .asp page
- FP will not touch it
Where / how did you add the code and how are you passing it to your friend

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________

message
| One of my friends created a dynamic website using FrontPage. The
| entire code is in ASP & the database is MS-Access. Since FP doesn't
| have the ability to add e-mailing code (this is what my friend told
| me; I have never used FP), I manually added the e-mailing ASP code
| using CDO.MESSAGE.
|
| After adding the necessary code, I passed the ASP file back to my
| friend but when he opened the ASP file, strangely he found that FP
| erased all the e-mailing code that I had added. This has been
| happening repeatedly.
|
| What could be causing this & how do I overcome this problem?
|

Thanks for the response, Stefan.

Yeah...the ASP code exists in a .asp page. I am adding the ASP code
using a text editor named TextPad & am passing it to my friend by
directly uploading the file to his server. He then downloads the ASP
file (with the code I added) to his local machine & opens it in FP to
find the code I added already stripped!

Any other suggestions?

Regards...
 
S

Stefan B Rusynko

He should be opening your .asp page in a server based web, not a disc based web in FP

FP will remove your code if it is causes malformed Html
- server side code should never split html blocks
- FP will always attempt to correct malformed html
(required in order to view the page in design view)

What happens when he open the page in Code view 1st

Without seeing a sample of your code it is difficult to determine if it is anything else
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| > If the ASP code is in a .asp page
| > - FP will not touch it
| > Where / how did you add the code and how are you passing it to your friend
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > _____________________________________________
| >
| >
| > | One of my friends created a dynamic website using FrontPage. The
| > | entire code is in ASP & the database is MS-Access. Since FP doesn't
| > | have the ability to add e-mailing code (this is what my friend told
| > | me; I have never used FP), I manually added the e-mailing ASP code
| > | using CDO.MESSAGE.
| > |
| > | After adding the necessary code, I passed the ASP file back to my
| > | friend but when he opened the ASP file, strangely he found that FP
| > | erased all the e-mailing code that I had added. This has been
| > | happening repeatedly.
| > |
| > | What could be causing this & how do I overcome this problem?
| > |
|
| Thanks for the response, Stefan.
|
| Yeah...the ASP code exists in a .asp page. I am adding the ASP code
| using a text editor named TextPad & am passing it to my friend by
| directly uploading the file to his server. He then downloads the ASP
| file (with the code I added) to his local machine & opens it in FP to
| find the code I added already stripped!
|
| Any other suggestions?
|
| Regards...
|
 

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