Neph1x's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Active Members
Active Posts:
110 (0.1 per day)
Joined:
19-November 11
Profile Views:
14,063
Last Active:
User is offline Apr 18 2014 04:41 PM
Currently:
Offline

Previous Fields

Country:
NE
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
BMW
Dream Kudos:
0

Latest Visitors

Icon   Neph1x has not set their status

Posts I've Made

  1. In Topic: MySQL - Displaying Data | + BackgroundWorker

    Posted 17 Dec 2013

    Thank you for that, i really mean that..
    and after i do that everything will be fine and safe?
  2. In Topic: MySQL - Displaying Data | + BackgroundWorker

    Posted 14 Dec 2013

    Thank you for that!

    I will marshal all UI controls back onto the UI thread, and then i can safely use this code:

    SQL = "SELECT * FROM Base WHERE Username = '" & usernametxt.Text & "';"
    
    
    ?

    Btw: what about UI freezing? Do you have some advice for that?


    Thank you.
  3. In Topic: MySQL - Displaying Data | + BackgroundWorker

    Posted 7 Dec 2013

    #DONE,

    Search button:
    Before:

    BackgroundWorker1.RunWorkerAsync()
    


    i was add:

    DataGridView1.DataSource = Nothing
    


    DoWork Sub:
    i was add:

    ContactsData.Clear()
    



    Thank you all for your help!! :rockon:
  4. In Topic: MySQL - Displaying Data | + BackgroundWorker

    Posted 7 Dec 2013

    Thank you CodingSup3rnatur@l-360 for answer!

    And nop, i don't need to use this:

    Dim userName As String
    
    Me.Invoke(Sub() 
                  userName = Me.txtUserName.Text
              End Sub)
    
    
    


    I was tried this code, database request and works perfect

    SQL = "SELECT * FROM Base WHERE Username = '" & usernametxt.Text & "';"
    
    
    


    But now i got new problem :( let's say i write in username textbox: 'Michael' and i press Search for this users, and after i searching for 'Sam' and now backgroundworker do not respond to my reguest, and in DGV only i see Michael no Sam..hmm i think you would understand this xd
  5. In Topic: MySQL - Displaying Data | + BackgroundWorker

    Posted 7 Dec 2013

    Thank you, your code work perfect.. this is Cross-thread operation from BackgroundWorker to UI, how can i Cross-thread operation from UI to BackgroundWorker, i need to transfer text's from username & password textboxes to BackgroundWorker for login check?

My Information

Member Title:
D.I.C Head
Age:
20 years old
Birthday:
October 2, 1994
Gender:
Location:
Unkown
Full Name:
Michael Van Minning
Years Programming:
1
Programming Languages:
vb.net

Contact Information

E-mail:
Private

Friends

Neph1x hasn't added any friends yet.

Comments

Neph1x has no profile comments yet. Why not say hello?