Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Woofer2

    How to generate Random Numbers.

    Using the system clock for the generation. When using " Rnd " Label1.Text = CStr(Int(Rnd() * 10)) add the following under Form1_Load Randomize() Example___________________________________________ Public Class Form1 Inherits System.Windows.Forms.Form Private Sub...
  2. Woofer2

    Truly Random Number Generator

    Here you go. It uses the system clock for the generation. When using " Rnd " Label1.Text = CStr(Int(Rnd() * 10)) add the following under Form1_Load Randomize() Example___________________________________________ Public Class Form1 Inherits System.Windows.Forms.Form Private...
  3. Woofer2

    Datagrid lost focus if mouse wheel Scrolled past Top or Bottom

    Hello expert, I have a DataGrid Mouse Scroll Problem: I can scroll from Start to End using the vertical scrollbars but when scrolling with the mouse and the selected row is scrolled past the top or bottom of viewing area the DataGrid looses focus (stops scrolling). Only found similar...
  4. Woofer2

    Create DataTable from Text or ListBox W/Comma Delimited

    How many STARS can I give? Works like a champ! Extreme test on 1,900 lines and 12 columns = 22,800 values….. 22 sec. - Looping through each column.add, row.add, w/ delimiter (old code). vs. 1 sec. – (Now) The reason why I wanted a code like that was SPEED. Fewer loops equal faster program...
  5. Woofer2

    Create DataTable from Text or ListBox W/Comma Delimited

    Sweep, thanks for bringing up the issue of datatype. I have stored the data (in a text file) as 1 record per row and each data (Column) being separated by commas like most people would do. I StreamRead this file into a TextBox and use the Split method looping through for each row and column...
  6. Woofer2

    Create DataTable from Text or ListBox W/Comma Delimited

    I am trying to create a DataTable with Columns and Rows from existing "Comma delimited Text/String" in either a TextBox or ListBox, which ever is faster. Like passing the information from an Array or Collection, not looping through all Columns and Lines. Thanks,

Part and Inventory Search

Back
Top