| | |||||||
|
Welcome to the YD Scuba forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
| Technology: Discuss Learning microsoft visual basic in the Non-Diving Related Forums forums: Part of my plan for world control includes learning MS Vb as used within Access databases (and also Excel Word ... |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| Ian, I tend to find I look up the VBA bits I need as and when. Unfortunately I have to come up with quick and dirty code (RAD doesn't get a look in), code reuse quite often. I find sites like Experts Exchange very useful for particular issues. Adrian
__________________ Interviewer; 'Think of a number between 1 and 10' Me; 'e' YD Fundraising 2007/8 - Amount Raised Royal National Lifeboat Institution UK Transplant Register Exeter BSAC |
| ||||
| Ian Just a thought (pendantic though it is) but VB & VBA are seperate entities and the difference primarily is that VBA is integrated with the applications such as Word, Outlook, Access etc and is exceptionally useful for automating processes, displaying user forms and dialogs and performing calculations. For example, I designed a database for a customer some years back and with VBA locked it out after 30 something executions as it was labelled demo. VB is a whole new beast and quite frankly, I went down the open source route for two reasons: cost and support. However, open source, while quick and easy can sometmes be looked upon (certainly by the VB & VB.Net community) as the poor man's coding. I know there are guys like Jay and Alan who use both OS and closed (if that's the correct term) but ultimately the choice is yours. I enjoy the coding side of things whichever language I use because ultimately it's problem solving and providing solutions. With more languages under your belt such as VB & VBA you simply add more tools to the box
__________________ Huddersfield Dive Club : 232 Bar, Find Gas Fills : Website Design Tenerife Cogito Ergo Sum |
| ||||
| Vb VBA Its getting to grips with vba that interests me. I dabble in IT, beancounter with database skills, but cannot get to grips with vba, hence needing the course of some sort. I have seen people rewrite "my" access systems under vb and quite frankly the return on effort was very low. I create relatively small applications. Say 6-15 tables. |
| ||||
| There are loads of OLD books about that will help teach you VB, John Smily's book Learn to Program with Visual Basic will help you get started. it includes all you need for creating a real live program with database access. Ron |
| ||||
| Quote:
Cheers/Nic (VB and VBA (Access/Excel/Word) coding since 1998)
__________________ Quote:
Don't wrestle with a pig. You'll only get as dirty as the pig & the pig likes it |
| ||||
| I would say the biggest difference between VB and VBA is that you can't compile VBA to an .exe It tied the application you created it in. VBA syntax can be a bit peculiar. For Access development specifically I would look at the Office Development Kit - if it's still available. It helps to have a general idea of programming before trying to do anything major in VBA. Even then you can end up in a corner with it. For automation it's pretty good, but Access is the weakest (IME). I end up wanting to do stuff it won't do, so back to VB it is then.
__________________ www.divesearch.co.uk www.bluewaterscuba.co.uk "Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day." - anon "If you resolve to give up smoking, drinking and sex, you don't actually live longer; it just seems longer." - Clement Freud |
| Thread Tools | |
| Display Modes | |
| |
| | ||