开发者

Is there a way to get Visual Studio to provide intellisense for late-bound objects in classic ASP?

开发者 https://www.devze.com 2022-12-30 22:24 出处:网络
I\'m working on a Classic ASP (with VB Script) project where I\'m instantiating an object from an ActiveX control like so:

I'm working on a Classic ASP (with VB Script) project where I'm instantiating an object from an ActiveX control like so:

Dim objHelper
Set objHelper = Server.CreateObject("HelperLib.HelperObj")

Visual Studio 2005 provides intellisense for the first "layer" of properties 开发者_开发百科and methods, but it can't seem to see properties and methods that are members of the main objects. For example:

objHelper.               'Properties and methods show up after the period   '
objHelper.FirstProperty. 'No properties and methods are shown after the period'

Is there a way to "help" Visual Studio in some way to see these object types so that I can work in a more strongly-typed environment?


Unfortunately, 2005 does not do this. 2008 does a very good job of it, however. Once you install sp1, that is.

0

精彩评论

暂无评论...
验证码 换一张
取 消