Hi, im currently doing an upgrade from vb6 to vb.net with the help of code advisor. Im also new to vb.net.
However, im still facing some problems modifying existing codes to perform the conversion. Below is the message showing that I need to modify the codes.
'FIXIT: 'lstItem.ForeCo lor' is not a property of the generic 'Form' object in Visual Basic .NET. To access 'lstItem.ForeCo lor' declare 'obj' using its actual type instead of 'Form' FixIT90210ae-R1460-RCFE85
obj.lstItem.For eColor = &HFF& 'red
The problem here is how do i modify it?...I really dont have any idea on how to do that.
Actually I have also read through the msdn but it didnt do any help as the example given is the issue :
'Value' is not a property of the generic 'Control' object in vb.net. To access 'Value' declare 'ctl' using its actual type instead of 'Control'..... Please help me.
Many thanks.
However, im still facing some problems modifying existing codes to perform the conversion. Below is the message showing that I need to modify the codes.
'FIXIT: 'lstItem.ForeCo lor' is not a property of the generic 'Form' object in Visual Basic .NET. To access 'lstItem.ForeCo lor' declare 'obj' using its actual type instead of 'Form' FixIT90210ae-R1460-RCFE85
obj.lstItem.For eColor = &HFF& 'red
The problem here is how do i modify it?...I really dont have any idea on how to do that.
Actually I have also read through the msdn but it didnt do any help as the example given is the issue :
'Value' is not a property of the generic 'Control' object in vb.net. To access 'Value' declare 'ctl' using its actual type instead of 'Control'..... Please help me.
Many thanks.
Comment