PC Review


Reply
Thread Tools Rate Thread

re-launching application in VB.NET compact framework

 
 
=?Utf-8?B?VGFyaCBpaw==?=
Guest
Posts: n/a
 
      13th Jun 2005

Hi Everybody!!!

Does anybody know how I can launch a second instance of my application
in Pocket PC or Windows CE?? or if there is an event or something that I
could use when an application is re-launched????

I created an application that must do certain tasks everytime it is
launched, and stay resident in order to process calls from the local pocket
Internet explorer.

The problem that I currently have is that once the application is
launched, Microsoft Pocket PC does not launch a second instance. The only way
I have been able to achive this is when I put the first instance as
non-responsive.

Any help is greatelly appreicated!!!!

Tarh ik

 
Reply With Quote
 
 
 
 
David McNamee
Guest
Posts: n/a
 
      13th Jun 2005
"Tarh ik" <(E-Mail Removed)> wrote in message
news5C8E091-6FBE-4FFF-BF78-(E-Mail Removed)...
>
> Does anybody know how I can launch a second instance of my application
> in Pocket PC or Windows CE?? or if there is an event or something that I
> could use when an application is re-launched????


The Compact Framework does not permit two instances of the same application
to be running at once. This is to help preserve memory on the device. See
Alex Feinman's post for details on what happens when your app launches here:
http://blog.opennetcf.org/afeinman/P...E-0323B7F54B11

>
> I created an application that must do certain tasks everytime it is
> launched, and stay resident in order to process calls from the local
> pocket
> Internet explorer.
>


How are you getting Pocket IE to call a Compact Framework application?


--
David McNamee
Mobility Architect
developerLabs, Inc
http://www.developerLabs.NET/


 
Reply With Quote
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      13th Jun 2005
Not so far as I know (other than making a copy of the EXE, maybe, and
launching that). Why would you want to launch another instance? Why not
just command the current instance to do whatever you need done?

Paul T.

"Tarh ik" <(E-Mail Removed)> wrote in message
news5C8E091-6FBE-4FFF-BF78-(E-Mail Removed)...
>
> Hi Everybody!!!
>
> Does anybody know how I can launch a second instance of my application
> in Pocket PC or Windows CE?? or if there is an event or something that I
> could use when an application is re-launched????
>
> I created an application that must do certain tasks everytime it is
> launched, and stay resident in order to process calls from the local
> pocket
> Internet explorer.
>
> The problem that I currently have is that once the application is
> launched, Microsoft Pocket PC does not launch a second instance. The only
> way
> I have been able to achive this is when I put the first instance as
> non-responsive.
>
> Any help is greatelly appreicated!!!!
>
> Tarh ik
>



 
Reply With Quote
 
=?Utf-8?B?VGFyaCBpaw==?=
Guest
Posts: n/a
 
      13th Jun 2005

Hi David!!!

Thanks for the link!!! It has a good point of view about the problem.
I'm not exactly sure about how to proceed, though. Changing the public name
of the application at run-time sounds like changing the transmission oil
while driving. I'm kind of a newbie in this compact framework technology.

About your question in regards of how I am calling pocket IE, I'm using
TCP/IP sockets.

Thanks!!!

Tarh ik


"David McNamee" wrote:

> "Tarh ik" <(E-Mail Removed)> wrote in message
> news5C8E091-6FBE-4FFF-BF78-(E-Mail Removed)...
> >
> > Does anybody know how I can launch a second instance of my application
> > in Pocket PC or Windows CE?? or if there is an event or something that I
> > could use when an application is re-launched????

>
> The Compact Framework does not permit two instances of the same application
> to be running at once. This is to help preserve memory on the device. See
> Alex Feinman's post for details on what happens when your app launches here:
> http://blog.opennetcf.org/afeinman/P...E-0323B7F54B11
>
> >
> > I created an application that must do certain tasks everytime it is
> > launched, and stay resident in order to process calls from the local
> > pocket
> > Internet explorer.
> >

>
> How are you getting Pocket IE to call a Compact Framework application?
>
>
> --
> David McNamee
> Mobility Architect
> developerLabs, Inc
> http://www.developerLabs.NET/
>
>
>

 
Reply With Quote
 
=?Utf-8?B?VGFyaCBpaw==?=
Guest
Posts: n/a
 
      13th Jun 2005

Hi Paul!!!

Thanks for your info. I'm affraid that I need to detect when the
application has been re-launched, and do something about it.

Best Regards,

Manuel

"Paul G. Tobey [eMVP]" wrote:

> Not so far as I know (other than making a copy of the EXE, maybe, and
> launching that). Why would you want to launch another instance? Why not
> just command the current instance to do whatever you need done?
>
> Paul T.
>
> "Tarh ik" <(E-Mail Removed)> wrote in message
> news5C8E091-6FBE-4FFF-BF78-(E-Mail Removed)...
> >
> > Hi Everybody!!!
> >
> > Does anybody know how I can launch a second instance of my application
> > in Pocket PC or Windows CE?? or if there is an event or something that I
> > could use when an application is re-launched????
> >
> > I created an application that must do certain tasks everytime it is
> > launched, and stay resident in order to process calls from the local
> > pocket
> > Internet explorer.
> >
> > The problem that I currently have is that once the application is
> > launched, Microsoft Pocket PC does not launch a second instance. The only
> > way
> > I have been able to achive this is when I put the first instance as
> > non-responsive.
> >
> > Any help is greatelly appreicated!!!!
> >
> > Tarh ik
> >

>
>
>

 
Reply With Quote
 
Sergey Bogdanov
Guest
Posts: n/a
 
      13th Jun 2005
See this example:
http://www.sergeybogdanov.com/Sample...leInstance.zip

Take a look into the Load event, it demonstrates how to change the title
for a AGL PARK window (see Alex Feinman's article).

--
Sergey Bogdanov
http://www.sergeybogdanov.com


Tarh ik wrote:
> Hi David!!!
>
> Thanks for the link!!! It has a good point of view about the problem.
> I'm not exactly sure about how to proceed, though. Changing the public name
> of the application at run-time sounds like changing the transmission oil
> while driving. I'm kind of a newbie in this compact framework technology.
>
> About your question in regards of how I am calling pocket IE, I'm using
> TCP/IP sockets.
>
> Thanks!!!
>
> Tarh ik
>
>
> "David McNamee" wrote:
>
>
>>"Tarh ik" <(E-Mail Removed)> wrote in message
>>news5C8E091-6FBE-4FFF-BF78-(E-Mail Removed)...
>>
>>> Does anybody know how I can launch a second instance of my application
>>>in Pocket PC or Windows CE?? or if there is an event or something that I
>>>could use when an application is re-launched????

>>
>>The Compact Framework does not permit two instances of the same application
>>to be running at once. This is to help preserve memory on the device. See
>>Alex Feinman's post for details on what happens when your app launches here:
>>http://blog.opennetcf.org/afeinman/P...E-0323B7F54B11
>>
>>
>>> I created an application that must do certain tasks everytime it is
>>>launched, and stay resident in order to process calls from the local
>>>pocket
>>>Internet explorer.
>>>

>>
>>How are you getting Pocket IE to call a Compact Framework application?
>>
>>
>>--
>>David McNamee
>>Mobility Architect
>>developerLabs, Inc
>>http://www.developerLabs.NET/
>>
>>
>>

 
Reply With Quote
 
=?Utf-8?B?VGFyaCBpaw==?=
Guest
Posts: n/a
 
      16th Jun 2005

WOW!!!! Thanks!!!! I owe you one!!!

Tarh Ik

"Sergey Bogdanov" wrote:

> See this example:
> http://www.sergeybogdanov.com/Sample...leInstance.zip
>
> Take a look into the Load event, it demonstrates how to change the title
> for a AGL PARK window (see Alex Feinman's article).
>
> --
> Sergey Bogdanov
> http://www.sergeybogdanov.com
>
>
> Tarh ik wrote:
> > Hi David!!!
> >
> > Thanks for the link!!! It has a good point of view about the problem.
> > I'm not exactly sure about how to proceed, though. Changing the public name
> > of the application at run-time sounds like changing the transmission oil
> > while driving. I'm kind of a newbie in this compact framework technology.
> >
> > About your question in regards of how I am calling pocket IE, I'm using
> > TCP/IP sockets.
> >
> > Thanks!!!
> >
> > Tarh ik
> >
> >
> > "David McNamee" wrote:
> >
> >
> >>"Tarh ik" <(E-Mail Removed)> wrote in message
> >>news5C8E091-6FBE-4FFF-BF78-(E-Mail Removed)...
> >>
> >>> Does anybody know how I can launch a second instance of my application
> >>>in Pocket PC or Windows CE?? or if there is an event or something that I
> >>>could use when an application is re-launched????
> >>
> >>The Compact Framework does not permit two instances of the same application
> >>to be running at once. This is to help preserve memory on the device. See
> >>Alex Feinman's post for details on what happens when your app launches here:
> >>http://blog.opennetcf.org/afeinman/P...E-0323B7F54B11
> >>
> >>
> >>> I created an application that must do certain tasks everytime it is
> >>>launched, and stay resident in order to process calls from the local
> >>>pocket
> >>>Internet explorer.
> >>>
> >>
> >>How are you getting Pocket IE to call a Compact Framework application?
> >>
> >>
> >>--
> >>David McNamee
> >>Mobility Architect
> >>developerLabs, Inc
> >>http://www.developerLabs.NET/
> >>
> >>
> >>

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Can a compact framework application of full framework application hit a java webservice running on apache I_hate_coding_but_the_money_is_nice Microsoft Dot NET Compact Framework 3 9th Nov 2007 06:19 PM
Using Compact Framework controls on Full Framework Application tecktim.khoo@gmail.com Microsoft Dot NET Compact Framework 1 31st May 2006 08:49 PM
Start another command/application from a VB .NET Compact Framework application Catharina Hellum Breivik Microsoft Dot NET Compact Framework 2 24th Oct 2005 09:13 PM
New application: compact framework 1.1 or 2.0? Arnau Font Microsoft Dot NET Compact Framework 4 25th Apr 2005 06:59 PM
launching ie from compact framework Rustam Asgarov Microsoft C# .NET 2 24th Nov 2003 09:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:59 PM.