Hi, This is what I was able to get working in my solution for selecting a row and changing the color. You need to add the stdole DLL to your project references.Then after your "pTabWin.Show True" add the following code. Basically the window needs to be shown before you can select from it and change the color. In this example I've hard code the OID parameter, i.e. 3.
ITableWindow3 tw3 = tw3.ActiveTableWindow as ITableWindow3;
ITableControl3 tc3 = tw3.TableControl as ITableControl3;
if (tc3 != null)
tc3.SetCurrentRow(true, 3);
IRgbColor rgbcolor = new RgbColorClass();
rgbcolor.Red = 255;
rgbcolor.Green = 255;
rgbcolor.Blue = 0;
IColor color = rgbcolor as IColor;
tc3.SetCellFont(3, "", color, null, null);
Greg