Programmatically Create new Access application ? 
Author Message
 Programmatically Create new Access application ?

Hello,
    Is it possible to create a new Access application from my Access
Visual Basic Code  and after that  programmatically again to copy
tables, queries, forms, reports, macros  and modules to the NEW created
Access application ?
And if it's possible would i be able to save the new  in file  ?
does anyone have a sample code or something ?

thanks in advance

Ivan



Sat, 24 Aug 2002 03:00:00 GMT  
 Programmatically Create new Access application ?
Yes, you can use CreateDatabase first, adn then call TransferDatabase for
each object.  Here's some rather old code, no doubt with bugs, but it should
give you an idea of how to approach this.  You will also find other
algorithms at www.deja.com posted to comp.databases.ms-access newsgroup in
the past.

< http://x42.deja.com/getdoc.xp?AN=395804212 >

 -- Dev

:Hello,
:    Is it possible to create a new Access application from my Access
:Visual Basic Code  and after that  programmatically again to copy
:tables, queries, forms, reports, macros  and modules to the NEW created
:Access application ?
:And if it's possible would i be able to save the new  in file  ?
:does anyone have a sample code or something ?
:
:thanks in advance
:
:Ivan
:



Sat, 24 Aug 2002 03:00:00 GMT  
 Programmatically Create new Access application ?
Thank you verry much ;)
Quote:

> Yes, you can use CreateDatabase first, adn then call TransferDatabase for
> each object.  Here's some rather old code, no doubt with bugs, but it should
> give you an idea of how to approach this.  You will also find other
> algorithms at www.deja.com posted to comp.databases.ms-access newsgroup in
> the past.

> < http://x42.deja.com/getdoc.xp?AN=395804212 >

>  -- Dev


> :Hello,
> :    Is it possible to create a new Access application from my Access
> :Visual Basic Code  and after that  programmatically again to copy
> :tables, queries, forms, reports, macros  and modules to the NEW created
> :Access application ?
> :And if it's possible would i be able to save the new  in file  ?
> :does anyone have a sample code or something ?
> :
> :thanks in advance
> :
> :Ivan
> :



Sun, 01 Sep 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Ability to create new queries in an Access XP Runtime application

2. Programmatically create a new module

3. Help::Custom Field in programmatically creating new item

4. Programmatically create new document and NOT run AutoNew?

5. Creating new visual control programmatically?

6. Creating new forms programmatically?

7. Creating new visual control programmatically?

8. how to programmatically create linked table w/o access

9. Creating new Access 97 database by VB code in Access 2000 module

10. Error creating Word.Application with New or CreateObject

11. Question: Create a new script or application, I'm clueless

12. Question: Wanting to Create a new application, but havn't got a clue

 

 
Powered by phpBB® Forum Software