Search results for query: *

  • Users: TwoWing
  • Content: Threads
  • Order by date
  1. T

    RichTextBox Find

    Hello. I have this code for finding a string in a RichTextBox - Public Sub SelectMyString() rtbWord.Find(TextBox1.Text, RichTextBoxFinds.MatchCase) rtbWord.SelectionFont = New Font("Verdana", 12, FontStyle.Bold) rtbWord.SelectionColor = Color.Red End Sub- how can I...
  2. T

    How do you find all rows of the same string in ListView?

    Hello. I have this code to find the first instance of a string in a ListView:- Dim item1 As ListViewItem = ListView1.FindItemWithText(TextBox1.Text) If Not (item1 Is Nothing) Then MessageBox.Show("Found " & item1.Text)...
  3. T

    How to ignore case.

    Hello. I am working on a program that checks to see if the string put in a TextBox is already in a ListBox. If it isn't, then the string is added to the ListBox. But the trouble is that the program will accept a word if the case is different to one spelt the same in the ListBox. How can I...
  4. T

    Can't use network printer.

    Hello. I suppose this might be related to programming because I want to print my code in VB.net that I am working on from my laptop which is connected to my main computer (away somewhere) by hard wire. There are two things that pop up when trying to sort it out: One is that the names that I put...
  5. T

    InteropServices and Beep

    Hello. I got a short program today in using the following code at the top:- Imports System.Runtime.InteropServices Public Class frmKeyboard <DllImport("KERNEL32.DLL")> _ Public Shared Sub Beep(ByVal freq As Integer, ByVal dur As Integer) End Sub In Private Subs the following code is used...
  6. T

    ListView Selection

    Hello. Is there a way to select/highlight a line in a ListView without clicking on the line? Such as matching what is in a TextBox with a button click? I have searched the internet and MSDN but can not find anything. There must be a way, surely? Can someone please show me how to do it. Thanks.
  7. T

    CheckedListBox-KeepSettings

    Hello. What is the way to keep the checked or not-checked state of every one of the items in a CheckedListBox when getting out of the program and how can they be the same when getting back into the program? I cannot seem to work it out because the check boxes are part of a proper control. I am...
  8. T

    Missing file is not missing!

    Hello. What a title! Eh? I was right at the end of installing dotNET 2003 on a reconditioned computer with Windows Xp when the 3rd disk of MSDN Library wouldn't finish - with msg. "Error 1305." Mesage said it couldn't find file: _vsmsdn.hxq. I put disk on another computer and the file is on...
  9. T

    Text File Contents into 2 Columns.

    Hi. I have a text file with contents. I can print them off in a single column. I can display them one at a time with MessageBox.Show. But what I want to do is to put them into two columns. The first item into the left-hand column and the second into the right-hand one. Then the third into...
  10. T

    Printing Long List.

    Hi. I have found the coding for printing a long list from a Text File (From MSDN - Help) whereby it goes on to extra pages but I cannot seem to convert the coding so it does the same from a List Box. This is my coding which prints just one page. I need to print onto extra pages to continue the...
  11. T

    Decimal Places

    Hi There! I am sure there is a way but I cannot think of it at present. I have a project using cash and therefore there are two places of decimal. But if two or more figures are added (Or whatever) and come to an exact amount I do not get a decimal point followed by two zeros. How can I...
  12. T

    Just-In-Time Debugging

    Hi. Please excuse me if I am in the wrong place for this query. Or, if indeed, you take this sort of thing! A few times today when I have been logging on to the net I have had a window appear with that title: "Just-In-Time Debugging" In the box there appears two lines of text that seems that it...
  13. T

    Concern

    Good Day Folk. I don't know if you have been monitoring some correspondence that I started by asking a simple question about IO.Streamreader. It matters not why I asked it. I have been given the run-a-round by someone I mistakenly thought knew the solution. I took time to look at info about...
  14. T

    IO.Streamreader

    Hello Friends, I bet the answer to this is easy - but I don't know it! Can someone please help with this? With the following Code I can get all the towns listed in the file with the MessageBox. But only one at a time. Can someone please give me the Code to get the whole lot in a TextBox...
  15. T

    Information Required

    Hello. 1. Firstly, I don't know if I am in the correct location to ask this and I didn't know of a suitable title. You want feedback? Well, I have never met a finer set of people to give assistance - and I don't just mean computering. What I like is the thought given to the answer - that...
  16. T

    Deleting Graphics

    Hi. I found in a book by Clayton Walnum a basic thing to do that I hadn't come across before - it is writing on a Form. I shall give the Coding after this writing. OK! I can do this and can change color, font and so on......... BUT, how can it be deleted or erased. I suppose this is the...
Back
Top