PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
run cf app on regular pc ?
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
run cf app on regular pc ?
![]() |
run cf app on regular pc ? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi NG,
what must I do to run a CF2.0 application on a standard windows xp pc? Isn't it enought to have the compact framework installed on it? My application runs fine on a pocketPC, but if I want to start it on my workstation, nothing happens. Thanks for hints and help. Rainer |
|
|
|
#2 |
|
Guest
Posts: n/a
|
As long as you have limited your application to types and members that exist
in both the full framework and compact framework, and you have compiled the application against the compact framework, then your application should get retargeted to the full framework on the desktop when it's run. You do not need the compact framework installed on the desktop to do this. However, I'd assume that you'd need the full .NET framework 2.0 installed on the desktop if your application was compiled against compact framework 2.0... but that's just an assumption... you may be able to get away with the full .NET framework 1.1 installed. -- Tim Wilson ..NET Compact Framework MVP "Rainer Queck" <Rainer@noemail.noemail> wrote in message news:%23l2hfhRGGHA.216@TK2MSFTNGP15.phx.gbl... > Hi NG, > > what must I do to run a CF2.0 application on a standard windows xp pc? > Isn't it enought to have the compact framework installed on it? > > My application runs fine on a pocketPC, but if I want to start it on my > workstation, nothing happens. > > Thanks for hints and help. > > Rainer |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Hi Tim,
> As long as you have limited your application to types and members that exist > in both the full framework and compact framework, and you have compiled the > application against the compact framework, then your application should get > retargeted to the full framework on the desktop when it's run. You do not > need the compact framework installed on the desktop to do this. However, I'd > assume that you'd need the full .NET framework 2.0 installed on the desktop > if your application was compiled against compact framework 2.0... but that's > just an assumption... you may be able to get away with the full .NET > framework 1.1 installed. > This is what I thought. Since I have Visual Studio 2005 Installed, and developed the PockePC app with it on my workstation, I would expect, that i can runn it there. But as stated before, as soon as I "double click" on it, nothing happens. No error message, nothing. Also the task manager does not show this app running. Regards Rainer |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Have you tried creating a very basic PPC application and running that on the
desktop? In other words, just create a new device project, compile it, and then go to the output directory and run the exe. If it works then it may indicate that there's something in your application that's causing it to terminate when run on the desktop. -- Tim Wilson ..NET Compact Framework MVP "Rainer Queck" <Rainer@noemail.noemail> wrote in message news:uKiB50RGGHA.3120@TK2MSFTNGP10.phx.gbl... > Hi Tim, > > > As long as you have limited your application to types and members that exist > > in both the full framework and compact framework, and you have compiled the > > application against the compact framework, then your application should get > > retargeted to the full framework on the desktop when it's run. You do not > > need the compact framework installed on the desktop to do this. However, I'd > > assume that you'd need the full .NET framework 2.0 installed on the desktop > > if your application was compiled against compact framework 2.0... but that's > > just an assumption... you may be able to get away with the full .NET > > framework 1.1 installed. > > > This is what I thought. > Since I have Visual Studio 2005 Installed, and developed the PockePC app > with it on my workstation, I would expect, that i can runn it there. > But as stated before, as soon as I "double click" on it, nothing > happens. No error message, nothing. Also the task manager does not show > this app running. > > Regards > Rainer |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Hi Tim
> Have you tried creating a very basic PPC application and running that on the > desktop? In other words, just create a new device project, compile it, and > then go to the output directory and run the exe. If it works then it may > indicate that there's something in your application that's causing it to > terminate when run on the desktop. Just tried that. And yes you are right. the "other" PocketPC applictaion works fine on my workstation. I guess I will no have to search for what the reason to my problem could be in my project.... hm... Thanks for your hints. At least I now know where to search for the problem. Rainer |
|
|
|
#6 |
|
Guest
Posts: n/a
|
Can you post your code? If not let us know (or me directly if you prefer)
what the problem was. You should have at least got an exception if you were using CF-specific functionality (either inherent or your own e.g. coredll pinvokes). CF-specific functionality out of the box: http://www.danielmoth.com/Blog/2005...ict-subset.html Cheers Daniel -- http://www.danielmoth.com/Blog/ "Rainer Queck" <Rainer@noemail.noemail> wrote in message news:OY%23Ps%23RGGHA.344@TK2MSFTNGP11.phx.gbl... > Hi Tim > > >> Have you tried creating a very basic PPC application and running that on >> the >> desktop? In other words, just create a new device project, compile it, >> and >> then go to the output directory and run the exe. If it works then it may >> indicate that there's something in your application that's causing it to >> terminate when run on the desktop. > Just tried that. And yes you are right. the "other" PocketPC applictaion > works fine on my workstation. > I guess I will no have to search for what the reason to my problem could > be in my project.... hm... > > Thanks for your hints. At least I now know where to search for the > problem. > > Rainer |
|
|
|
#7 |
|
Guest
Posts: n/a
|
Hi Daniel,
> Can you post your code? If not let us know (or me directly if you prefer) > what the problem was. You should have at least got an exception if you were > using CF-specific functionality (either inherent or your own e.g. coredll > pinvokes). I am still looking for the reason. As it looks for the moment it must be some "visual component" out of the tool box. in the main forms constructor I placed some debugging code: MessageBox.Show("OekoTempPPC 1"); InitializeComponent(); MessageBox.Show("OekoTempPPC 2"); "OekoTempPPC 1" message box is shown, the second one not. I will continue this procedure inside "InitializeComponent()" to find out which component it is.... Regards Rainer > > CF-specific functionality out of the box: > http://www.danielmoth.com/Blog/2005...ict-subset.html > > Cheers > Daniel > -- > http://www.danielmoth.com/Blog/ > > "Rainer Queck" <Rainer@noemail.noemail> wrote in message > news:OY%23Ps%23RGGHA.344@TK2MSFTNGP11.phx.gbl... > >>Hi Tim >> >> >> >>>Have you tried creating a very basic PPC application and running that on >>>the >>>desktop? In other words, just create a new device project, compile it, >>>and >>>then go to the output directory and run the exe. If it works then it may >>>indicate that there's something in your application that's causing it to >>>terminate when run on the desktop. >> >>Just tried that. And yes you are right. the "other" PocketPC applictaion >>works fine on my workstation. >>I guess I will no have to search for what the reason to my problem could >>be in my project.... hm... >> >>Thanks for your hints. At least I now know where to search for the >>problem. >> >>Rainer > > > |
|
|
|
#8 |
|
Guest
Posts: n/a
|
hm.... strange.
as stated before, I added some code to the "InitializeComponend" like: private void InitializeComponent() { System.Windows.Forms.MessageBox.Show("InitializeComponent 1"); this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OekoTempPPC)); .... But this messagebox doesn't even pop up any more! Why? Regards Rainer |
|
|
|
#9 |
|
Guest
Posts: n/a
|
If you post a sample I can look at it. Of course, you verified that you are
not using anything CF-specific in the project, right? Cheers Daniel -- http://www.danielmoth.com/Blog/ "Rainer Queck" <Rainer@noemail.noemail> wrote in message news:%23qEibTSGGHA.1628@TK2MSFTNGP12.phx.gbl... > hm.... strange. > > as stated before, I added some code to the "InitializeComponend" like: > > private void InitializeComponent() > { > System.Windows.Forms.MessageBox.Show("InitializeComponent 1"); > this.components = new System.ComponentModel.Container(); > System.ComponentModel.ComponentResourceManager resources = new > System.ComponentModel.ComponentResourceManager(typeof(OekoTempPPC)); > ... > > But this messagebox doesn't even pop up any more! Why? > > Regards > Rainer |
|
|
|
#10 |
|
Guest
Posts: n/a
|
Hi Daniel,
> not using anything CF-specific in the project, right? I think I do... How about the DataGrid ? Rainer |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

