Originally posted by: BingBongWongFooey
I'm sure VB has some means to serialize objects and write them to a file, that might be more appropriate than a DB.
Originally posted by: oog
Originally posted by: BingBongWongFooey
I'm sure VB has some means to serialize objects and write them to a file, that might be more appropriate than a DB.
VB .NET has great support for serializing objects. VB does not. It is possible to write your own serialization for each object, but since VB is mostly built around COM concepts, you end up with a bunch of interfaces that generally don't have a good way of inspecting the contents of an object.
Originally posted by: tboneuls
I have Visual Basic 6. I want to distribute this program to computers on seperate networks, and it needs to be as small as possible. Is there some sort of built in database managing in VB?
Originally posted by: Descartes
Originally posted by: oog
Originally posted by: BingBongWongFooey
I'm sure VB has some means to serialize objects and write them to a file, that might be more appropriate than a DB.
VB .NET has great support for serializing objects. VB does not. It is possible to write your own serialization for each object, but since VB is mostly built around COM concepts, you end up with a bunch of interfaces that generally don't have a good way of inspecting the contents of an object.
Not true. Serialization is just a formal name for a concept, and you can just as easily stream the contents of a Collection in VB to a file as you can in VB.NET. The utility of serialization in .NET is obviously greater than that of VB, because VB has most traditionally been used in the context of database applications.
Originally posted by: tboneuls
I do have access to Access (hmmm). How easy is it to integrate and modify the database from within VB? This is one aspect of VB I have not yet had to deal with.
Originally posted by: Descartes
To manipulate the database you'll be needing to use ADO. It would also be helpful to have a handle on SQL, but ADO abstracts the CRUD (create, read, update, delete) operations traditionally performed with SQL. Using ADO isn't something you'll be able simply ask how to do, so I suggest researching the link above. Is this a new program? Have you considered .NET? ADO and VB are unfortunately considered almost antiquated, so it would be more beneficial for you to invest your time into learning .NET and ADO.NET.Originally posted by: tboneuls I do have access to Access (hmmm). How easy is it to integrate and modify the database from within VB? This is one aspect of VB I have not yet had to deal with.
Originally posted by: tboneuls
Why is VB 6 considered so outdated? An will ADO work well in VB6?Originally posted by: DescartesTo manipulate the database you'll be needing to use ADO. It would also be helpful to have a handle on SQL, but ADO abstracts the CRUD (create, read, update, delete) operations traditionally performed with SQL. Using ADO isn't something you'll be able simply ask how to do, so I suggest researching the link above. Is this a new program? Have you considered .NET? ADO and VB are unfortunately considered almost antiquated, so it would be more beneficial for you to invest your time into learning .NET and ADO.NET.Originally posted by: tboneuls I do have access to Access (hmmm). How easy is it to integrate and modify the database from within VB? This is one aspect of VB I have not yet had to deal with.