473,406 Members | 2,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

IntelliSense and #Included VBS file

It's perhaps not the end of the World, but I find it annoying
that I lose IntelliSense when I reference Subs and Functions
I have moved to an #Included file.

Does anyone know of a reasonable way to restore the IntelliSense
feature in this case?

Thanks for your thoughts...

Jim Rodgers
Aug 14 '07 #1
3 3986
=?Utf-8?B?SmltIFJvZGdlcnM=?= wrote on 14 aug 2007 in
microsoft.public.inetserver.asp.general:
It's perhaps not the end of the World, but I find it annoying
that I lose IntelliSense when I reference Subs and Functions
I have moved to an #Included file.

Does anyone know of a reasonable way to restore the IntelliSense
feature in this case?
On your server, Jim?

Do servers have IntelliSense features in any case?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Aug 14 '07 #2
"Jim Rodgers" wrote:
It's perhaps not the end of the World, but I find it annoying
that I lose IntelliSense when I reference Subs and Functions
I have moved to an #Included file.

Does anyone know of a reasonable way to restore the IntelliSense
feature in this case?
Use .asp to name your includes. We use a naming convention like this:

<!-- #include file="MyInclude.VBS.inc.asp" -->

This has many benefits beyond Intellisense. You can see by the filename that
is it an include file written in VBScript. The ASP extension ensures that
asp.dll parses the script if someone correctly guesses the name and path of
the include (in IIS5 and earlier, the default configuration would just
stream the contents of a .inc file as plain text to the requesting browser).
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.

Aug 14 '07 #3
"Evertjan." wrote:
=?Utf-8?B?SmltIFJvZGdlcnM=?= wrote on 14 aug 2007 in
microsoft.public.inetserver.asp.general:
On your server, Jim?

Do servers have IntelliSense features in any case?
--
Evertjan.
The Netherlands.

Yes.

I develop ASP Classic files using VBScript and Microsoft
Visual Web Developer 2005 Express Edition ("VWD"). (It's very
much like Visual Studio 2005 -- except it has some additional
features and many, many flaws and bugs. But it's free, and I
can get it on all of the PCs in my lab.)

Anyway, VWD quits giving me IntelliSense for a specific function
or sub written in VBScript as soon as I put it in my "library" file,
which is an ASP file that I reference with an #Include directive.

Eventually, I will decide which of these functions and subs are
"core" utilities, which are somewhat more application-specific,
etc., before I compile them into VB6 DLLs for the betterment of
my life in general.

Meanwhile, I have to keep opening these [included] asp files to
remember the call lists, etc.

It's just now occuring to me -- partly due to the first responses
I got -- that maybe no one else is having this problem. If not,
it may be because no one else is using VWD 2005 Express. So,
is everyone using Visual Studio 2005 ???

There are numerous anomalies with VWD 2005 Express. For
example, IntelliSense will quit working for ADODB-declared
variables if I reference them too many times in the code. And
some objects won't do IntelliSense even when their enumerated
constants -ARE- working okay. It seems not to matter whether
I put the typelib declarations in the [parent] asp file or in the
global.asa file.

As I recall from a ten minute test at 4:00am one morning, the
Visual Studio 2005 design environment doesn't do IntelliSense
for CSS files.

So, does anyone know whether Intellisense should be working
on functions and subs once they have been moved into an
included asp file? Frankly, I don't see how they could unless
there is a declaration process at work -- but I guess that is what
I thought the design environment would do using the #Include
statement as a gianormous clue.

Is my question more clear?

Thank everybody.
Aug 14 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Stefan Kronberg | last post by:
I'm working on a solution containing about 20 projects. Some of the projects contain class definitions that are used in other of the projects. Most of the time intellisense is working ok, i.e. if I...
0
by: Simon | last post by:
I have intellisense when editing my XML files by adding the corresponding ..XSD file to the solution and then selecting from the proposed list in the XML Document property 'targetSchema'. ...
6
by: Mark | last post by:
When developing C# applications in VS.NET, you get intellisense descriptions for all methods in the .NET class libraries. I've created my own .NET assembly and included /// C# documentation of all...
2
by: Anders Borum | last post by:
Hello! I have created a C# library with plenty of inline documentation on classes, methods and so on. The documentation is conforming to Microsofts recommendations. Here's an example: //...
1
by: Adam Clauss | last post by:
I have a few variables that I want declared as global. To accomplish this, I made the files globals.h and globals.cpp. In globals.h I have the declarations for the structs, and one variable...
2
by: Bob Altman | last post by:
Hi all, I declared a templatized function in a .hpp file in Project_A. If I insert a reference to that function somewhere in Project_A, intellisense gives me the function signature. Now, in...
3
by: AJ | last post by:
I am using Microsoft Visual C++ .NET in Visual Studio 2003. Why there is no intellisense in MC++? Any workarounds?
26
by: S. Justin Gengo | last post by:
I installed the release of Visual Studio.NET 2005 Professional a few days ago. I've been using the Beta for a few weeks and one immediate problem is that I don't seem to have full intellisense in...
12
by: Peteroid | last post by:
I was creating my application just fine for the last 3 weeks or so. Then, starting this morning, IntelliSense seems to be having problems. It goes into a locked 'Updating IntelliSense..." mode....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.