Recent content by mikerob283

  1. M

    threads

    thread runs a method the method checks and verify's a username and password does the thread just automatically stop after the method is complete or do i need to add something at the end of the method to close, stop, or abort the thread so it releases it's memory? or does the thread just stop...
  2. M

    changing italics of a font

    lblStatus.Font.Italics = False error - property 'italics' is 'readonly' i laugh at myself, i knew it couldn't be that simple.
  3. M

    trim characters off the end of a string

    Using MSDE server I have a table with (productid, description, cost) productid is int description is varchar cost is money but money is adding 2 extra 0's on the end of every entry thats fine for the database but when i view that in a table in a datagrid I want it to trim the extra 2 00's on...
  4. M

    doube click row - fill textboxes

    Yes this did work and this is the event i made to make that work just encase anyone else wanted to know, i'll be nice and post my working code so that everyone can benefit unlike others who just say "it's fixed" and don't let everyone in on how it was "fixed" Thank you very much! Private...
  5. M

    doube click row - fill textboxes

    i have a category, vendor, part_no, description, cost, markup textboxes. I enter data into those textboxes and click add add then takes the data from the textboxes and inserts into "inventory" table in a sql server then refreshes the datagrid showing the table "inventory" w/ added row now...
  6. M

    button on form 2 effect menu's enable on form 1

    Ya know what I'm sorry I saw this article "Give this article a read: Multiple Forms in VB.NET. Part 4 - Accessing Controls and Data ..." being posted over and over and I read through it so fast I thought " I already did that! this is not working!" But I stopped and slowly read it and I...
  7. M

    button on form 2 effect menu's enable on form 1

    I don't think I'm quite grasping the concept of controlling form 1 from form 2 while both are open. form 1 opens form 2 opens as a show (login form) form 1's menu is disabled til form 2 is verified and closed it's not happening form 1 : Sub Page_Load Dim frmForm2 As New frmForm2...
  8. M

    oledb use LIKE instead of = ?

    I would like to still know what is the reason that I can't use a = . But I have come to another conclusion, unless I put the %'s around the username it still has to be an exact match in order to gain access.... now I can do the happy dance cause I didn't delete the whole program and start...
  9. M

    oledb use LIKE instead of = ?

    I finally narrowed a agonizing error down to this one item... sql = "SELECT * FROM users WHERE username = '" & txtUsername.Text & "'" will not work, but this will... sql = "SELECT * FROM users WHERE username LIKE '" & txtUsername.Text & "'" as you can see the only difference is the = and...
  10. M

    executing function on form 1 from form 2

    ok I changed that to frm2.Show() instead... but still I have 3 ways currently programmed in to transfer the text from the text on form 2 to form 1... form 2 loads the text into public variables in a module, form 1 pulls from this module the variables... when the ok/apply is clicked... form...
  11. M

    executing function on form 1 from form 2

    Ah made Sub Refresh_lblStatus(), Public Sub Refresh_lblStatus() and that made it show up in form 2 as frm2.Refresh_lblStatus() but it still don't refresh the lbls on form 1
  12. M

    executing function on form 1 from form 2

    executing events on form 1 from form 2 Pay close attention to comments please. There are alot of things that would be benificial if I could execute events from satellite forms. Basically this is the real deal I have a datagrid and some labels on form 1. I click a button on form 1 to open form 2...
Top Bottom