Tym,
Just realize that both are doing the same thing. That both are correct.
"Project - Properties - Common Properties - Imports" is the same as putting
"Imports Microsoft.VisualBasic.Compatibility" at the top of each source
file.
If you have 15 files in your project, but only 1 or 2 need
Microsoft.VisualBasic.Compatibility, I would probably use Imports in each of
those files, instead of Project Properties.
FWIW: Over time I slowly remove uses of the
Microsoft.VisualBasic.Compatibility namespace changing any Compatibility
constructs with constructs from Microsoft.VisualBasic & the BCL (Base Class
Library or Framework) instead.
As the Compatibility namespace is intended more for upgraded projects,
rather then new development.
Hope this helps
Jay
[quoted text, click to view] "Tym" <no_spam@ictis.net> wrote in message
news:5q0dn0d0fen4nl6qgc4qc7uhom8ug5229n@4ax.com...
> On Wed, 20 Oct 2004 08:38:34 -0500, "Jay B. Harlow [MVP - Outlook]"
> <Jay_Harlow_MVP@msn.com> wrote:
>
>>Tym,
>>Oh! one other thing to check is the Project level imports.
>>
>>Check to see if Microsoft.VisualBasic.Compatibility is listed under
>>"Project - Properties - Common Properties - Imports"
>>
>>You may want to verify all the "Project - Properties" are set the same.
>
>
> BINGO!!
>
> That's the one.... removed the other import statements (see previous
> post) and replaced with this one. now works!!
>
> Thanks
>
>