>I am trying to set the background and text colors of a bar within an activex control (dbi-tech schedule.ocx). In foxpro, I just olecontrol1.barBackColor(nRow,nBar,12345678).
>
>In the windows form in .net I'm trying:
>
>Me.AxctSchedule1.set_BarBackColor(lnRow, nBar, iBarBackColor)
>but I get the following error:
>
>Value of Type Integer cannot be converted to System.UInt32
>
>In the intellisense it shows for the third parameter: Param0 as System.UInt32
>
>Can anybody help me here?
>
>Thanks
>Kirk
Try this, I think.
Me.AxctSchedule1.set_BarBackColor(lnRow, nBar, System.Convert.ToUInt32(iBarBackColor))
Dan
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only