Hi,
I'm not great with reflection and I hope I chose the right category. I have an interesting problem. I have written a report using devexpress reports. This involves a line of code like this:
lxListData = New System.Collections.Generic.List(Of DLL.Report.ListData)
ListData is report...
For a bit of self education, I'm writing a game using XNA and using NLua for scripting. I've got three classes, clsBase (which defines the functions and subs all things in the game must be able to do), clsSprite (which is objects such as doors) and clsPlayer. The last two inherit from clsBase so...
Dear ALL,
I have the following class:
I am able to get all the public fields inside class speed using the following code:
For Each rField As FieldInfo In _axes.ctrl(j).spd.GetType().GetFields(BindingFlags.Public Or BindingFlags.Instance)
Dim iType As Double...
I have a function that I am using to iterate and display the names & values of all the properties of an object. Here is my current code:
Private Function RequestFormValues(rf As NameValueCollection) As String
Dim type As Type = rf.GetType()
Dim properties() As System.Reflection.PropertyInfo =...
How can I get a string with the name of a property at run time?
Obviously using GetProperty, as shown below, is NOT a solution since it requires knowing the property name to begin with:
Imports System.Reflection
Module Module1
Public Class Country
Public Property Capital As String...
When the overriden property ID is passed to the indexer as propertyname="ID" reflection does not recognize it.
m_info comes up as nothing. I don't know how to fix it.
When i look in the class member viewer the ID property is described as "ID() As Integer" i have tried to pass this as the...
I want to create a vb .net application and in that application, call Attachmate Reflection API to create a unix session to run shell script in the unix box. I am doin it as follows (code below)
Prolem 1 - RUO.connect() takes an ConnectionName As Object - ?
if i leave this blank a message opens...
Hi all!
i am writing a simple games client using an XNA 2.0 engine to play games. The games are written in dll files and the client uses the assembly.loadfrom method to read and execute the games accordingly...
Now this all works fine on my computer and my laptop. However when i give it to my...
Friends,
I am an experienced C# programmer who is working on a VB.NET project now. I am writing different methods covering the following functionalities
1) Take a datareader as input and return an arraylist of class object
2) Take an xmlnode (received from a webservice) as input and return...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.