Groups | Blog | Home
all groups > dotnet windows forms databinding > april 2008 >

dotnet windows forms databinding : Using a VB6 data control ?


Scotty
3/10/2008 2:33:00 AM
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

Scott M.
4/7/2008 5:27:45 PM
I've got to ask, why in the world would you want to use DAO and the Data
Control?!

To me that just sounds like throwing out my calculator and using an abacus.


[quoted text, click to view]

AddThis Social Bookmark Button