| View previous topic :: View next topic |
| Author |
Message |
b0b15950 General User

Joined: 06 Nov 2005 Posts: 7
|
Posted: Tue Nov 08, 2005 3:13 pm Post subject: Can I make an application from Base? |
|
|
I have made a database with forms, subforms and reports. I have made a similar one in (close your eyes - Access)
With the latter I can package the database with a run time module to make a stand alone application, free of (hand over eyes again, Microsoft Office).
Can I make a similar Base application that can run outside of OOo? I want to do this to simplify the application for users that have no OOo experience.
Regards
Bob |
|
| Back to top |
|
 |
DrewJensen Super User


Joined: 06 Jul 2005 Posts: 2616 Location: Cumberland, MD
|
Posted: Tue Nov 08, 2005 5:15 pm Post subject: |
|
|
No, there is no exact duplicate to the run-time packaging as with MS Access (no hands over eyes needed with me, it is just another package by a different vendor - is it not)
However, you can do this.
Create your application using libraries - forms, etc. Then create a shortcut that will start your application, you can run a macro from a command line afterall, and in this shortcuts command line actually launch a seperate instance of OO. Within your applicaiton you could disable the normal menu's, supplying your own.
In-fact given that OO is a monolithic application as opposed to MSO which is not, there are risks invlolved with Base application that are non existant for an MS Access equivilant. In other words crash your Base application and if you are just running it without starting the seperate instance you may crash a writer and calc document also...my guess is that would be a very fast path to being called a very naughty name...or worse.
I can't tell you exactly how from experience as I haven't done it yet..but I sure know it is the only way I would put out anything serious with Base..
I can pass on this from an email posting at the OO API Dev. list, I received this after complaing about how you can't launch a second instance of the application...
| Quote: |
It's an UL that you can't run two OOo instance at a time, the problem is
that two running instances must access different *user* installation
directories (user profiles) because OOo doesn't allow a concurrent
access to this directory.
You always can run a second instance of OOo from the same OOo
installation directory by having a second user profile at $URL and
starting the second OOo instance with "-env:UserInstallation=$URL".
If you don't like the command line hassle you can also have a complete
second installation of OOo 2.0 on your machine with its own user
profile preconfigured to $URL (instead of the default).
To let this installation of OOo know about $URL you must change the
"UserInstallation" entry in the file bootstrap.ini/bootstraprc in your
second installation to point to this special user profile. Of course
this second installation of OOo does not have a system integration (only
one instance can have this).
To create a second OOo2.0 installation you have two options:
Just copy a complete OOo2.0 installation somewhere else(!).
On windows you also can install a second copy of OOo2.0 with setup /a.
Best regards,
Mathias
-- Mathias Bauer - OpenOffice.org Application Framework Project Lead
|
So, I can't see going the whole second installation route, but creating a seperate user directory structure for your application shouldn't be too much to do. I am sure the folks on the API board here would be able to help with the specifics. _________________ Blog - http://baseanswers.spaces.live.com/ |
|
| Back to top |
|
 |
b0b15950 General User

Joined: 06 Nov 2005 Posts: 7
|
Posted: Wed Nov 09, 2005 11:22 am Post subject: |
|
|
Thanks Drew, that succinct answer has saved me a lot of time. Do you know of anywhere where Base applications can be posted so that we can share experience by viewing/sharing each other's database applications?
I have one for starters demonstrating using a Table Control in a form to create a sub form (of general use, I'd say) |
|
| Back to top |
|
 |
makeijan General User

Joined: 25 Oct 2005 Posts: 17 Location: Galiza
|
Posted: Thu Nov 17, 2005 3:51 am Post subject: Here, why not? |
|
|
I'd love to see that example. _________________ Forzas do ar, terra, mar e lume, a vos fago esta chamada:
si e verdade que tendes mais poder que a humana xente,
eiqui e agora,facede cos espritos dos amigos que estan fora, participen con nos desta queimada.
"Conxuro da Queimada" Extracto |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|