I am having a minor problem with my code. Basically what it does is allows you to change the color (using the "colordialog" code) of the form backcolor and forecolor, and also writes the name of that color to a .txt file so when you exit the form, it saves the colors you chose. When the...
Hi, I'm an old retired Clipperhead, now a hobby VB programmer (starting from VB3).
I am managing til conversion to .NET pretty well on my own, but I find myself often doing things "the old way" instead of using the vast resources in .NET.
As an example, I would scan an area of a bitmap pixel by...
Firstly I've been programming the basic language on and off pretty much all my life, from the Commodore 64 (My pride and joy!) to Qbasic and finally .net. But I'm totally useless at .net. So the questions are probably very rookie :)
I'm also terrible at explaining things but I'll give it my...
I have a Win Forms app written in vb.net. In it, I have a combo box with a Owner Draw Item routine. Using this routine, I am able to implement an application-wide default value for a selection color like shown below:
This works great except for one tidbit: Once an item is selected, the combo...
Im making a page that can get some info from a DB from a gridview and then print it to a PDF file.
But im having problems with the background color.
If i use this line of code
cell.BackgroundColor = New Color(System.Drawing.ColorTranslator.FromHtml("#008000"))
Then i get this error...
I'm new here, and I am trying to use the control below:
The QIOS Community • View topic - Qios.DevSuite.ColorPicker (V2)
I used the code they provided, but it does not work. I have a QColorPicker that I would like to select the color and be able to put the hex code as a string into a...
I have a TextBox in my App for which I want to customize the colors. At the moment, I am using the following Style:
<Style x:Key="EditPlayerStyle" TargetType="TextBox">
<Setter Property="Background" Value="Blue"/>
<Setter Property="BorderThickness" Value="0"/>
I have text that I am trying to print and while I can get the font that is displayed from the font dialog quite easily, when I try and grab the colour it won't let me do it as the color in e.Graphics.DrawString is set using a brush, and the font dialog returns a color.
I am using a monthcalendar control in my application to allow a user to select a day from the calendar that will load data for that day.
the background is totally white (ugh). there is a backcolor property, but when i set it to say Cyan (yea right), the calendar still displays as...
Yeh I know it's so trivial but I'm trying to do it since a lot of time in VB 2005 Express Edition. Let me explain:
I need to make an easy output of a specific color on my whole screen.
For example: I have a Form with
When I press 'btnSearch', it takes the...
Hello everyone, first post here and looking for some guidance on what I think should be something simple, but I've been playing with it for hours getting nowhere.
Perhaps I don't understand the ColorMatrix well enough, but there is almost no documentation on it, well anywhere. What I am trying...
I want to change the color of the group header text in listview which separates all the items into various groups, there is no such option to do that directly because no such property exists.
As far as i can think of it can be achieved via overriding the paint event but i have not done any...