•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 426,811 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,926 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 3691 | Replies: 9
![]() |
•
•
Join Date: Jul 2006
Location: Bueam Cameroon
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hello to all,
Please can someone help me on how to create a databse at run-time.
I have created a database with Access that I am using with the VB application and it is working well.
But now, I want the user to be able to create another database that will have the same format as the one I created in Access.
Thanks in advance for your help!
Please can someone help me on how to create a databse at run-time.
I have created a database with Access that I am using with the VB application and it is working well.
But now, I want the user to be able to create another database that will have the same format as the one I created in Access.
Thanks in advance for your help!
•
•
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation:
Rep Power: 7
Solved Threads: 108
Make sure you read the tutorial in the sticky thread: http://www.daniweb.com/techtalkforums/thread41057.html, and another alternative is to actually copy the file (with VB) to a new location with a new name, and then have an SQL query to remove all the records....
•
•
Join Date: Jul 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hello to all,
Please can someone help me on how to create a databse in sql esrver 2000 .
I have created a database with Access that I am using with the VB application and it is working well.
But now, I want the user to be able to create another database that will have the same format as the one I created in Access.
Thanks in advance for your help!
Please can someone help me on how to create a databse in sql esrver 2000 .
I have created a database with Access that I am using with the VB application and it is working well.
But now, I want the user to be able to create another database that will have the same format as the one I created in Access.
Thanks in advance for your help!
•
•
Join Date: Feb 2007
Location: Bangalore,India
Posts: 1,290
Reputation:
Rep Power: 4
Solved Threads: 83
•
•
Join Date: Jul 2008
Posts: 31
Reputation:
Rep Power: 1
Solved Threads: 6
If you wanna new empty database with same table structure try different approach, make your empty database, stash it in folder or sub folder where your project is. Make button or any other command that will copy file from that directory to another one, change its name to whatever u like and make connection to that new and empty database.
You can do similar thing if u wanna make backup of existing database.
It maybe isn't professional approach but i think it could be good resolution.
Sorry to say these but if u need new tables
with new fields for same user who uses same application then communication between Software developer <-> software user has failed or u need to make better database.
I think that vb have some database creation functions.
You can all so try and find something in win api list.
And last i think hardest and longest make your own database file. You may or may not find some pdf file on internet that will guide you on file structure.
But those last three will be like your making your own access or any other database creation program and you will lose more time to learn users how to use it
you will really find anything in those databases and it will be unmaintainable.
And believe me no matter how simple u make it there will all ways be someone who will find it hard and user non friendly.
I hope that helped.
You can do similar thing if u wanna make backup of existing database.
It maybe isn't professional approach but i think it could be good resolution.
Sorry to say these but if u need new tables
with new fields for same user who uses same application then communication between Software developer <-> software user has failed or u need to make better database.
I think that vb have some database creation functions.
You can all so try and find something in win api list.
And last i think hardest and longest make your own database file. You may or may not find some pdf file on internet that will guide you on file structure.
But those last three will be like your making your own access or any other database creation program and you will lose more time to learn users how to use it
you will really find anything in those databases and it will be unmaintainable.
And believe me no matter how simple u make it there will all ways be someone who will find it hard and user non friendly.
I hope that helped.
•
•
Join Date: Feb 2007
Location: Bangalore,India
Posts: 1,290
Reputation:
Rep Power: 4
Solved Threads: 83
![]() |
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Run-Time error 5 (Visual Basic 4 / 5 / 6)
- How do i create a database in vb (Visual Basic 4 / 5 / 6)
- How to create a database during the runtime in VB6?! (Visual Basic 4 / 5 / 6)
- Need to know how to create a database that will generate a random number (Database Design)
- "Run time error, do you wish to debug?" (Web Browsers)
- Run-Time Error..? (Windows NT / 2000 / XP / 2003)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Printing a report
- Next Thread: Checkbox feature for Dbgrid



Linear Mode