
egilbernt
Sweden
Asked
— Edited
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
on the line
"this.ezB_Connect1 = new EZ_B.EZB_Connect();"
Maybe I'll make a 3.5 and 4.0 DLL someday soon
The only thing I have added to the form is the EZB_Connect
Yes, I have added the EZB.DLL file
And the only thing I have added in the windows form is the ezb_connect tool.
- Egil
I once got the Omnibot examles in the SDK to run many releases ago but have had no luck for awhile now.
However the ARC platform is becoming a whole language of its own and requires some thinking about as it offers so much versatilaty
*confused*
EDIT: Wow, 39 secs after your post !
This is the process I use to get the SDK running on my systems:
(1) Add the following references to all projects:
EZ-B.dll
DirectX.dll
DirectX.DirectInput.dll
(2) Select Clean Solution from the Build menu
(3) Select Rebuild Solution from the Build menu
Also, I have a fairly large number of development platforms, frameworks and SDKs installed on my systems for work-related projects and everything was working prior to adding the EZ-B goodies. I'm wondering if something is missing from the systems experiencing errors?
Note: I add the DirectX references to get rid of the unmanaged code debug warnings. SlimDX please?
Im stuck in trying to run any of the sample code. not sure what to look for?
I have visual studio C# 2010, on win7. Using "Test - Servo"
1) Ez-B board is powered on. ARC is closed.
2) double click "Test - Servo.csproj" , the program converts it to the VS C# 2010 format.
3) I've add references to EZ-B.dll, DirectX.dll, DirectX.DirectInput.dll, from the projects/Addreferences/browse area.
4)clicked "build>Build solution", no errors, no warnings.
now what do i do to run this code?
I double-clicked /C#/Test - Servo/bin/Release/Test - Servo.vshost.exe and nothing happened.
am i suppose to have ARC running in the background?
i looked around "Form1.cs" "form1.Designer.cs" "program.cs" and i did not modify anything.
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.
All Hi,
Issues with running the C# example code, to specific the "servo-Test" program.
1. See attached file.
Thanks
George
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
Please could any one guie my to the next step.
coljc85
I think this is what you are asking for, click this button and you should see the forms code:
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.
I added the reference and still have the problem...
Please help me out...