I'm in the process of upgrading my app from VB6 to VB.net. One of the things not working in .NET that was working in VB6 is returning the identity value. I'm getting the error message 'Cast from type DBnull to integer is not valid' with the code below:
I recently started dealing with VS .NET, and so far everything is going good. but a friend of mine approached me with a problem I still can't find an answer. He has a VB6 Graph app plotting a chart that uses some DLL files for