Click here to Skip to main content
15,884,298 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPostback not happening Pin
aaraaayen16-May-08 0:32
aaraaayen16-May-08 0:32 
AnswerRe: Postback not happening Pin
Vimalsoft(Pty) Ltd16-May-08 1:12
professionalVimalsoft(Pty) Ltd16-May-08 1:12 
QuestionLoad RTF to Crystal Reports Pin
Jats_4ru15-May-08 23:50
Jats_4ru15-May-08 23:50 
AnswerRe: Load RTF to Crystal Reports Pin
Dave Kreskowiak16-May-08 12:30
mveDave Kreskowiak16-May-08 12:30 
QuestionThe type initializer for 'Solution.Module1' threw an exception ??? Pin
kindman_nb15-May-08 22:45
kindman_nb15-May-08 22:45 
AnswerRe: The type initializer for 'Solution.Module1' threw an exception ??? Pin
Christian Graus15-May-08 23:00
protectorChristian Graus15-May-08 23:00 
GeneralRe: The type initializer for 'Solution.Module1' threw an exception ??? Pin
kindman_nb16-May-08 8:50
kindman_nb16-May-08 8:50 
QuestionHow do I reflect the value of the property in a class ? Pin
eni9ma15-May-08 22:44
eni9ma15-May-08 22:44 
Hi I need some help,Confused | :confused:

I am reflecting all the properties in a class, that's fine, it works but I need the values of that actual class or instance.

Here's what i have so far.

Dim pi As PropertyInfo()
Dim m As MemberInfo
Dim reflectedTypes As Type = Nothing
Dim myInstance as New MyClass()

reflectedTypes = GetType(MyClass)
pi = reflectedTypes.GetProperties(
                    (BindingFlags.Instance Or BindingFlags.NonPublic Or BindingFlags.Public))

For Each m In pi
   Debug.Print(String.Format("{0} : {1}", m.Name, "i want the value here"))
Next m


Reason why i need the values is the class might change by other developers & im making a backup feature, that "saves" this class's properties to a txt file.

Any help would be appreciated. thanks

eni9ma

QuestionHow to publish webservice in VS 2003 Pin
Zeeshan Ahmed Memon15-May-08 20:08
Zeeshan Ahmed Memon15-May-08 20:08 
AnswerRe: How to publish webservice in VS 2003 Pin
Christian Graus15-May-08 23:00
protectorChristian Graus15-May-08 23:00 
QuestionDatagridview... Pin
Jamal Abdul Nasir15-May-08 20:02
Jamal Abdul Nasir15-May-08 20:02 
AnswerRe: Datagridview... Pin
John_Adams15-May-08 23:09
John_Adams15-May-08 23:09 
GeneralRe: Datagridview... Pin
Jamal Abdul Nasir18-May-08 20:33
Jamal Abdul Nasir18-May-08 20:33 
QuestionGet Character Width Pin
Zheyi K15-May-08 15:17
Zheyi K15-May-08 15:17 
AnswerRe: Get Character Width Pin
Eduard Keilholz15-May-08 23:19
Eduard Keilholz15-May-08 23:19 
GeneralRe: Get Character Width Pin
Zheyi K15-May-08 23:40
Zheyi K15-May-08 23:40 
GeneralRe: Get Character Width Pin
Eduard Keilholz15-May-08 23:51
Eduard Keilholz15-May-08 23:51 
GeneralRe: Get Character Width Pin
Zheyi K16-May-08 1:14
Zheyi K16-May-08 1:14 
Questionpointing to the wrong dbase Pin
zaimah15-May-08 14:09
zaimah15-May-08 14:09 
AnswerRe: pointing to the wrong dbase Pin
Christian Graus15-May-08 14:18
protectorChristian Graus15-May-08 14:18 
GeneralRe: pointing to the wrong dbase Pin
zaimah15-May-08 15:01
zaimah15-May-08 15:01 
GeneralRe: pointing to the wrong dbase Pin
Christian Graus15-May-08 15:07
protectorChristian Graus15-May-08 15:07 
GeneralRe: pointing to the wrong dbase Pin
zaimah15-May-08 16:00
zaimah15-May-08 16:00 
GeneralRe: pointing to the wrong dbase Pin
Christian Graus15-May-08 16:55
protectorChristian Graus15-May-08 16:55 
AnswerRe: pointing to the wrong dbase Pin
Thomas Stockwell19-May-08 8:08
professionalThomas Stockwell19-May-08 8:08 

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.