Re: Installing CF app on a desktop or server



Chris Tacke, eMVP wrote:
1. I can't seem to load what I'd think would be the appropriate CF, NETCFv2.wce4.x86.cab. Is there some special way to do this? The netcflaunch.exe doesn't work on Win32 apparently. I'm testing it on a clean install of XP SP 2 with no Framework installed.

You can't install the CF on a non-Windows CE device (like a desktop PC running XP or Vista). There are several reasons for this - like the fact that the CF engine would try calling Windows CE functions that don't exist or that exists in different locations (e.g. coredll v. kernel32).

CF assemblies are retargetable, meaning they will just run under the full framework. If you're not using any device-specific functionality in your app (unlikely but possible) then just run the binary and it will behave.

I had figured it would work with the full framework. I'm not doing anything with the device so it does work fine. This app just hits a database for the operator to see open orders and indicate their actions regarding those orders.

2. Another issue is we'd like to run this app from a server.

I don't understand exactly what you're asking. By "server" do you mean you want to run it on a PC with a Windows Server OS (2003, 2008)? If so, see #1 above. If you mean a CE device acting as a server then the CF has no code security in it at all, so there's nothing you have to do to make it work.

I mean Novell server. I guess the device cannot map a non-Windows server, but I'd think CE could map a Windows network drive like XP can. I assume as long as the device has the CF, it shouldn't be an issue if the exe is on a mapped drive. That brings up another stupid question I have:

Since these are old CE 4.2 units, how do I deploy CF 2.0 to them?

3. Is there a simple way to convert back and forth between a Smart Device WinForm project and a normal WinForm one? I ended up recreating the form all over and cutting and pasting the code.

Create an empty project of each and have them share all of the source files. No copy/paste needed.

That would be simple.

--

Sincerely,
Michael Ray
Topshot Systems LLC
.



Relevant Pages

  • Re: The future of various DB connection technologies and related technoloies
    ... evolving the platform (Windows) and evolving Office. ... programmer from Windows and Windows API and as a framework, ... SQL Server 2005 is a replacement for SQL ...
    (comp.databases.ms-access)
  • RE: Error copying oem files
    ... Solution was to boot on the Windows 2000 Server CD and do a clean install. ... If I had wanted to upgrade, ...
    (microsoft.public.win2000.general)
  • Re: Cannot re-install or uninstall .NET 1.1 on Windows 2003
    ... The 1.1 framework is indeed part of Server 2003, ... Phil Wilson [MVP Windows Installer] ... > Framework to install and function correctly. ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Changing 2000 to SBS2003Premium
    ... If you REALLY wish to do a clean install on the box and also preserve your ... > Thanks for the in formation, but the server is just one. ... >>For instructions on migrating to SBS 2003 from Windows ...
    (microsoft.public.windows.server.sbs)
  • Re: ADODB and .NET problem
    ... Thanks for your help Robert. ... I ended up doing a clean install of windows 2003 on our server and everything started to work. ...
    (microsoft.public.dotnet.framework.interop)