문제

I have a legacy system I'm porting from VB 6 to C# and am at the stage where I am grabbing data from the old application's database which is in Access and porting it over to the new database in Sql Server.

Several fields in the access database are string types and contain the contents of a VB 6 PropertyBag. It's basically used like a dictionary in C# with key value pairs. There is the name of a property and then its value which is usually a number or maybe a string.

Anybody have any success in translating VB 6 PropertyBag data?

Thanks.

도움이 되었습니까?

해결책

Why not just use a VB6 program to read the old database and write it to the new database? Why bother trying to read the old database in C#? It sounds very difficult.

If you really must write the new database in C#, then write a VB6 COM DLL to read the old database and call it from the C#.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top