Re: ASP eating Javascript for VB code

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Bob Lehmann (none)
Date: 03/16/04


Date: Tue, 16 Mar 2004 08:51:40 -0700

So why did you write this...
"I have a page with the following script (no code behind ,using WebMatrix -
customer doesn't want to spend money on dev tools)."?

And, why did you feel the need to start a new thread?

Bob Lehmann

"Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in message
news:_3F5c.17199$TxJ.2340@news04.bloor.is.net.cable.rogers.com...
> Read all my posts before you jump in with both feet please.
> The customer does not want to pay. The original web app was created with
my
> copy of VS.
>
> If you create a page using the SDK you will have the same problem. If
> people do not complain about problems then they will not be fixed.
> Everything I read (and of course you can't believe everything you read)
> indicates that MS has bitten off much more that they can handle with the
> combination of DOT.NET, SQL Server and the new OS.
>
> I simply cannot understand how a company with that many developers , QA
etc
> cannot parse a simple text file to figure out that the tag is in a
literal.
> If all software was written that poorly then we would not have jobs and
the
> computer industry would never have happened.
>
> Lloyd Sheen
>
> From: "Kevin Spencer" <kevin@takempis.com>
> Subject: Re: ASP eating Javascript from VB code
> Date: Tuesday, March 16, 2004 8:34 AM
>
> Listen, Lloyd. Web Matrix is FREE, and NOT SUPPORTED. So, what are you
> complaining about? Why don't you go out and buy the professional software
> that Microsoft sells (Visual Studio.Net)? There is a reason why so many
> people are willing to pay for it - it saves them money in the long run.
> Think about it. For VS.Net you pay once, and get a whole lot of
productivity
> increase. Which costs more - software or programmer salaries?
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in
message
> news:3Er5c.3189$TxJ.993@news04.bloor.is.net.cable.rogers.com...
> > All fixes by not having the tag show work. I would just like MS to fix
> the
> > problem. I have to say that the new development platforms and .NET have
> > many problems. Not being able to parse HTML though is a problem that I
> > would think MS would fix. Surely they understand when it reaches a
> literal
> > value. I guess not. Maybe all those MS haters are correct.
> >
> > Perhaps too much work on security and not enough on getting the dev
tools
> > correct. I can only imagine from reading the newsgroups over that last
> > couple of years that there is an inordinate amount of workaround code in
> > current .NET apps. I wonder what will happen with next release to break
> all
> > those workarounds.
> >
> > Lloyd Sheen
> >
> > "Yama" <ykamyar@grandpacificresorts.com> wrote in message
> > news:%23JYNEouCEHA.1588@tk2msftngp13.phx.gbl...
> > > Hello there,
> > >
> > > Try to change it:
> > > popupScript += "</" & "script>"
> > >
> > > Hope it resolves your issue.
> > > Please let me know,
> > >
> > > Yama
> > >
> > > "Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in
> > message
> > > news:%1q5c.2862$TxJ.809@news04.bloor.is.net.cable.rogers.com...
> > > > I have a page with the following script (no code behind ,using
> > WebMatrix -
> > > > customer doesn't want to spend money on dev tools).
> > > >
> > > > 'Dim psInfo() As String
> > > > 'psInfo = Split(psSV, "/")
> > > > psURL += "UID=" & psInfo(0).Trim & "&Lang=" & psInfo(1).Trim
> > > >
> > > > popupScript = "<script language='javascript'>"
> > > > popupScript += "window.open('PopUp.aspx', 'CustomPopUp', "
> > > > popupScript += "'width=200, height=200, menubar=yes,
> resizable=no')"
> > > > 'popupScript += "</script>"
> > > >
> > > > Response.Redirect(psURL)
> > > > End Sub
> > > >
> > > > When I run this I get the following error:
> > > >
> > > > Compilation Error
> > > > Description: An error occurred during the compilation of a resource
> > > required
> > > > to service this request. Please review the following specific error
> > > details
> > > > and modify your source code appropriately.
> > > >
> > > > Compiler Error Message: BC30289: Statement cannot appear within a
> method
> > > > body. End of method assumed.
> > > >
> > > > Source Error:
> > > >
> > > >
> > > > Line 280: #End ExternalSource
> > > > Line 281:
> > > > Line 282: Public Sub New()
> > > > Line 283: MyBase.New
> > > > Line 284: Dim dependencies As
System.Collections.ArrayList
> > > >
> > > >
> > > > If I remove the line 'popupScript += </script> and notice it is
> > > > commented the error goes away. I guess ASP parsing is not that
good.
> > > >
> > > > Any suggestions.
> > > >
> > > > Lloyd Sheen
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>



Relevant Pages

  • Re: 30 days trial immune to set clock back in time?
    ... to lay more bricks to make more money. ... The alternative is that the first customer for a piece of software be ... pay a recurring service fee to use Word, or to play Solitaire; ... By charging each customer a smaller amount for their license, ...
    (comp.lang.java.programmer)
  • Re: audio snakeoil!
    ... you've swindled your customer. ... You may feel you already have the best conscience that money can buy ... these quacks are harmful parasitic vermin. ... If you want to pay extra to have more bedside manner, ...
    (sci.electronics.design)
  • Re: Home Warranty companies - any recommendations ?
    ... > Need recommendations of good home warranty companies. ... > not worth the money. ... AHS agreed to just fix it and not pay the ... did the job and was paid by the customer. ...
    (alt.home.repair)
  • Re: Why do so many people fail to tip their delivery person?
    ... of the tip-receiver. ... Not getting tips is not a fault of the customer. ... "I pay for gas with tips." ... "Need tip money to smuggle parents out of North Korea. ...
    (alt.usage.english)
  • Re: OT - There are layoffs and then there are LAYOFFS...
    ... they've taken any excess money out of all firms now ... it was short perhaps $600 million in customer funds - money which the ...
    (rec.crafts.metalworking)