logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Cody  
#1 Posted : Friday, December 14, 2012 5:33:42 PM(UTC)
Cody

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/3/2007(UTC)
Posts: 32

Hi Guys,

I am getting the following message running version 11 EOD on windows 7

"Metastock has determined that there is another copy of the program running. As only one instance of the program may run at a time, this one will exit"

I have tried shutting down the computer and there is no obvious instance of the program running can anyone help.

Thank you.

oscarrob  
#2 Posted : Thursday, December 20, 2012 11:31:50 AM(UTC)
oscarrob

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/22/2009(UTC)
Posts: 2

Ditto. I get this with Metastock 12 and Eikon almost every time I load it
wabbit  
#3 Posted : Thursday, December 20, 2012 5:13:09 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
It sounds to me like there is an issue with either the shortcut, or the user (sure you're not triple clicking shortcut icons instead of double clicking etc?)

One method of fixing such things in Windows systems is to create a short batch file to execute a few commands first, then finally to launch the required application.

Try something like this:

Code:

@echo off

REM Check to see if an instance is already running
tasklist|find /i "mswin.exe"
if ERRORLEVEL 1 goto :KILLED

REM if an instance is found, kill the process
TASKKILL /F /IM "mswin.exe"
if ERRORLEVEL 0 goto :KILLED

REM wait until the OS has killed the process
SET /A COUNTER=0
 
:LOOP
sleep 1s
tasklist|find /i "mswin.exe"
if ERRORLEVEL 1 goto :KILLED
TASKKILL /F /IM "mswin.exe"
if ERRORLEVEL 0 goto :KILLED
SET /A COUNTER=%COUNTER%+1
if %COUNTER%<=10 goto :LOOP
SET COUNTER=
goto :EOF

:KILLED 
REM the kill was successful, launch a new instance of the application
START /D"C:\Program Files\Equis\MS9" mswin.exe /l /e
EXIT


Even though we now live in a GUI world, the old-skool DOS environment still has some kick-ass functionality!


wabbit [:D]

John S  
#4 Posted : Friday, December 21, 2012 11:02:32 AM(UTC)
John S

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/9/2012(UTC)
Posts: 169

If you don't won't to write a batch file, you can also kill the mswin.exe process from within the Task Manager.

Scott (aka Wabbit). You're a stud ! I hope everyone appreciates the time and expertise Scott puts into this forum!

--john
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.