Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

a little problem when using VS2008

I want to use VS2008 to control the robot

but the manual only have C# version...

Nowadays, I have faced a problem
when I follow the manual to create a button to start the program execution

the C# code :
private Task[] tasks = null  //declare the tasks
....
tasks = controller.Rapid.GetTasks();
....

but in the VS2008
it can't do the same way

so i change the code:
private static Task^ tasks = nullptr;
...
tasks = aController->Rapid->GetTasks();
....


there is one error when compiling :
errorC2440

can anyone help me to solve this problem? 
thanks a lot!

Comments