Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Multiple instances of the IDE - possible?

 
Post new topic   Reply to topic    Forum Index -> ZBasic IDE
Author Message
stevech



Joined: 23 Feb 2006
Posts: 657

Posted: 31 January 2007, 6:00 AM    Post subject: Multiple instances of the IDE - possible? Reply with quote

Is there a configuration setting to permit 2+ instances of the ZBasic IDE? Each would use a different COM port.

As is, each attempt to launch the IDE again is ignored.
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 31 January 2007, 6:09 AM    Post subject: Reply with quote

On the Options menu, uncheck "Open Files Here". You should then be able to launch another instance. You can make this choice permanent by adding the line below to your User Options file:
Code:
check.if.already.open=0

It is likely that issues will arise when trying to run multiple instances since they will all be trying to use the same data in the User Options file.
Back to top
stevech



Joined: 23 Feb 2006
Posts: 657

Posted: 31 January 2007, 7:10 AM    Post subject: Reply with quote

ah yes - I recall that there are work session (project) specific edits of the user options file made automatically by the IDE - so two IDE instances would not work, e.g., if different target processors were in use.
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 31 January 2007, 21:06 PM    Post subject: Reply with quote

stevech wrote:
I recall that there are work session (project) specific edits of the user options file made automatically by the IDE - so two IDE instances would not work, e.g., if different target processors were in use.

I've created an experimental version of the IDE that allows the User Properties filename to be specified on the command line. With this, you can create several shortcuts to invoke a new instance using a different User Properties file. To set this up, create a new shortcut and in its properties, set the Target field to something like:
Code:
"C:\Program Files\ZBasic\IDE\ZBasicIDE.exe" -check.if.already.open=0 -userProperties:"user2.properties"

The properties filename only requires quotes if it contains spaces. Note that this specifies only the filename and extension of the User Properties file. The pathname will always be the "Documents and Settings" directory of the current user.

Also note that the command line argument "-check.if.already.open=0" makes it unnecessary to have that property set in the primary instance.
Back to top
stevech



Joined: 23 Feb 2006
Posts: 657

Posted: 01 February 2007, 2:54 AM    Post subject: Reply with quote

I'll give it a try. Two+ IDEs going concurrently is occasionally useful.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic IDE Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group