Home › Forums › Software Development › VB.net
Tagged: vb.net
- This topic has 10 replies, 5 voices, and was last updated 6 years, 2 months ago by Grant [Tobii].
- AuthorPosts
- 08/02/2015 at 14:05 #2488Roy ThompsonParticipant
Hi
I see from the documentation that when developing with windows forms it is necessary to add a behaviour map component to a form. This adds some code to the form designer in C#.
Is there any reason why this cannot be converted to VB.net? And similarly can the code that connects the map to the EyeXHost be coded in vb.net?
Thanks
Roy
08/02/2015 at 21:55 #2493AndersParticipantHi Roy,
it should be possible to do exactly the same thing with VB.NET. The EyeX Framework code can be used from any CLR language.17/08/2017 at 15:51 #7299Doug LivingstoneParticipantHello Roy
This might be a few years too late, however I created a version of GazeAwareForms in 2017 VB.Net and I will be uploading it to the forum in the next few weeks if you are still interested.
Doug
17/08/2017 at 16:36 #7300Roy ThompsonParticipantHi Doug Thanks for your thoughts and yes, I would be interested in seeing it even though I have moved on from the original project.
Kind regards
Roy
23/08/2017 at 16:48 #7320Doug LivingstoneParticipantHi Roy
Being a newbie to the Tobii and to GitHub here is my first attempt. See my sample program at https://github.com/MNDcommunicate/MyGazeForm
This is not exotic, it does however work. I make use of the GazeAware behavior. In the weeks ahead I will have a go at the Activatable Behavior.
Please let me know if you have a play with the sample.
Keep having fun
Doug
05/09/2017 at 08:47 #7355Doug LivingstoneParticipantCode Update:
I make use of the key setup for use in the Tobii Eyetracking Utility. In my case, I use the CTRL key to the left of the keyboard as the Mouse skip key for use in interactable behaviour.
In my ONGAZE event handler, you can use the sendkeys function to automatically trigger the pressing of the key.
SendKeys.Send(“^a”)
Note: keys are case sensitive; the code above triggers the use of the left CTRL key.
05/09/2017 at 09:56 #7356Doug LivingstoneParticipantGrant
As a suggestion on your web page http://developer.tobii.com/tobii-sdk-guide/ and pages such as http://developer.tobii.com/tobii-core-sdk/ can you also include the versions of the SDK’s. I revisit these pages on a regular basis and cannot tell if the SDK has been updated.
Have a great week
Doug
05/09/2017 at 15:36 #7357Doug LivingstoneParticipantCode Update:
You can also call and trigger functions to create a user profile, calibrate and recalibrate the user. Try them out. They must be run after the host is started.
Dim EyeXHost As New EyeXFramework.Forms.FormsEyeXHost
‘
EyeXHost.Start() ‘ Start using the EyeTracker‘ Tobii Eye Functions
EyeXHost.LaunchProfileCreation()
‘
EyeXHost.LaunchCalibrationTesting()
‘
EyeXHost.LaunchRecalibration()05/09/2017 at 21:13 #7359Grant [Tobii]KeymasterHi Doug @mndcommunicate, thanks for your suggestion I will pass it along to our web design team.
In the meantime, you can find out the latest version (currently v0.7.3) of the Tobii Gaze Interaction API @
https://www.nuget.org/packages/Tobii.Interaction/
with the Stream Engine API (v1.2.1.305)
06/09/2018 at 18:15 #8788Charlie CollinsParticipantThank you Doug. I have put my project on hold because I couldn’t get VB.net to work with the API. I ended up coding my own workaround but it didn’t work as good. Now I have the tools I need to help my mom with ALS. Big Jesus!
07/09/2018 at 11:34 #8790Grant [Tobii]KeymasterHi @charliemichaeljcollins-com, sorry to hear you halted the project… is there anything we can do to assist with your current efforts or indeed if you are satisfied with the current workaround, it would be interesting to view the project code if available. Many thanks.
- AuthorPosts
- You must be logged in to reply to this topic.