How do I set spell check language on a TextBox?
I've tried this:
<TextBox x:Name="textBox" IsSpellCheckEnabled="True" Language="en-US" xml:lang="en-US" />
but no luck :(
with this I only get danish spell check.
(I'm using danish input language)
The app the targeted windows 8.1.
If we want to implement the spell-check function without changing the keyboard input language, we can use this Spell Checking (C#, VB, HTML5/JavaScript) library which can be used for basic spelling checks and providing suggestions in Window Store App irrespective of Store App Language, for the detailed information, please check this sample.
Related
I am doing IOT related project in Labview using Arudino as hardware.
I was able switch off/on an led on Arudino by Pressing OFF/ON on website by using datasocket vi. Now what i want is to control the intensity of led from Website.
I have a range slider in my website and its real time value can be viewed in textarea,div,input type.
Is there any way i can get that real time value that is being changed in HTML DOM in Labview.
I know that datasocket vi returns the html source code but not the HTML DOM.
I dont want to use the Web Publishing Services as they dont work in my Laptop.
This is the link im referring for datasocket.
Datasocket Labview
You can do something like creating a web socket, but I expect the easiest thing is to use a web service. You can create one in LV and add a setLEDIntensity method to it and call it from your JS code. You can find a simple example here and in other documents in that community.
Use WebSocket API for LabVIEW to send and receive data from the web. This is the best option for you.
https://decibel.ni.com/content/docs/DOC-40572
All the strings which I am taking from External Resource File is not showing up in designer View. But When I run my application it shows that string.
My application is working but If it starts showing these texts in design view then I don't have to run application every time in my phone to check that texts.
I think there must be a setting for this if it is possible to do that.
I couldn't find anything related to it on google.
The designer does not invoke Resource files.
Here's now I do it:
<TextBlock x:Uid="Header" Text="~Header" />
In this code, the value of Text is written by the localized Resource file but in the designer it shows "~Header" as a placeholder when it's not running.
// Best of luck!
I have created a Win32 project for it according to this document and imported Italiona, Turkish and neutral DLL's to my WP application. Neutral is running correctly but when I chnage my emulator's or phone's language, title and tile title don't change.
What can be it's reason?
Thanks.
In Windows Phone 8.1 Win-RT you do not need a dll.
Here's a set of screenshots as a step by step guide:
http://s27.postimg.org/nz4xweo7n/Localize_App_Name.png
Make sure that you've add the control you wanted to change(In your case the Title) through the AppResources.resx of the respective language.
This should help you. Refer this one too.
http://www.c-sharpcorner.com/UploadFile/manish1231/windows-phone-8-app-localization/
http://msdn.microsoft.com/library/windows/apps/ff637520(v=vs.105).aspx
Hope it helps!
Try this post, It explains in detail how to localize your app quickly and easily.
You need to add Key Value pairs to the AppResource.resx file in the Resources folder. The values should be the Strings you need to translate to other languages and the key is used to call them in XAML or in code.
Install Multilingual App Toolkit and enable it in VS.
After you added the strings to the AppResources.resx file, you can use Multilingual App Toolkit to generate the other AppResources files for each of the languages you need to translate.
Then you can use Multilingual App Toolkit editor to either translate them automatically using Bing Translate or you can do it manually.
Can someone please explain what does the following line of code exactly do? If I were to build my own Unity3D that exports a similar kind of applications for the browser, what should I do? E.g. should I register somewhere the type of these applications?
<embed type="application/vnd.unity" src="webplayer.unity3d">
This line belongs to this website http://unity3d.com/gallery/live-demos/index.html#bootcamp and is usually encountered for browser applications that have to use native computer resources. These apps are not Flash nor Javascript.
If I wanted to do that for my own software what process should I follow?
If someone could shed some light on that, it would be much appreciated!
The <embed> tag is used for adding applets to a page and is specific to Mozilla browsers.
The attributes of the tag depend on what exactly is being embedded (and because of this it's not included in HTML standards). In a Java applet for example, the version of the JRE that supports the MIME type defined in type will be used to run your applet.
The src attribute indicates the location of a file located somewhere other than the webserver (for example, downloaded by the user as a plugin) that is needed to run your applet.
Essentially, the tag indicates that the embedded file is a Unity app and once the user installs the plugin, will require the Unity 3D web player to launch. The link in the first part of this post has some examples for embedding Java apps (including how to do so and support other browsers), and the process is not dissimilar for other types of apps.
This is a MIME type indeed and for someone to use it for his or her own program a new MIME type should be registered which seems from the outside a long bureaucratic procedure. The way to do that can be found here: http://www.rfc-editor.org/rfc/rfc2048.txt
I'm writing what is essentially a browser in Adobe AIR (ActionScript, not AJAX). A great bit of functionality to implement would be protocol handling. iTunes, for instance, handles itms protocols; when your friend sends you a link beginning with "itms://", it's going to launch iTunes as long as it's installed. Is there a way to write an AIR app (requiring AIR 2 would be fine) that can be the "handler" for a protocol in this way?
There is no way, programatically speaking, to specifically handle a particular protocol. However, there is InvokeEvent. InvokeEvent will be fired when the application is "invoked", either when it's explictly launched or if an associated file or URL is activated.
The process of associating your app with a particular file type or protocol scheme is separate and application-dependant. In iOS, for example, you would need to specify the protocol in Info.plist under CFBundleURLTypes/CFBundleURLSchemes.
Yes. You can use the URLLoader class to download data in binary form (URLLoader.BINARY) and then parse this as appropriate. See this CS3 documentation on working with external data.
http://www.patrick-heinzelmann.de/labs/lastfm/
I'm not sure exactly how it works and I don't see a way to download the app, so I can't even test it, but maybe it will help...
Check out this page. I am trying to find out the same thing, but I haven't found any solution to do it with just Air yet. Seems like you might need a custom installer to setup the correct registry entries, and a proxy application to "wash" the input to a correct format that then can start your application with the correct command line parameters. Hope this can be of any assistance.