I am making a program and I need to know how to color HTML tags in a RichTextBox really quickly.
My current code works like this:
1. Use the instr to find "<"
2. Use the instr to find ">"
3. RichTextBox1.Selstart=starttag(the value of the highest)
RichTextBox1.selstart=endtag(the value of the lower one)
(Loop until can't find)
I need a code that will increase the speed by alot.
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…