RobotStudio event

pc sdk starting problems?

webwiz/3886/ABBPCSDK_test.rarHello
 

I am new to using PC SDK and have a slight issue someone might be able to explain to me.

 

I have been given a program that works perfectly on microsoft xp using visual studio 2008.

 

I have windows 7 x64 and visual studio 2008.

 

What happens is when the program runs it comes up with

"
Warning 1 'ABB.Robotics.Controllers.Discovery.NetworkWatcherEventHandler' is obsolete. C:UsersDanielDocumentsVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb 76 23 WindowsApplication2

"

and wont run any part of for "Private Sub Form1_Load"

 

ill upload the program, anyone know what the problem is and how to fix this.

i am desperate to fix this asap

Comments

  • Hello,
    I think you need to change your target platform from "Any CPU" to x86.

    Kind regards
    Daniel

  • cheers mate,
    yes this fixed the problem.

     

    it took me a while to figure out where to change this setting but once found it worked.

  • Hehe, been there done that. Your welcome!

    Oh, might aswell tell you since your using a 64-bit OS. There are some other problems within the ABB libraries. Some libraries can not handle file paths with brackets. so "C:Program Files (x86)" can be a bad idea. 
    I think this issue will be fixed in the next release thoguh!

    Kind regards
    //Daniel

    Daniel CarlAcn2011-03-22 08:13:46
  • If you end up compiling to .NET 4.0 at some point in time, then you will also run into problems, some are described in this fine forum.

    I have ended up using pure 3.5 code until the abb libraries are 4.0 safe.