| Welcome, Guest | 
 
You have to register before you can post on our site. 
 
 | 
 
  
 
 
| Online Users | 
 
There are currently 2 online users. » 0 Member(s) | 1 Guest(s) Google
 | 
 
 
 
| Latest Threads | 
 
Womans from your city - V...
 
Forum: Random Discussion 
Last Post: iHOMEz 
02-27-2025, 12:59 PM 
» Replies: 1 
» Views: 4,014
 | 
 
Looking for Adventure? Fi...
 
Forum: Random Discussion 
Last Post: iHOMEz 
01-08-2025, 11:00 PM 
» Replies: 1 
» Views: 2,995
 | 
 
Find Local Women Looking ...
 
Forum: Random Discussion 
Last Post: iHOMEz 
12-27-2024, 12:11 AM 
» Replies: 0 
» Views: 1,918
 | 
 
Prettys Womans in your to...
 
Forum: Random Discussion 
Last Post: iHOMEz 
10-30-2024, 07:45 AM 
» Replies: 0 
» Views: 2,740
 | 
 
Prettys Womans in your ci...
 
Forum: Random Discussion 
Last Post: iHOMEz 
10-26-2024, 10:50 AM 
» Replies: 0 
» Views: 2,669
 | 
 
Beautiful Womans from you...
 
Forum: Random Discussion 
Last Post: iHOMEz 
10-19-2024, 02:48 PM 
» Replies: 0 
» Views: 2,820
 | 
 
Prettys Womans in your ci...
 
Forum: Random Discussion 
Last Post: iHOMEz 
10-06-2024, 05:00 PM 
» Replies: 0 
» Views: 3,019
 | 
 
Supreme Сasual Dating - A...
 
Forum: Random Discussion 
Last Post: iHOMEz 
06-14-2024, 11:28 AM 
» Replies: 0 
» Views: 3,817
 | 
 
Beautiful Womans in your ...
 
Forum: VB.NET 
Last Post: iHOMEz 
06-09-2024, 09:23 PM 
» Replies: 0 
» Views: 4,138
 | 
 
Hangman in Rust
 
Forum: Other 
Last Post: brandonio21 
02-04-2018, 11:14 AM 
» Replies: 2 
» Views: 24,130
 | 
 
 
 
 | 
  | 
|   My New SIte | 
 
| 
Posted by: manishshrestha60  - 10-18-2012, 04:39 PM - Forum: Your Sites! 
- Replies (2)
 | 
 
	
		
  | 
		
			 
				This is my site but it is not ready yet. 
<!-- m --><a class="postlink" href="http://lyricshunter.co.cc/">http://lyricshunter.co.cc/</a><!-- m -->
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
 
|   [SOLVED] MySQL Update Query - What am I doing wrong? | 
 
| 
Posted by: kismetgerald  - 10-17-2012, 12:08 PM - Forum: Programming Help 
- Replies (11)
 | 
 
	
		
  | 
		
			 
				Hello guys, 
 
You should all know that my learning of the Visual Basic language is improving.  I can't stress enough how much Brandon's tutorials have helped me. 
 
So, I'm working on a query to update records in my MySQL database.  For some strange reason, the DB isn't being updated and I can't figure out what's wrong.  Any assistance would be really appreciated, thanks. 
 
HERE'S MY CODE: 
 
[code2=vbnet]Private Sub updateCard() 
        Call encryptCard() 
 
        Dim ConnectionString As String = String.Format("Server={0};Port={1};Uid={2};Password={3};Database=accounting", FormLogin.ComboBoxServerIP.SelectedItem, My.Settings.DB_Port, My.Settings.DB_UserID, My.Settings.DB_Password) 
        Dim myQuery As String = "UPDATE cc_master " & _ 
                               "SET ccType = @ccType, ccNumber = @ccNumber, ccExpireMonth = @ccExpireMonth, " & _ 
                               "ccExpireYear = @ccExpireYear, ccAuthorizedUseStart = @ccAuthorizedUseStart, " & _ 
                               "ccAuthorizedUseEnd = @ccAuthorizedUseEnd, ccZipcode = @ccZipcode, dateModified = @dateModified, modifiedBy = @modifiedBy " & _ 
                               "WHERE ccID = @ccID" 
 
        Using dbConn As New MySqlConnection(ConnectionString) 
            Using dbComm As New MySqlCommand() 
                With dbComm 
                    .Connection = dbConn 
                    .CommandType = CommandType.Text 
                    .CommandText = myQuery 
                    .Parameters.AddWithValue("@ccID", ListViewCard.SelectedItems(0).ToString) 
                    .Parameters.AddWithValue("@ccType", ComboBoxCardType.Text) 
                    .Parameters.AddWithValue("@ccNumber", encryptedCard) 
                    .Parameters.AddWithValue("@ccExpireMonth", TextBoxExpireMonth.Text) 
                    .Parameters.AddWithValue("@ccExpireYear", TextBoxExpireYear.Text) 
                    .Parameters.AddWithValue("@ccAuthorizedUseStart", Format(DateTimePickerStartDate.Value, "yyyy-MM-dd HH:MM s")) 
                    .Parameters.AddWithValue("@ccAuthorizedUseEnd", Format(DateTimePickerEndDate.Value, "yyyy-MM-dd HH:MM s")) 
                    .Parameters.AddWithValue("@ccZipcode", TextBoxZipCode.Text) 
                    .Parameters.AddWithValue("@dateModified", Format(DateTime.Now, "yyyy-MM-dd HH:MM s")) 
                    .Parameters.AddWithValue("@modifiedBy", FormLogin.TextBoxUsername.Text) 
                End With 
 
                Try 
                    Dim affectedRow As Integer 
                    dbConn.Open() 
                    affectedRow = dbComm.ExecuteNonQuery() 
                    If affectedRow > 0 Then 
                        MessageBox.Show("Card info SUCCESSFULLY updated!") 
                    Else 
                        MessageBox.Show("Card info NOT updated!") 
                    End If 
                Catch ex As Exception 
                    MessageBox.Show("A DATABASE ERROR HAS OCCURED" & vbCrLf & vbCrLf & ex.Message & vbCrLf & _ 
                                        vbCrLf + "Please report this to the IT/Systems Helpdesk at Ext 131.") 
                End Try 
            End Using 
        End Using 
 
    End Sub[/code2]
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
 
 
|   A message regarding spam | 
 
| 
Posted by: brandonio21  - 10-13-2012, 09:08 PM - Forum: Computing 
- Replies (7)
 | 
 
	
		
  | 
		
			 
				Hey guys! 
 
As you are probably aware, there has been a recent slew of spam that has contained messages about kitchen cabinets, website design, and foot fungus. In the past, I have personally fought the spam and manually banned the accounts and deleted the posts. However, since the forum has gained popularity, I cannot handle this large task anymore. 
 
To fight this spam, I have installed a few countermeasures: 
1) To register for an account, you need to answer a question that is somewhat random; however, it is definitely answerable. 
2) All new accounts are now monitored by a spam filter which connects with a database of spam IP Addresses and usernames. If the registered account is contained within one of these databases, registration will be blocked. 
3) All posts will be filtered by the same spam filter, and any posts that contain sketchy URLs will be immediately deleted and the posters will be banned. 
4) Finally, all accounts that are banned on BP Forums will be uploaded to the "spam" database, making BP Forums play a major role in the fight against spam. 
 
 
These spam countermeasures should work very well, so prepare to see a reduced amount of spam on BP FORUMS! 
 
Also: We have a new logo. It's monospace.
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
|   First pair of shoes question? | 
 
| 
Posted by: jerroldn26  - 10-12-2012, 09:37 PM - Forum: Off-Topic 
- Replies (1)
 | 
 
	
		
  | 
		
			 
				is it true that air pump basketball shoes could cause tissue and nerve damage to the feet if over pumped? How do I go about knowing how much pressure I should bump in to the shoes since I love to pump the shoes till my feet are completely tight?
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
|   Shoes Question? | 
 
| 
Posted by: jerroldn26  - 10-12-2012, 09:16 PM - Forum: Off-Topic 
- No Replies
 | 
 
	
		
  | 
		
			 
				what is the price I should expect to pay for a pair of designer basketball shoes? I would like to get a pair and if possible unique to gift to a friend but it all depends on the price since I don’t have a huge amount to pay but would like to get a reasonable gift for him.
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
|   I need you brandonio | 
 
| 
Posted by: kenomote  - 10-12-2012, 09:41 AM - Forum: VB.NET (Visual Basic 2010/2008) 
- Replies (1)
 | 
 
	
		
  | 
		
			 
				hey guys i just watch the 2nd tutorial on youtube about the implementation of MySQL to Visual Basic and it seems that i am having problem with the  
 
data.Read() 
and 
data2 = command2.ExecuteReader  
 
the error point out the two  
when i try to test if the duplication of the username 
also if i try to insert a new data 
 
 
 btw this is my code 
 
[code2=vbnet]Private Sub cmdReg_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdReg.Click 
        conn = New MySqlConnection("host=localhost; uid=root; pwd=root; database=mydatabase") 
 
        Dim Username As Boolean = True 
        conn.Open() 
        Dim mystr As String = "SELECT * FROM tbluser WHERE Username = '" & txtUser.Text & "';" 
        Dim mydr As MySqlDataReader 
        Dim myda As New MySqlDataAdapter 
        Dim mycmd As New MySqlCommand 
        mycmd.CommandText = mystr 
        mycmd.Connection = conn 
        myda.SelectCommand = mycmd 
        mydr = mycmd.ExecuteReader 
        While mydr.Read 
            If mydr.HasRows = True Then 
                MsgBox("Username Already exsist! Please choose another username.") 
                Username = False 
                mydr.Close() 
            Else 
                mydr.Close() 
                Username = True 
            End If 
        End While 
        mydr.Close() 
        If Username = True Then 
            Dim mystr2 As String = "INSERT INTO tbluser (FirstName, LastName, Contact#, Username, Password)VALUES ('" & txtUF.Text & "','" & txtUL.Text & "','" & txtUC.Text & "','" & txtUser.Text & "','" & txtPass.Text & "')" 
            Dim mydr2 As MySqlDataReader 
            Dim myda2 As New MySqlDataAdapter 
            Dim mycmd2 As New MySqlCommand 
            mycmd2.CommandText = mystr2 
            mycmd2.Connection = conn 
            myda2.SelectCommand = mycmd2 
            mydr2 = mycmd2.ExecuteReader 
            MsgBox("You've Registered!") 
        End If 
    End Sub 
End Class[/code2] 
 
 
i dont know how to write a proper topic on forums so sorry for if i made a mistake posting topics and please brandonio(awesome name but anyway)  
i need your help, man.
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
 
 |