Menu

Use on vb.net

Help
PirSoft
2016-05-19
2020-05-18
  • PirSoft

    PirSoft - 2016-05-19

    hi dears;
    I would like use on vb.net and get live video only and save snapshot. pls help me about it.

     
  • Andrey Vrana

    Andrey Vrana - 2016-05-20

    Hi. You can look on wpf or winform sample.
    You can find them here on files...

     
  • PirSoft

    PirSoft - 2016-05-23

    Hi; thanks for reply. I 'm using vb.net can't integrate c# sample winform to vb.net.
    pls help me. I would like winform vb.net sample.
    this is very important for me. pls help.
    thanks.

     
    • Andrey Vrana

      Andrey Vrana - 2016-05-23

      Actually I’ not a vb.net developer, but you can find simple samples on c# console, so you can use them as a reference on your vb.net application

      Отправлено с моего телефона на Windows 10

      От: PirSoft

       
  • PirSoft

    PirSoft - 2016-05-23

    Hi; thanks Andrey.
    i started use step-by-step with vb.net. i get an error.
    code;

    Dim transp As MediaStreamInfo.Transport = MediaStreamInfo.transport.udp
    

    Error Message:
    Error 7 'Transport' is ambiguous because multiple kinds of members with this name exist in class 'video.player.MediaStreamInfo'. C:\Users\admin\Desktop\BlobsExplorer\WinformSampleVB.net\WindowsApplication1\Form1.vb 114 23 WindowsApplication1

     

    Last edit: PirSoft 2016-05-23
    • Martin

      Martin - 2020-05-18

      You can change it to 0 because udp = 0
      Dim transp As MediaStreamInfo.Transport = 0

      But i have another error what i dont know how to fix it...

      Me.disposables.Add(factory.CreateSession(New Uri() {New Uri(address)}).ObserveOnCurrentDispatcher().
                                     Subscribe(Sub(session) GetProfiles(session), Sub(err) Me.errBox.Text = err.Message))
      

      Error message:

      Error BC30456 'Subscribe' is not a member of 'FSharpAsync(Of Profile())'.

       

Log in to post a comment.