Microsoft KB Archive/208562

= BUG: VBCE Special Methods Do Not Appear in IntelliSense Help =

Article ID: 208562

Article Last Modified on 8/19/2005

-

APPLIES TO


 * Microsoft Windows CE Toolkit for Visual Basic 6.0

-



This article was previously published under Q208562



SYMPTOMS
When using methods that apply only towards the Windows CE Toolkit for Visual Basic (they don't exist in Visual Basic itself), they might not appear in IntelliSense help.



CAUSE
The Visual Basic run-time and OLE Automation libraries are permanently installed at the top of the Project References and thus override all other references. This behavior causes the design environment for the toolkit to display IntelliSense help for Visual Basic 6.0 instead of VBCE.



RESOLUTION
To bypass this default behavior, use Dim...As with Windows CE-specific types.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.



MORE INFORMATION
Some examples that exhibit this behavior are App.End, Form1.DrawLine, Form1.DrawCircle, and App.WaitForEvents.

The following example shows how to use IntelliSense help with these references:  Create a new Windows CE HPC Project in Visual Basic. Add pvbhost2.dll and pvbform2.dll to your project references. These files are located, by default, in your VB98/vbce/Bin/Emulation/RunTime folder.  Use the following code in Form1 so that you can use the variables A and F instead of App and Form1 in your code to get IntelliSense help: Dim A as PVBApp, F as PVBForm 'The names of the objects are PVBApp, PVBForm, PVBClip, and PVBScreen. Set A = App Set F = Form1 

Additional query words: vbce vbce6 wce wince

Keywords: kbbug kbtoolkit kbpending KB208562

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.