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 Mike Lewis 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: *

  • Users: brews
  • Order by date
  1. brews

    Listview

    Here is the download when clicking view detail: http://www.classreunionprogram.com/downloads/EPC/invalid%20cast.txthttp://files.engineering.com/getfile.aspx?folder=fe077ea7-d8af-4a2d-8748-9246cf172f10&file=invalid_cast.txt
  2. brews

    Listview

    This from _load: Private Sub frmAllView_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim nc As New cCustomers Dim dataMgr As New cData Dim sKey As String = "" Dim sName As String = "" Dim sCityStZip As String =...
  3. brews

    Listview

    Have a list view that populates members from an Access DB. Purpose is then to populate a form when a members name is clicked: Private Sub mnuView_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuView.Click Dim frm As New frmAllView tsStatus.Text = ""...
  4. brews

    format mskphone

    Thank you. That works for me.
  5. brews

    format mskphone

    Thanks for the response. I already have that which does not resolve the issue when someone enters 26 555-1212.
  6. brews

    format mskphone

    Trying to make sure that a mask text box is filled correctly. Tried this with no luck: If mskPhone.Text <> "(xxx) xxx-xxxx" Then MessageBox.Show("Please enter phone data in this format 'xxx xxx-xxxx'", "Wrong Fromat", MessageBoxButtons.OK, MessageBoxIcon.Error) Exit Sub...
  7. brews

    format phone # list view

    You state the obvious.
  8. brews

    format phone # list view

    Have a listview with eight columns. One contains phone numbers which is a challenge for me to present in the usual manner, ie (000) 000-0000. The data is stored in an Access db, stored as text, formatted in the db as !\(999") "000\-0000;;_, 14 characters. Have tried formatnumber(file, 10)...
  9. brews

    File System

    Trying to make a shortcut in the file system of a sln. However, when the shortcut is highlighted, the property box offers only a folder, application folder. In a different sln, the property box allows a file to be chosen. How to cure? Thanks.
  10. brews

    finding absolute row in a dataset

    It appears that this was perferctly clear to nobody but me. Let me start again. When a record is being edited, then saved, it would be convenient to be able to scroll through the database, alphabetically to view and if necessary make corrections, save the record and move on. To me that was...
  11. brews

    finding absolute row in a dataset

    What I am trying to do is to increment/decrement by one (1) record alphabetically. Threrefore, knowing the datarow, I could go forward/backward by one row. Is there a better way? thankx.
  12. brews

    finding absolute row in a dataset

    Isn't that what is being done?
  13. brews

    finding absolute row in a dataset

    VB6 used movenext and moveprevious to increment/decrement the absolute record in a dataset. VS 2008 does not seem to have those features. This is what I have to start. iMemberID finds the current record, next find the total number of rows (iMaxRows), then run through the database looking for...
  14. brews

    Read a text file

    Dave, you say zero suppress. Only if it is not part of the address. Found out that the proceeding zero was added when checking the second record whose address is 3226 and not 32260.
  15. brews

    Read a text file

    Thanks for the explanation. The street address field is 5 and either shows up as the number it is and the rest of the field is blank or filled with preceeding 0's. I'll go with the .trim function for testing. thanks for your help
  16. brews

    Read a text file

    either this record or the previous added a 0 under the original code. Therefore, it returned 53000 and 32260: 6000436201211121157005000 000000000 0004529 BOBADILLO JACQUELYN 3226 ANDRICKS RD LA PORTE TX77571 00000000000000300...
  17. brews

    Read a text file

    Thanks for the replies. This is a typical text record: 6009412201211121236265000 000000000 0002864 BADA KEMI 5300 W GULF BANK RD 203 HOUSTON TX77088 00000000000000300 000000000...
  18. brews

    Read a text file

    Reading a text file locating certain positions, I am using: Dim Lines = _ ( _ From line In IO.File.ReadAllLines(OpenFD.FileName) _ Where line.Length > 0 AndAlso _ Not line.StartsWith("5") AndAlso _ Not line.StartsWith("9") _...
  19. brews

    startup path

    When starting an application in VS 2008 to connect to the db i used --> Private cn As OleDbConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "\Customers.mdb"). After I tried to make it an executable, the application.startuppath now...
  20. brews

    Print Selected records

    Converting from VB6 and CR9 to VS2008 and CR2008. Have a module that is identical in both however the VB6 part prints exactly as it should where the VS2008 part prints all available records. A listview with checkboxes is populated with the records to be printed. The user chooses which records...

Part and Inventory Search

Back
Top