Go to advanced search

by jark
Tue Sep 22, 2015 11:13 am
Forum: Windows 10 for IoT
Topic: Support for .Net Application on Windows 10 for
Replies: 2
Views: 799

Re: Support for .Net Application on Windows 10 for

Hello All, I'm working on a project which works on .Net Application for desktop, which connects to an MySQL server to fetch data. I recently found out about Windows 10 for IoT and before buying Raspberry Pi 2 for this project I need to know whether the OS supports .Net application for desktop(i.e W...
by jark
Tue Sep 22, 2015 11:12 am
Forum: Windows 10 for IoT
Topic: Multithreading/Async
Replies: 2
Views: 696

Re: Multithreading/Async

Hi everybody, am writing a windows universal app for my raspberry pi. I need this app to increment 25 separate text boxs starting at different intervals until they receive a stop signal. What do I need to use to get this accomplished. I have tried threading and have looked into using thread pool or...
by jark
Fri Aug 28, 2015 9:57 am
Forum: Windows 10 for IoT
Topic: Visual Basic and Dispatcher or other multi thread technology
Replies: 4
Views: 1313

Re: Visual Basic and Dispatcher or other multi thread techno

Hi fritz12,

I mainly use msdn (

Code: Select all

https://msdn.microsoft.com/
) as a reference and of course google.

Also have read a few books / tutorials / blog posts, they're always a great source of information. I can suggest some to you if you want, depending on the subject you want to learn more about?

Jark
by jark
Thu Aug 27, 2015 2:34 pm
Forum: Windows 10 for IoT
Topic: Visual Basic and Dispatcher or other multi thread technology
Replies: 4
Views: 1313

Re: Visual Basic and Dispatcher or other multi thread techno

Hi fritz12,

You can find the Dispatcher as a property on the textbox. The following code should work:

Code: Select all

txtTest.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, Sub() txtTest.Text = "test" )
Any questions, let me know.
by jark
Thu Aug 27, 2015 2:27 pm
Forum: Windows 10 for IoT
Topic: Delay microsecond support
Replies: 17
Views: 8439

Re: Delay microsecond support

Windows 10 IoT Core release, but I test code today: public void TESTTIMINGLIMIT() { GpioController gpio = GpioController.GetDefault(); GpioPin test1pin = gpio.OpenPin(23); GpioPin test2pin = gpio.OpenPin(24); test1pin.SetDriveMode(GpioPinDriveMode.Output); test2pin.SetDriveMode(GpioPinDriveMode.Out...
by jark
Thu Aug 27, 2015 7:45 am
Forum: Windows 10 for IoT
Topic: Web Browser for Windows 10
Replies: 12
Views: 37065

Re: Web Browser for Windows 10

Folks, Thanks a lot for all your responses, on my question on Web Browser I appreciate your quick responses. I started with computers during the days of MS DOS. Those days, my computer had only 640 KB to RAM and one floppy Drive which can take 360 KB as storage. Still, I enjoyed MS APIs and writing...
by jark
Wed Aug 26, 2015 9:10 pm
Forum: Windows 10 for IoT
Topic: Reading from a file using c#
Replies: 14
Views: 5775

Re: Reading from a file using c#

paduan wrote:
jark wrote:@paduan have you tried using the filename with the code snippet provided? I remember having an issue with relative paths when I was testing my web server implementation on the PI.

Hurrah! It works!

I will name my first born after you! :D
Glad you got it to work :)
by jark
Wed Aug 26, 2015 9:08 pm
Forum: Windows 10 for IoT
Topic: Entering point Visual Basic
Replies: 4
Views: 889

Re: Entering point Visual Basic

Hi fritz12, I would think that events would be step 1, this is a lot easier than using a loop in a desktop application. What's happening in your code is that you're blocking the ui thread with your loop and so you never see the screen updating. If you really want to use a polling loop you have to ru...
by jark
Wed Aug 26, 2015 4:22 pm
Forum: Windows 10 for IoT
Topic: Entering point Visual Basic
Replies: 4
Views: 889

Re: Entering point Visual Basic

Hi fritz12,

Instead of using a loop I believe you can use events that trigger when an GPIO pin's value changes.

See this example: https://github.com/ms-iot/samples/blob/ ... ge.xaml.cs, unfortunately in C# but should be simple enough to do the same in VB.NET.

Jark
by jark
Wed Aug 26, 2015 1:33 pm
Forum: Windows 10 for IoT
Topic: Reading from a file using c#
Replies: 14
Views: 5775

Re: Reading from a file using c#

One would have thought that an app would have read permission to its own Assets folder, especially seeing as that's where the splash logos are loaded from... If I wasn't already bald, I'd be tearing my hair out with this one! One might think so, but mapping the drive in windows explorer, then looki...
by jark
Wed Aug 26, 2015 1:11 pm
Forum: Windows 10 for IoT
Topic: Reading from a file using c#
Replies: 14
Views: 5775

Re: Reading from a file using c#

@paduan have you tried using the filename with the code snippet provided? I remember having an issue with relative paths when I was testing my web server implementation on the PI.
by jark
Wed Aug 26, 2015 12:08 pm
Forum: Windows 10 for IoT
Topic: Reading from a file using c#
Replies: 14
Views: 5775

Re: Reading from a file using c#

Something that would be good to try is: Add a file into the root of your application with Build Action: Content, Copy to Output Directory: Always Use the following to get a filepath: var path = System.IO.Path.Combine(Package.Current.InstalledLocation.Path, "<path to file>"); And see if you can load ...
by jark
Wed Aug 26, 2015 11:15 am
Forum: Windows 10 for IoT
Topic: Reading from a file using c#
Replies: 14
Views: 5775

Re: Reading from a file using c#

Hi paduan, In my WindowsUniversalWebserver project I manage to access files in my local namespace. Have a look here: https://github.com/Jark/UniversalWebServer/blob/master/UniversalWebServer/StaticFileHandler.cs#L31 So your code rewritten to use that method would be (untested): var filename = @"Asse...
by jark
Tue Aug 25, 2015 8:33 am
Forum: Windows 10 for IoT
Topic: SmartCards
Replies: 9
Views: 3434

Re: SmartCards

No, that solution would probably not work for your issue.

The WinRT app communicates with a WCF service running on a real pc which is connected to the smart reader...

It looks like that beta-tester's route mentioned above might be the route to go to for now.
by jark
Sun Aug 23, 2015 11:42 pm
Forum: Windows 10 for IoT
Topic: SmartCards
Replies: 9
Views: 3434

Re: SmartCards

If your smartcard reader has WinRT / Windows Universal drives it should be possible to communicate with it, otherwise you'll have to wait until Microsoft add support for it natively unfortunately.
by jark
Sun Aug 23, 2015 11:40 pm
Forum: Windows 10 for IoT
Topic: Debug Deploys but Release fails
Replies: 1
Views: 987

Re: Debug Deploys but Release fails

Don't know if this will work but try removing the 'bin' and 'obj' folders from your project and rebuilding afterwards for release.

I've noticed that Visual Studio/MSBuild can react a bit funny when switching from debug to release for windows phone, this might be the same issue.
by jark
Sat Aug 22, 2015 4:21 pm
Forum: Windows 10 for IoT
Topic: FTDI driver status
Replies: 9
Views: 4660

Re: FTDI driver status

I played around with FTDI's WinRT drivers and I've got it running on Raspberry PI 2 (and on Windows 10).

Sample + instructions here: https://github.com/Jark/FTDISample.

Any questions let me know.

Go to advanced search