Home Forums Software Development VB.net

Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2488
    Roy Thompson
    Participant

    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

    #2493
    Anders
    Participant

    Hi 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.

    #7299
    Doug Livingstone
    Participant

    Hello 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

    #7300
    Roy Thompson
    Participant

    Hi 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

    #7320
    Doug Livingstone
    Participant

    Hi 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

    #7355
    Doug Livingstone
    Participant

    Code 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.

    #7356
    Doug Livingstone
    Participant

    Grant

    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

    #7357
    Doug Livingstone
    Participant

    Code 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()

    #7359
    Grant [Tobii]
    Keymaster

    Hi 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)

    https://www.nuget.org/packages/Tobii.StreamEngine/

    #8788
    Charlie Collins
    Participant

    Thank 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!

    #8790
    Grant [Tobii]
    Keymaster

    Hi @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.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.