I'm trying to write a program in Visual C++ .net 2005 beta 2 and it does not have the funtions I need to implement a button to change the rows that are being displayed in a dataset. The code that should work is
this->BindingContext->Item[JazzPep_MembersDataSet, "Pep Members"]->Position = this->BindingContext->Item[JazzPep_MembersDataSet, "Pep Members"]->Position + 1; but when i use this I get compile errors that say that Item is not a valid class/struc. It was suggested to me in the Visual C++ section of this forum that I extend the button class ins Visual Basic and then import the assembly throught the CLI. What im asking here is how would I go about in Visual Basic .Net extending the button class. I can find no tutorials or information about this topic on google, msdn, or else where any help you can give me would be appreciated. Also please let me know if this is not the place to ask this I can repost this in the Visual Basic Section if necessary. Thank you.

Extending the Button Class
Leif Olofsson
Jcking
zenguitar
The easiest way to accompish your task is to create a custom control (data navigation control - which may use several buttons - next/previous etc...)and add a button(s) to the control. Once the button is added you can code the events accordingly and then compile the project to be used elsewhere!
Hope that helps.
Andy Green
polocar
DoSomething
....
End Function
Don Breazeal
Here's a little article about BindingNavigator: http://www.computer-consulting.com/bindcollections.htm
Nemanja