Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - UserControl in VB project

 
 
Old 06-03-2006   #1 (permalink)
Eli


 
 

UserControl in VB project

I am able to use a UserControl in a C# project but not in a VB project. Is
that the correct functionality at the moment in Beta 2 or should I be able to
add a UserControl even in a VB project?

TIA
--
Eli

My System SpecsSystem Spec
Old 06-05-2006   #2 (permalink)
Dennis Cheng [MSFT]


 
 

Re: UserControl in VB project

Thanks for bringing this up. UserControl should work in markup using VB and
C# projects but there is a WPF bug in Beta2 that broke it in VB projects.
We'll fix this in the next release.

From the VS"Orcas" tools Beta2 readme:
- Referencing user-defined types in XAML that is declared within the current
VB project will fail at runtime. The workaround for VB projects is to
reference user types from a separate assembly or a C# project instead.


"Eli" <eli@discussions.microsoft.com> wrote in message
news:E421BC70-4124-4254-AEE0-DF9B9A8447DA@microsoft.com...
>I am able to use a UserControl in a C# project but not in a VB project. Is
> that the correct functionality at the moment in Beta 2 or should I be able
> to
> add a UserControl even in a VB project?
>
> TIA
> --
> Eli



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
In any project, Can't we refer classes directly, (without addingphysically in the project)? .NET General
Microsoft Advances Its Project Management Technology and the Project Management Profession Vista News


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46