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
Related
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?
I am a newbee to c#. Please treat me as a beginner. I downloaded and installed Ximarian C# and the IDEA on my Windows 10 computer. Now, I want to install it onto my LGA ANDROID Gpad X10.1 so I can study and learn C# when I am not at home; I want to write programs for Android using my Android Tablet. I did some homework and found out I had to go to Security and check unknown devices which I did. I downloaded the Xararianinstaller.dmg file (I can't) figure out where Xamarian keeps the APK file).So the XamarianInstaller.dmg file is sitting in my download folder but it will not execute. Android does not recognize the. Dmg file or know which program to run the installer with.
How do I get the .dmg file to execute? What do I need to do?
Where are the latest APK files kept,how can I download and install them?
I have an LG GLAD X10.1
Android Version 6.0
Kernel 3.4.0
Build MRA5BK
Version: V93020f
Sorry to inform you this, but you will not be able to use your Android device to extract and execute the .dmg file.
Xamarian is a compiler/API that installs onto a Windows/iOS device (which you have done) but it is used to plan, develop and build your projects.
Android does use APK (Android Application Package) file formats to install and run their applications. The confusion you have is that there is some sort of APK for Xamarian to install it native on your tablet. This will not work but what you can do is test your build applications on the go with your tablet with a compiled APK file from Xamaarian from your computer.
Android can not run .dmg file extensions and can run very few renditions of .exe files native but your best bet is to simply build and test/debug on your device. Use the device as an extension to your Computer not a stand alone solution.
Happy Coding.
I have a SWF file which i want to be usable offline aswell. I have searched for how to play SWF files. But it doesn't work when i put a WebBrowser component ( it displays a save file dialog.. ). I have also seen that can use the AxShockwaveFlash COM component ( I myself used it in an application for .net 3.5 , AxShockwaveFlash doesnt show up when i browse for it in the .NET 4.0 application). cant find anything else for .NET 4.0
Actually AxShockwaveFlash works, it didnt show up because of a wrong flash player version. what's needed is "Adobe Flash Player XX ActiveX" XX = latest version number.
Almost done with this game that I am working on and we half to submit it for a competition. The problem is that it wont work at all without having the mysql connector with it. I was wondering how could I go about creating an installer with Visual Studio, and all my game files. Any help is appreciated. Also is there anything special to include XNA libraries too?
The VS2010 has InstallShield LE and Setup Project project types available to you. Those projects help you make use of the Windows Installer. As far as I know windows installer doesn't let you install things for X-Box or for Windows Mobile. I assume you write for X-Box since you are using XNA. The Windows Installer lets you install to things for Windows and Windows Server.
I've downloaded and installed Visual C# 2010 Express and XNA Game Studio 4.0 on to my XP (32-bit) machine. I had to do this by downloading the files individually as the App Hub package wouldn't install when I tried that, something to do with the Windows Phone stuff.
Anyway, I'm having trouble with transparency on PNGs and I took the project in to work today, and found that by changing Content Importer and Processor (properties) transparency worked fine, this was on a Windows 7 machine.
However on my XP installation at home, the drop down menus for these two boxes are empty. I have tried complete uninstall and re-install but this didn't help. Is there anything else I can try?
I can run the code fine, just can't get transparency on my images.
I'm basically missing the drop-downs shown in the image on this page:
http://msdn.microsoft.com/en-us/library/bb199633(v=XNAGameStudio.40).aspx
Interesting Addition: If i set the importer and processor at work, save the project, and bring it home, the settings show up and work. So it appears i'm purely missing the link between the drop down menus and the available settings.
On the off chance that "downloading the files individually" means you've downloaded the wrong thing, here is the stand-alone installer for XNA Game Studio 4.0, which will run on Windows XP.
(The Windows Phone Developer Tools, on the other hand, will only install on Vista and above.)
I was having problems with transparency in my PNGs as well. It may be the program you're using to create/convert the png files. I used irfanview and no longer have any problems.
I never found a solution to this whilst using XP. However now that I have upgraded to Windows 7 everything works as expected. I can only therefore assume that either there was something incorrect with my installations of the Net Framework, XNA Game Studio, or XP; or alternatively XNA Game Studio does not fully support XP.