Italy
Asked — Edited

Where To Declare Ezb

Hello.

I am trying to use visual basic for controlling ez-board, but i have some difficult about beginning using it. I have read your tutorial and every post in this forum, but i still have not understand where i have to declare ezb.

Imports EZ_B Imports EZ_B.CameraDetection Imports System

......where do i have to write these lines? In 'sub form load'? In every buttons?

At the moment, i want a project with only a form and a button. Pressing the button, a servo must move to 50%. Can someone please suggest how to do this?

Thank you very much.

Ema from Italy


ARC Pro

Upgrade to ARC Pro

With Synthiam ARC Pro, you're not just programming a robot; you're shaping the future of automation, one innovative idea at a time.

#17  

@DJ Where have I read that before? Oh, yeah, the readme.txt file for the SDK.....

Maybe you need to add a sentence to the SDK download web page telling people to read the readme file for instructions on SDK use. You seem to have to answer this question at least once every two weeks.

Alan

Netherlands
#18  

@Odt Glad i could help!:)

@thetechguru and @DJ The readme file didnt tell us this. This is the readme file wich we read, and followed step by step:


Welcome to EZ-B!

Documentation

  1. If you load an example tutorial solution into Visual Studio, you may get an error about not being able to find the EZ_B.DLL file. You will need to manually add the DLL file as a reference to each project.

    Right Click on Project -> Add Reference -> Browse -> Select EZ_B.DLL from DLL folder

  2. The default passkey to connect to the EZ-B over bluetooth is "1234".

  3. Be sure to download ARC from www.ez-robot.com and obtain the latest Firmware update

  4. Projects must be compiled as x86 (not 64 bit). Configure your project to generate x86 (32 bit) binaries. Right click on project, select Build and change the CPU to x86

  5. Projects must be configured for .Net 4 runtime


I suggest you add point 1.5:

1.5) If you still get the error, also make sure to put the .dll files in your project directory itself.

PRO
Synthiam
#19  

I added the bit earlier today to the readme.txt

It's normal development practice:) now you know

Libraries need to be accessible from the executable.

Italy
#20  

Dear Thetechguru, adding the files in the application folder, the error continues to be and nothing has solved. I tryed this before post my question.

And i have read the readme.txt file and i have read ALL THE FORUM, but the right way was another and it was very difficult for me.

Boon has show the way to do this, and this was not shown in any post in this forum and in any tutorial in this website. Thanks to Boon again!

#21  

Good to hear Boon fixed it for you. It did work for me. Both VB and C# (although I haven't done anything other than run the examples with it yet).

--- edited ---

I just realized that I already had the ffmpeg.dll in a directory in my path from another app, and I did put all of hte EZ dll's in my app directory because I have lived with enough DLL hell that I always do that.

Alan

#23  

Not sure if this would be the correct placement of this thread, but seen the question asked before in here.I am testing the related vb.net program of ez-board these days. I don't know where to declare Ezb because I am totally a green hand on vb.net. Any suggestion will be appreciated. Thanks in advance.

United Kingdom
#24  

Post #2 has your answer