Microsoft KB Archive/189538

{|
 * width="100%"|

BUG: Need to Remove the "Me" References from WcDemo Sample

 * }

Q189538

-

The information in this article applies to:


 * Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0

-

SYMPTOMS
You see the error "Compiler error: Method or data member not found" and the code "Me.Template1" is highlighted.

RESOLUTION
You cannot use the "Me" reference in your Webclass code to reference the Webclass object. For example, the documentation frequently shows that you can write code such as "Me.URLData = value". This is not supported. Instead of using Me, you must use the "Webclass" statement. For example, instead of Me.URLData, you would use Webclass.URLData.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION
The WcDemo sample will be located at this location when you install the MSDN samples:

"Microsoft Visual Studio\MSDN98\98VS\1033\Samples\VB98\WcDemo\WCDEMO.VBP"