adding html text to frontpage 2003 changes the string ?

A

Ashish

Hi all,
Iam facing this issue with Frontpage 2003,
iam a adding some script text in a string using Visual basic , and after
i have added the text , i see that the front page has manipulated it, it
is manipulating the field names inside the html text , only for version 2003

the script is being added to asp page here


here is the summarized code


Dim currentPageWindow as PageWindow

set currentPageWindow = Application.ActivePageWindow

botscript = ---- some logic to create script, i have seen it is
creating correct script

botscript = botscript & vbCrLf & "</form>" & vbCrLf ' ending the form


Set textRange = currentPageWindow.ActiveDocument.Selection.createRange

textRange.pasteHTML (botscript)


any idea of any incompatibilities between the SDKs of FP2002 and FP2003,

also when i add this script, i also see that FP2003 has added a tag at
the tope of the page ( this is in the case of aspx page )
<%@ Register Tagprefix="uc1" Namespace="" Assembly=""%>

any help pointers would be appreciated

TIA
-ashish
 
A

Ashish

Ashish said:
Hi all,
Iam facing this issue with Frontpage 2003,
iam a adding some script text in a string using Visual basic , and after
i have added the text , i see that the front page has manipulated it, it
is manipulating the field names inside the html text , only for version
2003

the script is being added to asp page here


here is the summarized code


Dim currentPageWindow as PageWindow

set currentPageWindow = Application.ActivePageWindow

botscript = ---- some logic to create script, i have seen it is
creating correct script

botscript = botscript & vbCrLf & "</form>" & vbCrLf ' ending the form


Set textRange = currentPageWindow.ActiveDocument.Selection.createRange

textRange.pasteHTML (botscript)


any idea of any incompatibilities between the SDKs of FP2002 and FP2003,

also when i add this script, i also see that FP2003 has added a tag at
the tope of the page ( this is in the case of aspx page )
<%@ Register Tagprefix="uc1" Namespace="" Assembly=""%>

any help pointers would be appreciated

TIA
-ashish
no answers, pointers :-(
 
T

Tom Pepper Willett

When and if someone has an answer, it will be posted. ;-)
--
-----
Tom Pepper Willett
Microsoft MVP - FrontPage
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
----
| Ashish wrote:
|
| > Hi all,
| > Iam facing this issue with Frontpage 2003,
| > iam a adding some script text in a string using Visual basic , and after
| > i have added the text , i see that the front page has manipulated it, it
| > is manipulating the field names inside the html text , only for version
| > 2003
| >
| > the script is being added to asp page here
| >
| >
| > here is the summarized code
| >
| >
| > Dim currentPageWindow as PageWindow
| >
| > set currentPageWindow = Application.ActivePageWindow
| >
| > botscript = ---- some logic to create script, i have seen it is
| > creating correct script
| >
| > botscript = botscript & vbCrLf & "</form>" & vbCrLf ' ending the form
| >
| >
| > Set textRange = currentPageWindow.ActiveDocument.Selection.createRange
| >
| > textRange.pasteHTML (botscript)
| >
| >
| > any idea of any incompatibilities between the SDKs of FP2002 and FP2003,
| >
| > also when i add this script, i also see that FP2003 has added a tag at
| > the tope of the page ( this is in the case of aspx page )
| > <%@ Register Tagprefix="uc1" Namespace="" Assembly=""%>
| >
| > any help pointers would be appreciated
| >
| > TIA
| > -ashish
| >
| >
| >
| >
| >
| >
| no answers, pointers :-(
|
 

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