Click here to Skip to main content
15,905,566 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: need of a "SpeciaL" plan for distribution... Pin
Dave Kreskowiak17-Apr-08 4:42
mveDave Kreskowiak17-Apr-08 4:42 
GeneralRe: need of a "SpeciaL" plan for distribution... Pin
Ed.Poore17-Apr-08 5:08
Ed.Poore17-Apr-08 5:08 
GeneralRe: need of a "SpeciaL" plan for distribution... Pin
Dave Kreskowiak17-Apr-08 8:19
mveDave Kreskowiak17-Apr-08 8:19 
GeneralRe: need of a "SpeciaL" plan for distribution... Pin
Ed.Poore17-Apr-08 11:31
Ed.Poore17-Apr-08 11:31 
QuestionLine with different width have different lengths? Pin
KeesVer17-Apr-08 1:41
KeesVer17-Apr-08 1:41 
AnswerRe: Line with different width have different lengths? Pin
Luc Pattyn17-Apr-08 2:09
sitebuilderLuc Pattyn17-Apr-08 2:09 
GeneralRe: Line with different width have different lengths? Pin
KeesVer17-Apr-08 2:46
KeesVer17-Apr-08 2:46 
GeneralReflection Doesn't Enumerate Everything Pin
Thomas Wells16-Apr-08 6:29
Thomas Wells16-Apr-08 6:29 
Reflection is cool, but geez it can be hard to get it to do some things. I want to enumerate all form controls on a user control that inherits from another user control which also has controls on it. Here's some sample code.

UserC in this sample is the user control which inherits from another user control.

Dim BindingFlags As Integer = Reflection.BindingFlags.Instance _
   Or Reflection.BindingFlags.Public Or _
   Reflection.BindingFlags.NonPublic
For Each fi As System.Reflection.FieldInfo In UserC.GetType.GetFields(BindingFlags)
  Dim obj As Object = fi.GetValue(UserC)
  If obj IsNot Nothing Then
    Try
      obj.Name()
    Catch ex As Exception
    End Try
   End If
Next


This will list all the form controls on the UserC class designer but not the class it inherits from. You can see them all when debugging. What gives?
GeneralRe: Reflection Doesn't Enumerate Everything Pin
Rob Smiley18-Apr-08 10:47
Rob Smiley18-Apr-08 10:47 
GeneralRe: Reflection Doesn't Enumerate Everything Pin
Thomas Wells21-Apr-08 6:16
Thomas Wells21-Apr-08 6:16 
Generalneed special treeview Pin
Member 472067116-Apr-08 2:20
Member 472067116-Apr-08 2:20 
GeneralRe: need special treeview Pin
Christian Graus16-Apr-08 11:54
protectorChristian Graus16-Apr-08 11:54 
QuestionBug in ListView.Items.Insert(int,ListViewItem)? Pin
AndrewVos16-Apr-08 2:08
AndrewVos16-Apr-08 2:08 
GeneralRe: Bug in ListView.Items.Insert(int,ListViewItem)? Pin
Rob Smiley18-Apr-08 10:57
Rob Smiley18-Apr-08 10:57 
GeneralRe: Bug in ListView.Items.Insert(int,ListViewItem)? Pin
AndrewVos18-Apr-08 12:00
AndrewVos18-Apr-08 12:00 
GeneralRe: Bug in ListView.Items.Insert(int,ListViewItem)? Pin
Rob Smiley18-Apr-08 12:44
Rob Smiley18-Apr-08 12:44 
AnswerRe: Bug in ListView.Items.Insert(int,ListViewItem)? Pin
Member 421315828-Oct-11 2:40
Member 421315828-Oct-11 2:40 
QuestionHow to draw miter joined lines? Pin
KeesVer16-Apr-08 1:01
KeesVer16-Apr-08 1:01 
GeneralCrystal Reports for Visual Studio 2005 Pin
Aleemulhaq16-Apr-08 0:20
Aleemulhaq16-Apr-08 0:20 
Question.NET variable tracking package Pin
K.L.K15-Apr-08 8:35
K.L.K15-Apr-08 8:35 
GeneralRe: .NET variable tracking package Pin
Ray Cassick15-Apr-08 11:29
Ray Cassick15-Apr-08 11:29 
GeneralRe: .NET variable tracking package Pin
K.L.K15-Apr-08 14:07
K.L.K15-Apr-08 14:07 
GeneralRe: .NET variable tracking package Pin
bwilhite18-Apr-08 2:25
bwilhite18-Apr-08 2:25 
Generalgetting error while creating windows service setup Pin
VenkataRamana.Gali15-Apr-08 2:37
VenkataRamana.Gali15-Apr-08 2:37 
GeneralAbout using DLL files in projects! Pin
maryam.saboor14-Apr-08 23:40
professionalmaryam.saboor14-Apr-08 23:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.