473,385 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Creating an MDB within ASP

Hi,

Is there a way to create an Access database file dynamically? I'd like to
write a single ASP file that checks for the existence of a particular MDB,
and if the MDB is not present then it should be created dynamically.

Regards,
Scott
Jul 19 '05 #1
4 1237
I think you can do that with ADOX functions but why not keep a "template"
mdb file and just copy it as needed.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Scott McNair" <sc**********@sfmco.takethispartout.com> wrote in message
news:Xn*******************@207.46.248.16...
Hi,

Is there a way to create an Access database file dynamically? I'd like to
write a single ASP file that checks for the existence of a particular MDB,
and if the MDB is not present then it should be created dynamically.

Regards,
Scott

Jul 19 '05 #2
"Mark Schupp" <ms*****@ielearning.com> wrote in news:uKBZJFLoEHA.2340
@TK2MSFTNGP11.phx.gbl:
I think you can do that with ADOX functions but why not keep a "template"
mdb file and just copy it as needed.


I would like to write a single ASP page that can be dropped into a web
folder, and then create the files it needs. It saves the need for a
bloated install file.
Jul 19 '05 #3
http://aspfaq.com/show.asp?id=2029

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Scott McNair" <sc**********@sfmco.takethispartout.com> wrote in message
news:Xn*******************@207.46.248.16...
"Mark Schupp" <ms*****@ielearning.com> wrote in news:uKBZJFLoEHA.2340
@TK2MSFTNGP11.phx.gbl:
I think you can do that with ADOX functions but why not keep a "template" mdb file and just copy it as needed.


I would like to write a single ASP page that can be dropped into a web
folder, and then create the files it needs. It saves the need for a
bloated install file.

Jul 19 '05 #4
"Steven Burn" <pv*@noyb.com> wrote in news:OSYEMcMoEHA.260
@TK2MSFTNGP10.phx.gbl:
http://aspfaq.com/show.asp?id=2029


Thanks, Steven. That's exactly what I was looking for.
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: php newbie | last post by:
Hello, I know there is sp_addrole and sp_droprole to create roles. I just found out that I could not use these two statements in an application because the application is interacting with the...
3
by: dave | last post by:
I am using vs.net 2003 on windows xp. After clicking on a project within my solution and selecting create new folder vs.net responds back with , the "directory already exists". If i look at the...
4
by: Nick | last post by:
Hi, I have a windows application, wherein the solution consists of 5 projects. When I try to create a setup and deployment project for this solution, I'm somehow unable to add anything in...
1
by: James | last post by:
I am creating a system whereby equipment is inspected. Data is inputted into an inspection form. However, any equipment that is not satisfactory needs to have spare parts ordered for that piece of...
1
by: VM | last post by:
I would like to display a child form inside of an MDI but the problem is that I'll be invoking that child form from within another child form. If I use this code: frmReportViewer frmReportViewer =...
3
by: EnglishMan69 | last post by:
Hello All, I am using VB2005 Beta 2 in VS 2005 and am running into a small problem. I need to be able to add a picture box to the main form from within a thread. The program goes to a web...
12
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
5
by: Dan | last post by:
Hi, I use the <asp:CreateUserWizardcontrol for creating memberusers. In that windows, one must provide an emailaddress. My question is: how can an user later change his emailaddress? Thanks...
1
by: kaens | last post by:
So, I have a class that has to retrieve some data from either xml or an sql database. This isn't a problem, but I was thinking "hey, it would be cool if I could just not define the functions for...
1
by: twdo | last post by:
OK. I am totally frustrated here. I have a setup project within Visual Studio. That setup project is calling a class library project by the use of Custom Actions. Within that class library (my...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.