Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Running multiple instances of an application

Reply
Thread Tools Display Modes

Running multiple instances of an application

 
 
DocAtom
Guest
Posts: n/a

 
      02-12-2008
I trade stocks with multiple brokers and therefore use multiple trading
applications. Two of my brokers use the same trading software, InstaQuote.
So it is necessary for me to run two instances of IQuote32.exe.

This used to work on my old XP machine. On my new Vista 64 machine I can
launch either version (they are branded so there is an obvious difference),
but when I attempt to launch the second instance it just activates the first
one.

Is there a setting that I need to change? Surely this is not something that
is no longer allowed! If I can't fix this quickly I will have to go back to
XP.

TIA,
John
 
Reply With Quote
 
 
 
 
Mark L. Ferguson
Guest
Posts: n/a

 
      02-12-2008
Try running the second instance with admin credentials.
Rightclick the Command prompt, click 'run as administrator', at the prompt
type:

start <path to app>

--
Was this helpful? Then click the Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales....htm#RateAPost

Mark L. Ferguson

..
"DocAtom" <> wrote in message
news:97C26C6B-3178-4508-8904-...
>I trade stocks with multiple brokers and therefore use multiple trading
> applications. Two of my brokers use the same trading software,
> InstaQuote.
> So it is necessary for me to run two instances of IQuote32.exe.
>
> This used to work on my old XP machine. On my new Vista 64 machine I can
> launch either version (they are branded so there is an obvious
> difference),
> but when I attempt to launch the second instance it just activates the
> first
> one.
>
> Is there a setting that I need to change? Surely this is not something
> that
> is no longer allowed! If I can't fix this quickly I will have to go back
> to
> XP.
>
> TIA,
> John


 
Reply With Quote
 
Rich
Guest
Posts: n/a

 
      02-12-2008

"DocAtom" <> wrote in message
news:97C26C6B-3178-4508-8904-...
>I trade stocks with multiple brokers and therefore use multiple trading
> applications. Two of my brokers use the same trading software,
> InstaQuote.
> So it is necessary for me to run two instances of IQuote32.exe.
>
> This used to work on my old XP machine. On my new Vista 64 machine I can
> launch either version (they are branded so there is an obvious
> difference),
> but when I attempt to launch the second instance it just activates the
> first
> one.
>
> Is there a setting that I need to change? Surely this is not something
> that
> is no longer allowed! If I can't fix this quickly I will have to go back
> to
> XP.
>
> TIA,
> John


Try finding out from either vender if it has command line swithes and add
what is needed to have two instances. It could be as simple as /m at the end
of the shortcut run line. I know because this happened to me and the
solution was so simple in the end.

Good luck, Rich


 
Reply With Quote
 
DocAtom
Guest
Posts: n/a

 
      02-12-2008


"Mark L. Ferguson" wrote:

> Try running the second instance with admin credentials.


Well, it sounded BRILLIANT, but alas, it did not work. Thanks just the same.
 
Reply With Quote
 
DocAtom
Guest
Posts: n/a

 
      02-12-2008


"Rich" wrote:

> Try finding out from either vender if it has command line swithes and add
> what is needed to have two instances. It could be as simple as /m at the end
> of the shortcut run line. I know because this happened to me and the
> solution was so simple in the end.
>
> Good luck, Rich
>
>
>

Good idea, I'm looking into it.
 
Reply With Quote
 
DarkSentinel
Guest
Posts: n/a

 
      02-12-2008
"DocAtom" <> wrote in message
news:9EBE1C3A-1FB4-43CB-9EBA-...
>
>
> "Rich" wrote:
>
>> Try finding out from either vender if it has command line swithes and add
>> what is needed to have two instances. It could be as simple as /m at the
>> end
>> of the shortcut run line. I know because this happened to me and the
>> solution was so simple in the end.
>>
>> Good luck, Rich
>>
>>
>>

> Good idea, I'm looking into it.


If that doesn't work, try going into the folder for each and creating a
shortcut on the desktop for each executable. I am running 3 instances of
mIRC like this. Two for my bots, and one for my general chat.

--
Sanity calms, but madness is more interesting.
http://www.lockergnome.com/darksentinel
Undo the munge to reply by email


 
Reply With Quote
 
AlexB
Guest
Posts: n/a

 
      02-13-2008
This is what I would try.


Create a duplicate folder for the second app. I mean you have to install if
from scratch (zip file) but prior to that you should try to rename the first
folder and the exec. I presume the folder is in Program Files. It is not
easy in Vista but doable.

Creating the second folder may be necessary if Vista does not allow you to
create a second instance since both app will have to tap different
databases. I do not know if it is acceptable for you or not? It may be
something the logistic of your trading operations won't allow to happen. In
this case it is just an idea to consider and discard.

On top of creating the second folder with the exec under a different name
you have to make sure that the ports for both instances ARE different.
Usually the API vendor stipulates the port or the range of ports to be used.
Usually a latitude of some variations is allowed. In quotetracker which I
use ports 16039 and 16040 are the ports to use although the user may change
that. If you are going to run two APIs at once then the port separation must
be preserved.

It is unclear how you are going to reconcile your separate but duplicate
databases if it is important.

Another option for you is to examine the options in your API if there is a
switch to allow two instances running. My quotetracker is so complex if I
need to activate a new function it is easier fro me to send them email than
look for it myself.

You can rename your IQuote32.exe in IQuote32first.exe.

An idiotic thought. you've got a 32 bit app on 64 bit machine. is it
possible that this does not allow you to launch the second instance? Perhaps
there is a newer IQuote64.exe?

>Surely this is not something that
> is no longer allowed!


Very, VERY unlikely.

The third option is to consider running a virtual PC and you may have
another instance in that separate virtual machine.

"DocAtom" <> wrote in message
news:97C26C6B-3178-4508-8904-...
>I trade stocks with multiple brokers and therefore use multiple trading
> applications. Two of my brokers use the same trading software,
> InstaQuote.
> So it is necessary for me to run two instances of IQuote32.exe.
>
> This used to work on my old XP machine. On my new Vista 64 machine I can
> launch either version (they are branded so there is an obvious
> difference),
> but when I attempt to launch the second instance it just activates the
> first
> one.
>
> Is there a setting that I need to change? Surely this is not something
> that
> is no longer allowed! If I can't fix this quickly I will have to go back
> to
> XP.
>
> TIA,
> John


 
Reply With Quote
 
mmedved@gmail.com
Guest
Posts: n/a

 
      02-14-2008
1. Separate install in a separate directory
2. ALLOWDUP command line parameter.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 Instances of IE running KWilson Windows Vista General Discussion 4 08-30-2007 11:14 PM
send multiple files to application piaqt Windows Vista General Discussion 0 06-02-2007 12:17 AM
Multiple Application Data Folders - Why & How Paul In Alaska Windows Vista General Discussion 3 06-01-2007 12:57 AM
svchosts.exe multiple instances LeeG Windows Vista Performance 3 12-09-2006 06:10 PM
Multiple instances of WMP? joel Windows Vista General Discussion 11 04-28-2006 06:53 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59