all groups > dotnet datatools > march 2008 >
You're in the

dotnet datatools

group:

Using a VB6 data control ?


Using a VB6 data control ? Scotty
3/10/2008 2:33:00 AM
dotnet datatools: Hi,

I am trying to use in a Dotnet project a control featured in VB6: data
control.

Here is what it looks like in vb6:

[URL=http://imageshack.us][IMG]http://img525.imageshack.us/img525/3605/
image1ib8.jpg[/IMG][/URL]
http://img525.imageshack.us/img525/3605/image1ib8.jpg

And in the form:

[URL=http://imageshack.us][IMG]http://img525.imageshack.us/img525/5966/
image2tk8.jpg[/IMG][/URL]
http://img525.imageshack.us/img525/5966/image2tk8.jpg

If I look into my project.vbp file, after inserting only a data
control, I can see that the dll it

refers to is

Reference=*\G{00025E01-0000-0000-C000-000000000046}#4.0#0#C:\...
\Microsoft

Shared\DAO\DAO350.DLL#Microsoft DAO 3.51 Object Library

Thus, I tried to load this dll into a dotnet project so I can use this
data control. I click on

"Project", "Add Reference", then in the COM tab, I select Microsoft
DAO 3.51 Object Library. Next, I

right click on my toolox and select "Choose Item" to add the data
control, but I can not find the

data control in the COM Components.

Does anyone know if it is possible in any way to create a Data control
in Vb.net please ?

Any help would be greatly appreciated

AddThis Social Bookmark Button