473,770 Members | 4,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4016
=?Utf-8?B?SmltIFJvZGd lcnM=?= wrote on 14 aug 2007 in
microsoft.publi c.inetserver.as p.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?SmltIFJvZGd lcnM=?= wrote on 14 aug 2007 in
microsoft.publi c.inetserver.as p.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
8099
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 work with objects declared from my own classes intellisense will show me all alternatives (methods and properties from my classes and from the classes they are derived from). But sometimes I will get nothing from intellisense, completely nothing,...
0
1075
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'. However, if the schema includes another (using include element) schema, I don't get the intellisense on the included schema. It does however manage to validate the XML document correctly (including references to the included schema).
6
1638
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 my methods, classes, etc.. The intellisense works great when this .NET assembly project is included in the solution I'm working on. However, if I just make a reference to the ..dll file instead of including the 'project', the...
2
3428
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: // <summary> // Represents an internal caching mechanism, providing a // model for caching CmsObjects. // </summary>
1
1593
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 actually defined. It is defined w/ the extern keyword. Then, in globals.cpp I actually define that extern variable. If my understanding of this is correct, then by any file that needs access to this variable simply needs to include globals.h...
2
1307
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 Project_B, I've included the path to Project_A's source files in the project properties, and I've referenced the hpp file via a "#include" statement. Project_B has no problem building, but intellisense doesn't know anything about the function in...
3
1533
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
1877
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 the web.config file. I get intellisense, but it's only displaying three very basic choices: <!-- <!www.aboutfortunate.com "Out of chaos comes order." Nietzsche
12
4836
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. When this happens its time to close VS C++.NET, which can only be done via the Windows Task Manager. I tried repairing C++. It did seem to help, but the problem is back a few hours later. I will try creating a new project, copy over source files,...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10231
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10059
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10005
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8887
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7416
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3972
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2817
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.