E
Eric B.
Hi,
My knowledge of VBA development is still rather limited, so forgive me if
this sounds like a silly question. I am trying to figure out how to use
version control software (CVS or VSS) during the development my my
Access/VBA application.
I have only recently started programming in MS VBA, and am still somewhat
limited in my knowledge of VB (the last time I touched VB was 10+ yrs ago).
The only way I know to access the Access VBA code is to open the mdb in
access, and from there open the Visual Basic Editor (version 6.5). When I
save the VB code, it saves it within the MDB file.
I have used CVS for years already (and VSS prior to my switch to CVS) with
my PHP, HTML & Java code and love it. Recently, however, I've been starting
to work with VBA apps - specifically, an MS Access database application.
I'm stuck, however, trying to understand if/how there is a way to use source
control on my VBA code in the MDB application.
I realize that I can check in and check out the entire MDB every time, but
that seems extremely inefficient - both in terms of space (it is a binary
file, so would have to checkin over a meg every time), and in terms of
source control - I won't be able to see differences between versions, or
roll back and forth easily, etc... Especially when there are several
modules & classes, it would mean that I can't source control any 1 class or
module individually.
Does anyone have any ideas how (or even if) it is possible to use Source
Control on VBA files? I can only imagine this would apply to any MS
product - like Excel, Access, Word, etc.... I can't imagine all the VBA
applications out there were designed without it...
Thanks for any advice or suggestions you can offer!
Eric
My knowledge of VBA development is still rather limited, so forgive me if
this sounds like a silly question. I am trying to figure out how to use
version control software (CVS or VSS) during the development my my
Access/VBA application.
I have only recently started programming in MS VBA, and am still somewhat
limited in my knowledge of VB (the last time I touched VB was 10+ yrs ago).
The only way I know to access the Access VBA code is to open the mdb in
access, and from there open the Visual Basic Editor (version 6.5). When I
save the VB code, it saves it within the MDB file.
I have used CVS for years already (and VSS prior to my switch to CVS) with
my PHP, HTML & Java code and love it. Recently, however, I've been starting
to work with VBA apps - specifically, an MS Access database application.
I'm stuck, however, trying to understand if/how there is a way to use source
control on my VBA code in the MDB application.
I realize that I can check in and check out the entire MDB every time, but
that seems extremely inefficient - both in terms of space (it is a binary
file, so would have to checkin over a meg every time), and in terms of
source control - I won't be able to see differences between versions, or
roll back and forth easily, etc... Especially when there are several
modules & classes, it would mean that I can't source control any 1 class or
module individually.
Does anyone have any ideas how (or even if) it is possible to use Source
Control on VBA files? I can only imagine this would apply to any MS
product - like Excel, Access, Word, etc.... I can't imagine all the VBA
applications out there were designed without it...
Thanks for any advice or suggestions you can offer!
Eric