Disable RichTextBox's History

Feb 28, 2009

i'm making a web editor and i do a lot of syntax coloring in a richtextbox, but if i want to Undo it just undo's the font and the coloring, is there a way to disable the rtb's history ? I found this code on the internet but it doesn't seem to work

If e.Control AndAlso (e.KeyCode = Keys.Z) Then
While CodeRTB.CanUndo AndAlso CodeRTB.UndoActionName = "Unknown"
CodeRTB.Undo()

[Code].....

View 5 Replies


ADVERTISEMENT

Use My Own Browsing History (without Adding Pages To History Of IE)?

Mar 25, 2010

I'm using visual basic 2008 and really need help in this question ...

-I'm creating a web browser : how to stop adding pages to Internet Explorer History...

-And auto save/open Listbox (so i could use my own browsing history)

View 5 Replies

Disable Scroll Bar On A RichTextBox?

Nov 5, 2009

1) disable the scroll bar on a richtextbox

2) transfer all scroll capability to a standalone scrollbar control

View 1 Replies

Change Backcolor Or Disable Richtextbox?

Oct 28, 2009

i have richtextbox which set enable to false. I want to change the backcolor to any color beside its default grey color. Is it possible?

View 4 Replies

C# - Disable Font-size Change For Richtextbox

May 29, 2011

In my vb.net application I am using richtext boxes with readonly property set to True
but still its font size can be changed using mouse wheel and default windows keyboard shortcut for fontsize change (ctrl+shift+ >/<). So how do I disable richtext box font-size change?

View 1 Replies

C# :: Disable Font-size Change For Richtextbox?

Mar 22, 2011

In my vb.net application I am using richtext boxes with readonly property set to Truebut still its font size can be changed using mouse wheel and default windows keyboard shortcut for fontsize change (ctrl+shift+ >/<

View 5 Replies

Disable Drag&Drop Of Files In Richtextbox In .NET?

Mar 17, 2010

I use a .NET richtextbox and I want to have the EnableAutoDragDrop property set to True. This allows user to drag&drop text, rtf and images around etc. However, I need to process files dropped into the richtextbox myself - I do not want them to be embedded as OLE objects when they are dropped.

How can I overcome this? Is there any way to delete embedded files from richtextbox?

(I've found API DragAcceptFiles which doesn't work for some reason.)

View 1 Replies

VS 2008 RichTextBox - Disable Mouse Scaling?

Apr 17, 2011

Finishing off my control, but I now found a nasty problem. When the user holds the 'Ctrl' key and scrolls the mouse scrollwheel, the control is scaled. I do not want that, since it would make the Font size fail.

I previously made it reset the scale on Control up, but that is just not a very elegant way:

Me.ZoomFactor = 1 I do not want the text scaled at any time, not even while the user is scrolling and it resets afterwards. I got to overriding the 'ProcessCmdKey' but no idea how to catch a scroll or zoom event.

Any way of disabling the RichTextBox scaling (or zooming) so it does not even occur? I have a control that inherits from the RichTextBox.

View 2 Replies

.net - WPF - Disable The Default EditingCommands Behavior On Custom Richtextbox?

Mar 26, 2010

I want to disable the majority of the built-in functionality of the WPF Richtextbox that is found in "EditingCommands"

How can I go about disabling them?

View 1 Replies

Disable Richtextbox Showing Hand Cursor Over Links?

Apr 8, 2010

I'm writing an vb.net application so that the user can type text to be added to a website. I'm using a richtextbox and I've added the facility to hyperlink selected text. This all works, but when the mouse cursor moves over a hyperlink it changes to a hand; how do I stop it doing that? It's confusing for the user as it looks like clicking the link will do something and it makes it awkward to correct spelling within the text of the hyperlink.

View 3 Replies

RichTextBox Disable Span/Extended/Word Selection?

Apr 2, 2010

When I select text with a mouse in dense text like an XML file the selection automatically extends to what it thinks is a white space (or?). How do I turn off this "word selection" and just select the characters the cursor passes over?VS2010 Beta, VB.Net

View 7 Replies

RichTextBox Scroll 1 Line Instead Of 3 Or Disable Smooth Scrolling?

Feb 7, 2011

I am new to programming- basically I have a richtextbox1 with some data from the database,but when you scroll it scrolls 3 lines, whereas I want to scroll only one line at a time.

Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
Dim mySelectQuery As String

[code].....

View 2 Replies

Disable A Timer - Will Finish The Process And Then Disable Or Will It Immediately Disable Without Completing Process?

Dec 22, 2011

I am confused what will happen, when I disable a timer. Will it finish the process and then disable or will it immediately disable without completing process? for example

[Code]....

I want to run getMessage from somewhere else, so I need to disable timer during that time to be asured not to override anything and also before timer disable it should complete that function code.

View 3 Replies

Disable Right Click And To Disable The Start Button And Task Bar?

May 16, 2009

to disable right click and to disable the start button and task bar?

View 4 Replies

Clearing IE's History From With VB?

Feb 18, 2009

How would I go about clearing IE's history from with VB? I've looked on the internet and couldn't find anything, and I honestly don't have a clue about how to do it.

View 1 Replies

History For A Web Browser?

Nov 22, 2011

I am a still a beginner at this so bare with me. I have made a web browser which is my starting point in VB. Now its fully functional and has history and all that. And i am using tab control as the browser part. History works when the go button or enter key is pressed but I can't get this to work when a user clicks a link.

Public Class Form1
Dim int As Integer = 0
Dim tabs

[code].....

View 2 Replies

History For Web Browser?

Sep 1, 2009

In the Settings, do I have the type as System.Collections.Specialized.StringCollection and the scope as User?

View 2 Replies

How To Make A Log In History

Jan 15, 2012

Im working with vb2010 with ms access as its database and a newbie into programming. is there anybody who have an idea how to make a log in history.. i mean whenever you specify date from..to.. (e.g 01/02/2012 to 01/05/2012 ) on ur filter command it'll display on a listbox the user who logged in at their specific date and time and what they have accessed inside the program.

View 7 Replies

Way To Search A Richtextbox Textfile That Will Highlight All Word Finds And Then Send Them To Another Richtextbox?

Aug 26, 2010

I have a richtextbox with a large file inside....I want to be able to search for "Fornication" within the text (KJV Bible) and have every instance of that word to pop up into another richtextbox along with the scripture it is in.

View 1 Replies

Add History Features In The Web Browser

Nov 6, 2009

[Code]...

list of URL for the web pages requested by the user should be maintained. The user should be able to navigate previous pages requested by clicking on the links in the History list. On the browsers start up, the History list should be loaded to the browser.

View 1 Replies

Add History Features In The Web Browser?

Apr 6, 2010

add history features in the web browser

View 2 Replies

Clearing History In A ComboBox?

Apr 11, 2010

So basically my webbrowser has comboboxes and 1 menustrip button(clear all history).

In the menustrip i got History
And In history i got "Show All History"
and "Clear All History"

I turned the "Show All History" into a ComboBox.

And i have another ComboBox for history just like firefox has on its navigation TexTbox.

Lets say the Menutrip ComboBox is ComboBox1 and the other one for the NavigationText is ComboBox3.

What happens is when i press Clear All History They get cleared BUT STAY CLEARED Here are my codes:

[Code]...

View 34 Replies

Finding The History Of PictureBox?

Oct 31, 2009

I have created a form and display alot of icons on the location that I want. After I displayed several icon on the form then I would like to delete a couple of them but I could not find the history of location or a link to that icon so I can not delete it.

Here is my code:

Private Sub Form1_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseClick
CoorY1 = 410
CoorY2 = 425

[code]....

From the Form1_MouseClick I link to the MyPicClicked with g_CoorX1 and g_CoorY1 but it only give me the location that next the the last icon I display. Please, anyone help to show me how to keep an index or record or anything of the location that I display.

View 2 Replies

How To Create A History Thing

Aug 9, 2010

have a web browser and want to know how to create a history thing, I want to be able to view history in a seperate form, I want in my options to be able to delete history, and I want my combobox to be able to view the last addresses I have

View 6 Replies

How To Save History In Combobox

Aug 6, 2011

Iam making a web browser which consist a combobox as the address barso how to save any address will be written in it even after closing my app?

View 3 Replies

Php - Disallow History In Vb.net Web Browser?

Feb 16, 2010

I have a vb.net program that allows you to access webpages in my localhost. Now, my problem is that, when I try to list records in mysql by using tables, it remembers history and the previous data that you listed will appear like a ghost even if the data you inputted does not correspond to the data that it is showing. How can I avoid that?

View 1 Replies

TabControl With Favorites And History

Mar 6, 2011

I have tabcontrol that acts like a web browsers how do I can make it have history and favorites.

View 2 Replies

Using SMO To Add Job History Data To TreeGridView

Dec 18, 2010

I'm trying to produce a history viewer similar to the Log File Viewer in SSMS. To group history I'm using Marks TreeGridView [URL] I can filter the results down to just the job in question, but how do I: Group the results similar to the Log File Viewer (Grouped by job run) I cannot see any columns to differentiate job runs. Add them to the TreeGrid in such a way they display as pictured. I'm using SMO to retrive the job history and filtering to show only the required job:

Dim server As New Server(SQLServer)
Dim jobServer As JobServer = server.JobServer
Dim jhf As New JobHistoryFilter()
jhf.JobID = j.JobID
Dim jobHistory As DataTable = j.EnumHistory(jhf)

View 12 Replies

VS 2008 Bookmarks And History?

Jun 3, 2011

i have made a basic web browser, i am trying to add bookmarks and history on to it. I have made a basic bookmarks form where you can add pages, but i want when you double click on a bookmark for it to open in the browser, and i have added a button to add the current page into the bookmarks, but that does not have any code as i did not know where to start.

Also i have not made a template for history as i did not know where to start, please help me out as i really want to get a fully working web browser. Also i have put a link for you to look at the code, and i know the media player is affecting the tabs, i would like to keep the media player but would not like it to auto open if you can also help there (i didnt put that in a friend did)

here is the link, i would have attached it but it was more than 500kb, it was 1.17mb on my pc and 1.18 on mediafire:[URL]..

View 7 Replies

VS 2008 Viewing IE's Web History

Jan 11, 2012

I have not been able to find code to list the sites visited by IE and FireFox. I found code for IE that gets the websites typed in.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved