Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

UserControl in VB project

Closed Thread
 
Thread Tools Display Modes
Old 06-03-2006   #1 (permalink)
Eli
Guest


 

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
Old 06-05-2006   #2 (permalink)
Dennis Cheng [MSFT]
Guest


 

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



Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
In any project, Can't we refer classes directly, (without addingphysically in the project)? Rachana .NET General 1 03-28-2008 04:31 PM
UserControl inside another UserControl with WYSIWYG jan.bannister@gmail.com Avalon 1 02-07-2007 06:42 AM
How to bind to a usercontrol property from inside this usercontrol Pon Avalon 4 11-13-2006 08:38 AM
Microsoft Advances Its Project Management Technology and the Project Management Profession z3r010 Vista News 0 10-20-2006 11:02 AM
WPF UserControl in a Forms.UserControl MichaelG Avalon 2 01-10-2006 03:52 PM








Vistax64.com 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 2005-2008

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 47 48 49 50