Ask Experts Questions for FREE Help!
Ask    ||    Answer
 
Advanced  
 

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Databases > Access   »   convert mdb vba

 
Thread Tools Search this Thread Display Modes
Question
 
 
#1  
Old Oct 9, 2009, 09:06 PM
jafryar
New Member
jafryar is offline
 
Join Date: Oct 2009
Posts: 2
jafryar See this member's comment history on his/her Profile page.
convert mdb vba

how can I convert an Access mdb file to vba code?

Reply With Quote
 
     

Answers
 
 
Old Oct 10, 2009, 05:39 AM   #2  
Computer Expert and Renaissance Man
ScottGem is offline
 
ScottGem's Avatar
 
Join Date: Jan 2003
Location: LI, NY - USA
Posts: 33,677
ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.
Pay to call ScottGem for advice ($.75/min)
Call ScottGem via Skype™
I'm sorry but that question makes absolutely no sense. I'm afraid you don't have any understanding of how VBA works within Access.

An MDB file is a container. It contains any or all of the main Access objects (tables, queries, forms, reports, macros and modules). Each of those objects are containers themselves that contain other Access objects.

Forms, reports and modules are containers that may or may not contain VBA code. VBA code is contained in class modules that are either attached to a form or report, or stand alone in a global module.

So there is no way to convert an MDB file to to VBA code since VBA code is a component of an MDB file.

So, I suspect you are asking a different question, but I'm not sure what it is.
  Reply With Quote
 
     
 
 
Old Oct 10, 2009, 07:37 AM   #3  
New Member
jafryar is offline
 
Join Date: Oct 2009
Posts: 2
jafryar See this member's comment history on his/her Profile page.
convert mdb to vba

I never claimed to be an expert or anything else on this subject...I just was looking for some answers, not smartasses!!! you people think you know everything and I'm tired of it! can't you just answer the question the best way you can without haggling whether the person on the other end is or in not an expert??? (maybe your head is too big)

Well let me just ask the expert how does anyone convert a .mdb file to visual basic? that's all I wanna know.
  Reply With Quote
 
     
 
 
Old Oct 10, 2009, 07:45 AM   #4  
Junior Member
KingsX is offline
 
KingsX's Avatar
 
Join Date: Dec 2007
Posts: 182
KingsX See this member's comment history on his/her Profile page.
Are you serious? There are a lot of really helpful people on here that are doing this for free. It sounds like you are talking about a single person?

In my experience, and its been a while since I've used VB, I don't think you can just convert an access database into a VB program. I always used Access databases as back ends for my VB programs, but that's about it.
  Reply With Quote
 
     
 
 
Old Oct 10, 2009, 08:17 AM   #5  
Computer Expert and Renaissance Man
ScottGem is offline
 
ScottGem's Avatar
 
Join Date: Jan 2003
Location: LI, NY - USA
Posts: 33,677
ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.
Pay to call ScottGem for advice ($.75/min)
Call ScottGem via Skype™
First, I'm sorry if you took my response incorrectly. I was not being a "smartass" and I DID answer your question in the best way I could. I could have just left it that the question made no sense and ask you to rephrase, but I didn't. Instead, I explained to you how VBA works within MDB files and why your question didn't make any sense. Obviously you are not an expert in this area, but I can't answer a question when it makes no sense. And I left it open for you to rephrase your question.

Second, You had ONE post in this forum prior to my answer and you just joined recently. So I do not understand how you can trash the experts here if you have never been here??

Third, Please do not start a new thread for a followup question. I understand that you are new to this site, but it pays to browse through the FAQs before posting to learn how this sites works so you can make the most of it. To ask a Followup question please use the Answer This Question options. I have merged your threads for you.

Finally, despite your rudeness and insults, I will answer your question. There are third party tools that claim to be able to convert Access object to VB code. Googling convert mdb to VB found a few possibilities like this one:

Access Converter, VB Edition - One button conversion from Microsoft Access to VB.

You need to understand that VBA is a superset of VB and has commands, properties and collections that are not in VB. So I'm not sure how well an MDB file can be converted. But the site I listed offers a free trial.

One last point. I don't pretend to think I know everything. Which is why I said I couldn't understand your question. But, if there is one area where I have considerable expertise its with Microsoft Access. That expertise has been recognized by Microsoft with their MVP award. I think you owe this site and myself in particular, an apology for your rudeness and insults.
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login





Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

 
Similar Sponsors


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Similar Threads
how to convert to .csv?
(1 replies)
iso convert to mp4
(2 replies)
How do I convert EAR to APR?
(1 replies)
Convert DVD into FLV
(0 replies)
How to convert?
(1 replies)

Search this Thread

Advanced Search

Bookmarks

Sponsors



Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 06:03 PM.