this may or may not be useful but are you doing:

##################
YourMIObj.RunMenuCommand 620
##################

after opening your werkspace?

it's a magic little command which seems to make the opening of a werkspace
extremely fast.

basically that command is the same as clicking WINDOW, then selecting window
number 1 as the focus.  what i found before using this command was that on
even the most basic werkspace my IM app would randomly choke, until i went
to another app and came back to it.  after i put that command in, everything
was fine, don't ask me how i came to putting that command in, coz i forget.

but no, i don't know why your werkspace saved wierd like that, but what
reminded me of this problem was trying to open 2 windows and only setting
focus to 1, which would cause MI in IM to freeze indefinitely as the
processor thread just wouldn't deal with it.

ash

-----Original Message-----
From: Cameron Crum [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 February 2003 4:50 AM
To: Lars V. Nielsen; [EMAIL PROTECTED]
Subject: Re: MI-L Workspaces in integrated mapping


Actually, I figured out the problem, but can't figure out why it happend. I
only had one map window open with all the tables on that
map when I saved the workspace. However, in viewing the WOR in a text
editor, at the end of the WOR it tried to open a second map
with only one table on it. Since the application only supports the one map,
my app basically dumped the first map created and only
put the one table specified in the second map from the WOR file on the
application mapspace. Once I deleted the second map from the
WOR, everything worked fine. I just don't understand how the second map got
in there. Is there a limit to how many layers can be
displayed on a single map?

Cameron

"Lars V. Nielsen" wrote:

> Hi Cameron,
>
> I've seen MI 7.0 use forever (many minutes) to open a workspace that 6.5
opens in a reasonable short time (some seconds).
> Apparently there's some dumb behaviour in v7 when one uses several raster
layers, perhaps if these are in different projections.
>
> I don't know if this is the situation in your case, but there are problem.
> And MICorp seems to be too preoccupied with .NET to release a patch
that'll solve it.
>
> Best regards/Med venlig hilsen
> Lars V. Nielsen
> GisPro, Denmark
> http://www.gispro.dk/
> http://hjem.get2net.dk/lars-online/
> WGS84: 10.20'40"E 55.20'20"N
> ----- Original Message -----
> From: "Cameron Crum" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 18, 2003 6:17 PM
> Subject: MI-L Workspaces in integrated mapping
>
> > All,
> >
> > I have an integrated mapping app that I am having a problem with oepning
> > large workspaces. If I save a workspace with only a few files, say 20 or
> > so, it will open back up fine in my integrated mapping app. But when I
> > add a lot of files, around 80 or so, some of the tables don't open back
> > up in  the intergrated mapping app with the correct thematic shading and
> > layer placement even though all this information is still in the
> > workspace. No errors were encountered either. Has anyone seen this
> > before and is there a fix for it? Using MI 7.0.
> >
> > Cameron
> >
> >
> > ---------------------------------------------------------------------
> > List hosting provided by Directions Magazine | www.directionsmag.com |
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > Message number: 5561
> >
> >


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 5563

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 5566

Reply via email to