Highlighting Window Parts Like Snipping Tool
Mar 22, 2009Windows vista's snipping tool highlights (red frame/border) parts of external applications.
View 3 RepliesWindows vista's snipping tool highlights (red frame/border) parts of external applications.
View 3 RepliesI was just wondering - is it possible to detect, with either .net, SilverLight, Flash or some other plugin, whether or not Snipping Tool is open, or detect when the user opens it (after the page has loaded)? Also is it possible to detect when print screen is pressed even if another window is active?
View 1 RepliesHow can I add a little Toolbox Window to my app. I've tried using a normal Form, as soon as it appears I have access to its buttons, but the Main Form is then unresponsive until I close the Toolbox.change this behavior so I can have access to both the buttons on the Toolbox as well as the Main Form controls.[URL]
View 4 RepliesI am developing an application in which I need to use the tool jus like the Solution Explorer or Error List or Properties Window. Its like there have the common functionality of Floating,Dockable,Tabbed Document,Auto Hide and Hide. Can u let me know which tool in toolbox has this feature.
View 7 RepliesI want to make a Tool Bar in my task bar such as windows media player tool bar.
I'm using VS2005.net Windows xp Professional Edition.
how to put the tool tip text in status bar label this in form load event
View 14 RepliesWhen I enter a vb.net textbox, if there is data in it, I want it to be highlighted. I looked around and couldn't find a property that would do this so I do the following:I built a little subroutine that does the highlighting and then call it from the ENTER and CLICK event on each text box.
[Code]...
I have my tabcontrol class inherited as a custom tab control and painted my custom tabs, what i would like to do is when i put my mouse over a tab that is not currently selected the tab changes colour, gets highlighted.
View 7 RepliesI am making a "toast" in vb.net, and whenever it pops up, all the text in the body textbox is ALWAYS highlighted...how can I remove the highlight programmatically?[code]....
Always, the text inside BodyL (which is a textbox), highlights itself.I tried adding in toast.Focus() at some points, but that did not work.
I've been trying to get syntax highlighting for a RichTextBox.I am struggling trying to code it myself, so I looked around a bit, and found a cool .dll file called ColorCode.
[URL]
So I went into my project and imported the ColorCode.dll file. (Project>Add Reference)However, I don't know how to use it!?Is there anyone out there that has used this .dll file?How can I use it to get Syntax Hilighting in RichTextBox1?
Getting an error highlighting the text "next"...List that this enumerator is bound to has been modified. An enumerator can only be used if the list does not change.
View 3 RepliesI'm trying to make a sub that will highlight the text of a RTB that is passed.
Here is the code:
Private Sub SearchAll(ByVal selectedRichTextBox As RichTextBox)
Dim startPos As Int16 = 0
Dim matchPos As Integer = selectedRichTextBox.Find(TextBoxSearchFor.Text, startPos, selectedRichTextBox.Text.Length, RichTextBoxFinds.None)
selectedRichTextBox.SelectionBackColor = Color.Yellow
[Code] .....
Looking in the "Display Items" list in the "Fonts and Colors" section of options, I don't see a way to color code dates. I can color numbers, strings, comments... all kinds of stuff, are Date and DateTime hiding under something else?
View 1 RepliesI've been looking everywhere for a solution to this problem. I'm new to VB, well programming in general, and am using VS2010 ultimate. Everything has been running smoothly until recently. For some reason, there is no syntax highlighting for my code. All other code is highlighted and colored correctly, just VB is not. All i get is black characters. Keywords, comments, everything is black! I have attempted to reset all the settings, and I have made sure that the font settings are all set to default.
[Code]....
I am using this code for syntax highlighting in RTB and it works pretty nicely except for the flickering part.
VB.Net
Private Sub txt_source_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txt_source.TextChanged
Dim words As New List(Of String)
words.Add("<p>")
words.Add("</p>")
[Code]...
How would I prevent Rich Text Box from flickering?
I have a richtextbox on my form and currently have made a simple syntax highlighting for it. It works great with a small amount of text but as the text amount increases it starts flashing and locks the textbox while typing.
This is my current code. I call the sub on the textchanged event.Basically what happens is I have a list of words that it checks for and if it finds it, it colors the word.
[Code]...
I'm building an app that has an sql editor with syntax highlighting and intellisense. I've got the frame, but i'm stuck with the re-coloring of the RTBSuppose the RTB has got a large volume of lines. when i start editing, the on-textchange event triggers the re-coloring of the current line. using;
- selectionStart
- selectionLength
- selectionColor
[code].....
In my project I have a DataGridView with only one row. See here:
But I have to change something. When the datagridview appears, the first cell is highlighted what I dont want, because, in this case, this is confusing. Is there any possibility to disable this highlight?
I'm trying to highlight a node inside the tree view.I'm using this code, but no luck.[code]I do not get any errors or anything.
View 1 RepliesOk, So i am building a code editor for a new Multi-Player modification thats being coded (IV-MP), And i was looking into making the syntax of the code highlight, Like it dose on this picture:
The code is 'Squirrel', But i totally have no clue on how to make it highlight like in those pictures, And all the code would be in a large Rich textbox.
How to disable Cell Highlighting in a datagridview,Highlighting should not happen even if I click on the cell.
View 3 RepliesI need help Related to this form [URL]...Related to that topic Using the same code how can i add more then one color so how can i add it more then once So like words = the and bob ect... but I make a new dim call it words 2 = for next then ect... diffrent color I do this and it cancels out the blue the first one, so like this
[Code]...
So then i try it purple works but now blue does not..i know its possible with this one! All i want is to be able to add other words in a different color! Because this code works like a charm
I have a ComboBox that items are highlighted when selected. I there a way to turned the highlight feature off? Is it ComboBox.SectionLenght???
View 4 RepliesI recently set up a Redmine server for my time. Redmine's Wiki uses CodeRay for syntax highlighting. However, most of my team prefers to code in VB.NET, which CodeRay doesn't support.Are there any plugins out there that offer syntax highlighting for VB.NET in CodeRay? If not in CodeRay, maybe through some other library (that could be integrated into Redmine)?
View 2 RepliesOk, here is my problem. I got a wonderful dataset/database going on. In my program I have a datagrid (TicketGrid). I need it to highlight the Ticket Created DateTime if the ticket is older than 45 mins, based off system time
For i As Integer = 0 To Me.TicketGrid.Rows.Count - 1
If Me.TicketGrid.Rows(i).Cells(0).Value <= Date.Now Then
Me.TicketGrid.Rows(i).Cells(0).Style.BackColor = Color.Yellow
[code]......
I have two textboxes. Each textbox contains lines, where each line contains comma separated values. When each line of a textbox does not match the number of comma separated values of the other textbox (ie if line 3 of textbox1 has 4 comma separated words and line 3 of textbox2 does not have 4 comma separated values) I want to highlight the line which does not match the other textbox's line.
This is what I got so far (and got stuck!)
For k = 0 To index
test1 = testA.Lines(k).Split(",")
test2 = testB.Lines(k).Split(",")
[Code].....
I want to search as text is entered into a text box. All works as it should. When the search highlights the first character of the string then ALL following searches have this same color.
For example: I have a listbox with a list of titles. As I move through the titles the RTB displays the story line associated with the title.
RTB = "A big brown box and an apple is the mystery" Search for "a" (All conversions to common case) will highlight all the "a"s. BUT when I click on the next title, ALL the text is now highlighted.
There have been many variations tried and all without success.
I have a textbox for the search string I have a listbox with a list of titles I have a RTB with text associated with each listbox title.
Private Sub FindAll(RTB As RichTextBox, ByVal StartPos As Integer, ByVal SearchText As String)
Do
[Code]......
How to add a Visual Basic .NET syntax highlighting to CodeMirror editor? Does exists the mode for this language on any library? What should I correct except keywords, blockKeywords and atoms? [code]
View 1 RepliesI use VB2010 Express on a Win7(x64) desktop. I use the following code to select items from data listed in a ListView and then save the selections to a database when I have finished choosing. I use the following code
[code language="VB.NET"] Private Sub ListView1_Click(ByVal
sender As Object, ByVal e As System.EventArgs) Handles ListView1.Click
Dim z As Byte = ListView1.SelectedItems.Item(0).Index
Dim n As Byte = 0
[Code] ......
Each time I click on an item in the list, that item is highlighted in Blue. When I click on another, the highlighting transfers to the new item and the previously selected item is green. The HideSelection has no effect on the highlighting, nor does transferring the Focus to another control. How to get rid of the blue highlighting as the only way I have found is to click in the listview control below the data which is counter intuitive.
I have a program which writes to a .log file as it is installing software. Some of the lines will contain either WARNING or FAILED.
What I would like, is a window in my program which will read the .log file and display the content into this window as it is being written too. Any lines which contain WARNING or FAILED in them are highlighted yellow/red.