Salakhetdinov Shamil
mcp2004 at mail.ru
Sat Mar 17 16:50:30 CDT 2012
Hi John -- The code of the project I referred (http://accesspowertools.codeplex.com) uses MS Access Application instance as parameter so it can work "inside out" or "outside in" - whatever mode is more appropriate for a given context... Thank you. -- Shamil Sat, 17 Mar 2012 17:31:12 -0400 от jwcolby <jwcolby at colbyconsulting.com>: > Thanks Shamil. > > Is this designed to perform this from a C# project, or from an Add-in from inside of Access? > > My concept at this moment is to build a little C# application to grab any Access database and export > it out to text files and then pull the resulting text files into source control. My objective is > simple: > > 1) To get Access FEs and libraries into source. > 2) To have an environment where I can view differences between versions > 3) To have an environment where I can "build" a specific version of an access container. > > It seems to me that doing that from inside of Access is inside out. I don't want to have to add in > an add-in and get inside of Access to be able to do this, I want to have an application (C#) where I > can browse versions, see differences between versions etc., and if I desire "build" a version of > some Access object. > > I use libraries as well as my applications, and if I am on the outside looking in, then I can switch > seamlessly between any Access container, whether an FE or a library, pull anything into source > control, build anything out of source control. > > I can see where it would be useful to put changes to source from inside of Access as well. It seems > problematic to pull changes from inside of Access given how compile errors could arise as modules > change. > > I will be looking at your project though. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 3/17/2012 3:29 PM, Salakhetdinov Shamil wrote: > > Hi John -- > > > > But how DAO could help you to "export all the objects to text file"? > > Except to enumerate all the objects but such an enumeration can be done another way using AccesObjects AFAIKR... > > And except using DAO to export data and tabledefs but the latter can be more effectively(?) done using MS Access Application XML export feature... > > So DAO is to be used just to enumerate and export User Defined Properties?... > > > > Have a look - http://accesspowertools.codeplex.com/ - a while ago there was rather active discussion in AccessD/some work done on "EatBloat" C# clone. > > > > You can borrow some sources from that "frozen" project if you'll find them useful.. > > > > Thank you. > > > > -- Shamil > >