OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Export macro and dialog

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
BDRJ
General User
General User


Joined: 02 Jul 2008
Posts: 18
Location: Italy

PostPosted: Wed Jul 16, 2008 7:52 am    Post subject: Export macro and dialog Reply with quote

I have done a program in VB, composed by 5 macro and 1 dialog.
How can i transpose all my macro and my dialog to another computer? Should I copy the basic text in another computer's macro's space and create another dialog? Or what?

Thanks
Back to top
View user's profile Send private message
QuazzieEvil
Super User
Super User


Joined: 17 Jan 2007
Posts: 599
Location: Houston, TX

PostPosted: Wed Jul 16, 2008 5:44 pm    Post subject: Reply with quote

by VB do you mean OOBasic, or actually MS Visual Basic?

If you mean you have a basic library with modules and dialogs, you can export (from the macro organizer) the library. you can either export as Basic Library or as extension. the extension is the simplest to install in in another machine. from the same macro organizer you can also import a basic library.
_________________
Free Docs @ http://www.baseprogramming.com/resources.html
Book @ lulu.com http://www.lulu.com/content/2455551
Back to top
View user's profile Send private message Visit poster's website
bvdbos
OOo Enthusiast
OOo Enthusiast


Joined: 23 Nov 2003
Posts: 153
Location: Asten Netherlands

PostPosted: Wed Jul 16, 2008 8:43 pm    Post subject: Reply with quote

I found the exporting library's very confusing too but luckily there the basicaddon-builder:
http://wiki.services.openoffice.org/wiki/Extensions_Packager
_________________
gr

Bas
Back to top
View user's profile Send private message Visit poster's website
BDRJ
General User
General User


Joined: 02 Jul 2008
Posts: 18
Location: Italy

PostPosted: Fri Jul 18, 2008 2:02 am    Post subject: Reply with quote

The program is wrote in OOBasic.

I haven't done any try but I have another question... is normal that my Module 1 for macro implementing, when I try to copy more code in that, tell me "The text inserted exceed the biggest lenght consented by the field. The text has been cut." ???

There are any limitation to implementation lenght?

Thanks
Back to top
View user's profile Send private message
DVezina
OOo Advocate
OOo Advocate


Joined: 29 Sep 2006
Posts: 248
Location: Orlando

PostPosted: Fri Jul 18, 2008 11:57 am    Post subject: Reply with quote

In earlier versions of OO 2.4, cut and paste in any module at any size would produce the error.

In the latest OO 2.4.1, you still get the error if your module is over a certain size (16K I think). According to the OO Issue list, it is marked for 2.4.2.

I went back to OO 2.2
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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