Re: Error Messege

  •  01-09-2007, 2:11 PM

    Re: Error Messege

    I tried the <script> tag to try and run that part as VB but I get errors this way also. Here is what I have...

    <script src="CuteEditor_Files/include_CuteEditor.asp" language="vbscript" runat="server">
    <%
    Dim editor
    Set editor = New CuteEditor
    editor.ID = "Story"
    editor.Text = "Hello World"
    editor.Width = 500
    editor.ConfigurationPath = "CuteEditor_Files/Configuration/AutoConfigure/Simple.config"
    editor.Draw()
    %>
    </script>

    I put the path to the include file in the source cuase the errors suggested I do and gave me errors if I put it anywhere else. But now I get the error...

    Microsoft VBScript compilation error '800a0400'

    Expected statement

    /mfvfd/CuteEditor_Files/include_CuteEditor.asp, line 1

    <%
    ^

    So now I have a VBScript error, which puts me closer then before where I had a JS error.  I could really use help on this please. It's holding up my entire project.  :(
    Thanks in advance.

View Complete Thread