Object drop downs not appearing

B

Bill Murphy

I have an existing ASP file in a virtual directory. When I type server. or
request. in this text file using Microsoft Script Editor I get a dropdown
showing the properties available for the object. However, if I change the
extension to ASP on an existing html file, or create a new asp file I'm not
getting the dropdown. I suppose this indicates the objects are not
available in these new files, and they would not run properly if I tried to
open them.

What am I missing in setting up these new ASP files?

Bill
 
B

Bill Murphy

Curt,

Here's the code from the existing ASP where intellisense is working (from
Access 2002 Enterprise Developer's Handbook):

<%@ LANGUAGE="VBScript" %>
<HTML><HEAD>
<TITLE>ChartComponent.asp</TITLE>
<% Option Explicit %>

<!--#include file="ADO2Inc.asp"-->
<!--#include file="CnnInc.asp"-->

<%

When I type server. right after the final <% intellisense works. But if I
copy this exact code into a new ASP file and open it in Microsoft Script
Editor it doesn't work.

I just read an article at aspfaq.com (article #2167) which discusses this
problem and suggests replacing asp.tlb with a different version. But it
seems that if one ASP file works on my PC then they all should work, and the
file should not need replacing.

Bill
 
B

Bill Murphy

Curt,

Here's the code from the ASP that works (from Access 2002 Enterprise
Developer's Handbook):

<%@ LANGUAGE="VBScript" %>
<HTML><HEAD>
<TITLE>ChartComponent.asp</TITLE>
<% Option Explicit %>

<!--#include file="ADO2Inc.asp"-->
<!--#include file="CnnInc.asp"-->

<%

When I type server. right after the final <% Intellisense kicks in
and I get the list of properties for the server object. But if I
copy this into a new ASP file and open it in Microsoft Script
Editor, Intellisense does not work.

Bill
 

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

Members online

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,220
Latest member
AugustinaJ

Latest Threads

Top