Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database Migration

Status
Not open for further replies.

DragerDerek

Programmer
Aug 7, 2002
10
PH
I am trying to migrate an Access database to a SQL Server Database programmatically without the use of DTS in VB.Net.

The problem comes in Access OLE Data Type to Image Data Type of SQL Server. I have tried using the getbytes command of datareader. No errors during the migration but I am unable to view the image.

I found out that the way the access saved the image was setting focus on the image control and doing a paste command.

The question:

1. Can I automatically convert the OLE object into an Image data Type of SQL Server?

2. If not, is there a way to retrieve the OLE object and create a temporary using VB.Net?


Hope someone can help

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top