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

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

#1  

" Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. "

on the line

"this.ezB_Connect1 = new EZ_B.EZB_Connect();"

PRO
Synthiam
#2  

Interesting! I will give it a shot and take a look. I am in San Fran at Make Faire, so my time is limited. I'll post something soon as i have a minute to check for you:)

PRO
Synthiam
#3  

I won't have the time for a few more days to look. Can you change the .Net version for the project in VS Express? If so, select 3.5 instead and see if that helps.

Maybe I'll make a 3.5 and 4.0 DLL someday soon:)

#4  

The i getting build errors confused

User-inserted image

PRO
Synthiam
#5  

Can you post your code? It looks like the dll is not added as a reference to the project.

#6  

What code is it you want to see? The only thing I have added to the form is the EZB_Connect

PRO
Synthiam
#7  

Ah okay. Try right clicking on the project folder (in the visual studio explorer window) and select "Add References". Use Browse and select the EZB.DLL file.

#8  

Did a fresh install of Visual C# express 2010 but still the same error confused 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