Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting A Color Property
Message
From
17/03/2003 15:04:27
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00766679
Message ID:
00766686
Views:
22
This message has been marked as the solution to the initial question of the thread.
>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
Map
View

Click here to load this message in the networking platform