I would like to embed a Flash Movie in WPF Applicaion. preferably via the activeX control that is also used in internet explorer.
additionally i want to get and send parameters to this flash movie.
i am using VC# express.
i used 'AxShockwaveFlashObjects' library to play flash(.swf) files
Related
I have a device attached to my PC. Win10 loaded in drivers for it. In Windows explorer I can see the device as it comes up as WindowsCE. I can open that and navigate through its file system. What I would like to do is write a c# winform app to transfer files to it. Unfortunately I cannot find it via c# as it is not a disk and it is not in c:\users. I also tried using from command line "wmic logicaldisk get deviceid" but it is not a disk so does not show.
I find that this device is located "on UMBus Enumerator", maybe that helps us?
Any ideas how I get hold of it in c# winforms?
I have Gridview when i click play it will play audio file it will get directory from database and play the audio by opening windows media player it working fine in visual studio i am using System.Diagnostics.Process in my code.I hosted application in IIS where OS is Windows 7 when i try to play its not opening windows media player and not playing audio file.
I had seen suggestions in Internet where i need to give permission to IIS admin Service to interact with desktop applications but i hadn't seen any IIS admin Service in Services.msc.
Any one can suggest me
Instead of calling a desktop application, you can use javascript or the HTML audio tag.
There's a js library called Howler (https://github.com/goldfire/howler.js/), it makes easier to play audio from the browser.
In your gridview, you can have a column that has a button to play the audio, this button has an attribute that contains the audio path
Something like this:
<button data-audiosrc="pathtoaudio.mp3">Play audio</button>
Then you use this tag to call the howler to play the audio.
This is one approach.
Another one is to publish these files to an IIS web application and you can call it by the browser http://AudioIISApp/youraudio.mp3 (for example), will open another tab, so the user can listen or download.
This second is more easy and faster to implement!
Recently, i want to create an application to sync photos between iphone and desktop by using C# language. I use Manzana library to copy image from PC to iphone.
As my understanding, the image file should be put under to /private/var/mobile/Media/PhotoData/Sync folder. But this does not work, i cannot see imported file when browse iphone photos although the file is copy to the location correctly.
Then i try to update the database file /private/var/mobile/Media/PhotoData/Photos.sqlite. To add a new entry to represent the imported photo file. Then i can see photo in iphone, but without thumbnails. And i have to restart the album application (close the application and start it again) so that to see the new imported photo.
But i found other tools can sync photo to iphone and can see the change immediately without restart the album application.
I want to know how this function is implemented?
Manzana is a C# wrapper of iTunesMobileDevice.dll. the main functionality is deal with iphone file system. and this is quite a old library which is not updated for a long time. I am not sure if there are any APIs to allow user to select an folder or photo file and sync it to iphone just like we do it in itunes, so that we don't need to process the db and thumbnails.
Does anyone have such experience before?
Im using desktop Dropbox as a buffer between mobile app and desktop.
Before this, you need a DropBox registered account and install the application.
After that, simple create a new folder from desktop Dropbox, drag-and-drop all
your photos into the new folder
Then, return to your iphone and retrieve them from DropBox mobile app.
I have created an app that makes use of file types that are not standard to Windows Phone and I have registered my app to these extensions and they can be opened in my app perfectly from example the email client.
My application can modify the file as well as generate completely different ones. I then have an internal file manager page where users can delete files and choose to open then.
My problem now is that I want the user to share these files via email, Bluetooth, tap+send(nfc), etc. with a menu pretty much like the you get in the gallery(photos) app on Windows Phone. Is this a standard function that I can somehow access, or is there another standard library or anything really that I can use to as quickly as possible implement file sharing?
There is a ShareMediaTask but it is intended for sharing media files on any kind of files, so you need to implement everything by yourself.
I am thinking of using Open Office from my winforms application to produce printouts of data. I would like to reference the API and programmatically manipulate documents from my client PCs. To clarify, I don't want to host a window with Write inside it so users can edit documents from within my application. I just want to programmatically stick a load of data into a document and call print on it, so the only thing a user will see is the print options dialogue box.
I can't install Open Office on my client PCs. Is it possible to xcopy install the Open office dlls (hopefully just a subset) along with my application binaries?
Try AODL
It is a part of the ODF Toolkit.
/Erling Damsgaard
DNS-IT ApS