Link to home
Start Free TrialLog in
Avatar of ping1234
ping1234

asked on

create a blank mdb file??

Hi,

I would like to know how can I create a blank mdb file by code?
ASKER CERTIFIED SOLUTION
Avatar of hongjun
hongjun
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ping1234
ping1234

ASKER

Thanks for your help!
Unless your adding to an existing program that uses DAO I would use ADO for this.
You can use the ADOX object
You will need to add a reference to the "Microsoft ADO Ext. for DDL and Security"

You can then use the ADOX.Catalog and ADOX.Table objects to make your database.

If you want a complete explaination just let me know and i will post it.
Thanks for selecting my comment as the answer. But why the grade of "B"? It could have been an A grade since my comment solved your problem directly. Note that a grade A given does not differ from a grade B or C to a questionner. It will not affect your question points value but rather it only affect your grading record. Your grading record will be better if you shows consistent A grading awarding habit.

Please see Tip #11 - Grade quickly and fairly
http://cd-eepages.fateback.com/asking.html

Please explain the reason for the B grade.

hongjun
I am very sorry that I am fresh in using the Expert Exchange system, so I don't really know the grading system.

Is there any way to change the posed grade?

Well it wasn't the best way to solve the problem, so it only seems fitting that the grade was not an A.  That would imply that you not only solved the problem but did so in the best possible way.
It seems like the grade letters fly around a bit to easily, I am constently seeing people get A's for adhoc spagehtti code simply because it works.  Most of the time it doesnt actually solve the problem, it just puts a bandaid on it.  I don't think honqiun's code falls into that category, it was good and solved the problem, but I think that a grade of B is fair.
Why complain about a good grade?
Per agreement, grade changed.

Netminder
EE Admin
sorry, i didnt quite understand the grading system....honqion's code is definately an A

honquin: my appologie...