Make C# Program to windows embadded professional 6.5 - c#

I would like to create a C # program to be inserted into a Falcon X3 (that is a barcod with a touch display with installed windows embedded professional 6.5) but when I've copy the project into device and I've tried to open this file it said that i have to install framework compact 2.0. So I download this file from microsoft but the size is not accepted by device. I read that there is cab file that are supported by this device but i don't find anything about this size to istall windows framework in cab size. I Have a Question, what can i do to make a program for this device?

Related

aygshell.dll missing on target device

I'm developing a MP3 player for Windows CE using Compact Framework, but my target device does not contains aygshell.dll which, in turn, contains the SndPlaySync function I want to use.
Looking here I downloaded a ZIP contains some of this DLL, but neither of them export this function!
Where can I found the ORIGINAL DLL?
Regards,
Daniele.
Aygshell.dll can be included in a Windows CE 5-6/Windows Embedded Compact 7 OS image but, IIRC, it is not included in the core OS license that is what most of devices carry. If you can modify the image and its licensing, then you can add the DLL to your OS image by just selecting the aygshell component from the OS catalog.
The Windows CE version does not provided 100% of the features supported by the Windows Mobile one, it was originally provided to improve the app compatibility between the two OS.
You are lost. AYGSHELL.DLL is only part of Windows Mobile/Embedded Handheld/PocketPC but NOT on any Windows CE device. The build of Windows CE is totally free to the OEM. They can include/exclude whatever they want. Whereas Windows Mobile is a standardized platform where the OEMs must let there builds ceritify by MS.
You may look around for a windows ce port of ffmpeg/ffplay or similar open-source software. Possibly these will also fail as the device has to provide audio drivers.

Connect to Win CE device From WPF/Win Form Application Without Installing Visual Studio

I am developing a tool to view information, Files and folders of wince device in WPF. I am able to connect, Disconnect and View Folder structure by following sample from this link.
Everything works fine on developer machine. My machine is Windows XP and I am using VS2008.But when I take WPF exe and run it on a machine where only .net framework installed I am not able to connect to device. Then I installed .net Compact Framework 3.5, and followed same steps provided in link except i don't have visual studio installed on that deployed machine.
Please provide me steps to connect to device without installing Visual Studio. And Am not sure whether it will connect to device without visual studio. So please help.
CoreCon is installed by Visual Studio, and is not available separately.
If you want to manipulate the device's file system from your PC, and the device is connected using ActiveSync/Windows Mobile Device Center, you can use the Remote API, RAPI. If you want to use C#, you can use the OpenNETCF Desktop Communication Library, which wraps up RAPI.

Developing Metro Apps using Visual Studio 2010?

Can anyone guide me, how can i create a metro app using Microsoft Visual Studio 2010.?
What are the templates needed to Create Metro Apps.
Updated :
If there are some third party libraries available, please let me know.
Metro development is purposed to be done in Windows 8 and Visual Studio 20212 environment. You can use Diskpart (Windows 7 command tool) together with Windows Automated Installation Kit to install a Windows 8 instance in parallel with your current system.
You need
1 ISO; http://www.microsoft.com/sv-se/download/details.aspx?id=5753
2 Automated Inst Kit: http://www.microsoft.com/sv-se/download/details.aspx?id=5753
3 About one-two hours (depends on your count on visual studio setup).
The result will be a file on your disk which is about 50-60GB. The bootloader will, after complete setup, give you both current Windows version and Windows 8 as option.
Perhaps you don't want to spend time on setup, so this may not be the answer you want to see. Which I fully understand. Though, there are several experience benefits using a complete Windows 8 environment. I can type a more detail on that, if requested.
Diskpart can be used like this,
create vdisk file=c:\VHD\Win8.vhd maximum=60000 type=expandable
select vdisk file=c:\VHD\Win8.vhd
attach vdisk
create partition primary
assign letter=v
After that, you can see the actual file which hold space for your virtual disk. In the source folder of the unpacked ISO file, you can find install.wim. That file will be used together with the next command based tool Automated Installation Toolkit.
imagex /info i:\sources\intall.wim
imagex /apply i:\sources\install.wim 1 v:\
Which will instantiate a silent installation from unpacked ISO to the boot disk.
Lastly the virtual boot file should be added as an optional bootup
C:\Windows\System32\bcdboot v:\Windows
From reboot and that you select Windows 8, the installation of Windows 8 will continue from the Metro design. Though after you type the product key. The best part of this, is that while in Windows 8, you still have full access to your current Windows drive.
Please note! This is a brief explanation of a process that make a Windows 8 installation without affect the current Windows, except take a lot of disk space.
You can't create Metro style apps directly in Visual Studio 2010 without using third party libraries e.g. DevComponents . Please do remember that it will be a winforms application which looks like metro style app.
For a real metro style app you have to use Visual Studio 2012 on Windows 8
Metro applications can only be developed on Visual Studio 2012.

Add a custom sound in Windows Ce 5.0 visual studio 2005

I am trying to find out the information of how could be able to put a custom sound file into the device and playing from my application which is windows ce 5.0 in visual studio 2005.
As I know that there is a possibility to make a sound of "Beep" by "coredll.dll".
The thing is that make a custom one and play that one.
Any possbility ?
Thank for advice
First verify the device plays audio correctly.
Import the System.Media namespace and play a sound with a button.
SystemSounds.Asterisk.Play();
If this is working, you can try a .wav file. You can copy a file from the C:\Windows\Media directory on your computer, to the device.
SoundPlayer sound_player = new SoundPlayer(#"\DiskOnChip\tada.wav");
sound_player.Play();
This succesfully plays the file.
This requires .NET CF 3.5, it will not work in .NET CF 2.0

Windows Media Encoder based application deployment issue

If I develop my application based on Windows Media Encoder 9 Series SDK, and I am using C# + .Net 2.0 + VSTS 2008, how to deploy all necessary dependent files (the ones from Windows Media Encoder 9 and Windows Media Encoder 9 SDK) to another computer without installaing Windows Media Encoder 9 on the target computer?
thanks in advance,
George
If you are using a Setup project, just select the necessary DLLs to be included with your setup.
Are you using OneClick deployment? If so, you can use the Prerequisites screen or simply select the necessary files to include in the Application files screen (both in the Publish tab of your project properties).

Categories