Asked — Edited

Visual C Sharp Is Stuck

I cannot get the EZB_Connect to work. When I drag the EZB_Connect into the form and then run the program it just get stuck. Visual C# 2010 Express just hangs, nothing comes up.

Hoping For answer.

  • Egil

ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

Author Avatar
Netherlands
#17  

Hi there,

Try the next few things :

first open a project. make sure you have added the ezb.dll add the reverence -> ezb.dll for x64 you have to change the Active solution platform to X86 -> configuration manager in debug make sure u have disabled the loaderlock -> debug, exeptions -> managed debug assist.

That did it for me.

#18  

confused All Hi, Issues with running the C# example code, to specific the "servo-Test" program.

  1. See attached file.

Thanks

Author Avatar
Netherlands
#19  

what is the problem and where is the attachment ?

Author Avatar
PRO
Synthiam
#20  

Please follow the instructions in the included readme.txt file in the sdk package.:)

#21  

I did to the letter before i wrote to you about the issue. Maybe you should read what i wrote?? anyway after repeating the entire procedure there was no change in the outcome. I will continue to debug the issue. thanks for your help. George

Author Avatar
PRO
Synthiam
#22  

@garober, all you wrote was this:

Quote:

All Hi, Issues with running the C# example code, to specific the "servo-Test" program.

  1. See attached file.

Thanks

If you can provide me more information, i'm certain i'll be able to help. My suggestion is to follow the README.TXT file. That will provide you with the necessary configuration steps to compile. From that point, anything in the SDK ZIP will compile:)

#23  

hi I am trying to learn C# and I got to run the tutorial or atleast no erros show but I can not see the code. Now in form I get to connect the EZ-B but still the buttons to do forward or reverse dont work and I can not see what ports I need to connect the servo.

User-inserted image

Please could any one guie my to the next step.

coljc85

Author Avatar
Canada
#24  

Hi Coljc85, I think this is what you are asking for, click this button and you should see the forms code:

User-inserted image

User-inserted image

My advice if you want to learn C# is to check out the online tutorial sections that you access from the visual studio IDE or just google it and microsoft has a ton of good beginner stuff.