Windows Media Encoder based application deployment issue - c#

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).

Related

Make C# Program to windows embadded professional 6.5

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?

How can i import windows.media.capture in my WPF project?

I am really confused about windows media capture namespace, I would like to import the namespace to develop camera function in windows 8.1.
FYI, I developed using visual studio 2013 and windows 7 64 bit, i already tried to install windows 8 Software Development Kits also, but i still can't find the namespace.
Am I missing something?
Finally I've done developing app for windows 8.1 Table in Windows 7 x64 and want to share some experience that i had in here.
Steps :
Edit .csproject in wpf app (Add <TargetPlatformVersion>8.1</TargetPlatformVersion> Inside <PropertyGroup> )
Add "Windows" library Reference
Load some .Net Framework 4 Library (System.Runtime.dll, System.Runtime.InteropServices.WindowsRuntime.dll,System.Threading and System.Threading.Task ) the location usually in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
Load System.Runtime.WindowsRuntime.dll (C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore\v4.5)
But we cannot debug the application because have different runtime with windows 7, we only can build and deploy to the Windows 8.1 Tablet.
I've done implementing camera function, GPS and database operation using MSSQLServer Compact DB Express 2014.
Reference :
http://blogs.msdn.com/b/eternalcoding/archive/2013/10/29/how-to-use-specific-winrt-api-from-desktop-apps-capturing-a-photo-using-your-webcam-into-a-wpf-app.aspx
Error calling async method synchronously
Windows.media.capture minimum supported client is windows 8 and minimum supported phone is windows phone 8.1.
Check this Article from MSDN

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.

Windows Phone 8 => Download DLL during runtime?

i am currently developing a Windows Phone Project consisting of multiples libraries where i will sometime need to update the different assemblies by downloading a DLL file over the internet.
Is it possible to load DLL on runtime on Windows Phone 8 and accomplish the goal described above?
No this is not allowed. All binaries that run on the phone must be signed by MSFT as part of their App Ingestion process via submittal to the Windows Phone App Store.
If you need dynamic updating, you might consider using a Web App, which allows you to pull content (not binaries) from a web source.

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.

Categories