|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
converting RTF backcolor to Web back colorhi, im doing this:
Dim str as string = "#" & Me.rtbCreate.ForeColor.R & Me.rtbCreate.ForeColor.G & Me.rtbCreate.ForeColor.B rtbCreate being a rich text box control, yet the colors dont match. the color shown in the WebBrowser control is different that that of the RichTextBox....ive also tried using just Me.rtbCreate.GetHashCode to try, and that still wont give me the right color. does anyone know how i can get the colors to match? thanks -- -iwdu15 Hello iwdu15,
Your data types are all hosed, you hoser, eh. You really should learn your tools.. read a book.. read the documentation. In the mean time hit F1 and look up the Colortranslator class. -Boo Show quoteHide quote > hi, im doing this: > > Dim str as string = "#" & Me.rtbCreate.ForeColor.R & > Me.rtbCreate.ForeColor.G & Me.rtbCreate.ForeColor.B > > rtbCreate being a rich text box control, yet the colors dont match. > the color shown in the WebBrowser control is different that that of > the RichTextBox....ive also tried using just > > Me.rtbCreate.GetHashCode to try, and that still wont give me the right > color. does anyone know how i can get the colors to match? thanks > lol yea i guess so. this is my first time trying anything like this, so ive
made a few errors. what about ranslating RTF font size to web font size? there wasnt a font translator.... -- -iwdu15
Close all forms but Main
A question about generics converting string to image..?? Visual Basic .NET Compiler ClickOnce How to find equal images? amortization... kinda how to create shift-F2 function for Textbox - shortcutkey? VB.NET 2.0 & Application Settings.. Access to DB on client-side with ASP.NET |
|||||||||||||||||||||||