Building a Form to control SSC32

I’m trying to pull together code to allow a simple form to control select
channels on the ssc32. I’m having difficulty with a segment of the code
necessary to Invoke the form.

Invoke(
delegate()
{
PartnerType partner = FindPartner(“Drive”);
Uri uri = new Uri(partner.Service);
form.Text = string.Format(
Resources.Culture,
Resources.Title,
uri.AbsolutePath
);
}

Resources.Culture and Resources.Title

are both flagged (for the term Resources) as not belonging to the
current context. Any suggestions what I’m missing? The exact code
works on Tutorial 4 but that is captured under the line:

using Microsoft.Robotics.Services.RoboticsTutorial4.Properties;

Which does not help my problem (I tried it!).

The Resources entries are used to convert the URI to a locale-specific format. In this case you probably don’t need that since you haven’t set up the infrastructure behind the scenes to support it. I’d change the assignment to

form.Text = uri.AbsolutePath.ToString();

and see if that solves your problem.

Been gone for a week but I (finally) went in and that did it - thanks!