From: Sanjay Kulkarni on 13 Apr 2010 14:09 Can somebody throw more light on this. I hadn't come across this before. Note: When calling this property from VB/A, enclose it in square brackets (for example, DrawingView.[Scale] ). Otherwise, VB/A can confuse it with its own Scale reserved word. reserved word.
From: Norm Cook on 14 Apr 2010 07:45 "Sanjay Kulkarni" <sanganaksakha(a)gmail.com> wrote in message news:6522e52f-030b-4f5d-81b7-ea61965aa888(a)h27g2000yqm.googlegroups.com... > Can somebody throw more light on this. I hadn't come across this > before. > > Note: When calling this property from VB/A, enclose it in square > brackets (for example, DrawingView.[Scale] ). Otherwise, VB/A can > confuse it with its own Scale reserved word. reserved word. In MSDN help, search for "code basics" (with quotes), & check out the first result. At the bottom of this page is some verbage on this topic. A good example of this usage is in Enums, e. g. Public Enum eAppearance Flat [3D] End Enum Won't fly without the brackets.
|
Pages: 1 Prev: RTC Event in VB6 Next: Send mail through yahoo using ssl in vb6 |