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

Re: adding html text to frontpage 2003 changes the string ? by Ashish

Ashish
Mon Nov 17 18:30:01 CST 2003

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 :-(


Re: adding html text to frontpage 2003 changes the string ? by Tom

Tom
Mon Nov 17 19:20:10 CST 2003

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" <asharma@mailmenot.com> wrote in message
news:urXZbsWrDHA.2584@TK2MSFTNGP09.phx.gbl...
| 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 :-(
|