Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2008 [RESOLVED] Upgrade VB6 to VB.NET - new pc, problem with libraries - msdatasrc.DataSource require

$
0
0
Hi!

I just moved my project from one pc to a new one, and I cannot solve this issue:
Code:

Error        126        Reference required to assembly 'MSDATASRC, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' containing the type 'msdatasrc.DataSource'. Add one to your project.        C:\pathtoform\myForm.Designer.vb        646        9
The error line contains this:
Code:

grid.DataSource = r
with the error marked on left part.

In the project properties I have a reference to "Microsoft Data Source Interfaces for ActiveX Data Binding Type Library" called Interop.MSDATASRC.dll.
This is the only reference that I can link to the error, but obviously this is not sufficient.

The project includes also a reference to DDSharpGridOLEDB2U, which is the base class for the grid in the error rising code.
Code:

Me.grid2 = New AxDDSharpGridOLEDB2U.AxSGGrid

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>