Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 3 online users. » 0 Member(s) | 1 Guest(s) Bing, Google
|
Latest Threads |
Looking for Adventure? Fi...
Forum: Random Discussion
Last Post: iHOMEz
11-16-2024, 09:18 PM
» Replies: 0
» Views: 508
|
Prettys Womans in your to...
Forum: Random Discussion
Last Post: iHOMEz
10-30-2024, 07:45 AM
» Replies: 0
» Views: 805
|
Prettys Womans in your ci...
Forum: Random Discussion
Last Post: iHOMEz
10-26-2024, 10:50 AM
» Replies: 0
» Views: 819
|
Beautiful Womans from you...
Forum: Random Discussion
Last Post: iHOMEz
10-19-2024, 02:48 PM
» Replies: 0
» Views: 919
|
Prettys Womans in your ci...
Forum: Random Discussion
Last Post: iHOMEz
10-06-2024, 05:00 PM
» Replies: 0
» Views: 1,078
|
Womans from your city - V...
Forum: Random Discussion
Last Post: iHOMEz
07-28-2024, 10:26 AM
» Replies: 0
» Views: 1,458
|
Supreme Сasual Dating - A...
Forum: Random Discussion
Last Post: iHOMEz
06-14-2024, 11:28 AM
» Replies: 0
» Views: 1,880
|
Beautiful Womans in your ...
Forum: VB.NET
Last Post: iHOMEz
06-09-2024, 09:23 PM
» Replies: 0
» Views: 1,686
|
Hangman in Rust
Forum: Other
Last Post: brandonio21
02-04-2018, 11:14 AM
» Replies: 2
» Views: 20,697
|
How to: Search files from...
Forum: VB.NET
Last Post: brandonio21
11-25-2017, 12:55 PM
» Replies: 1
» Views: 16,011
|
|
|
How to add code to Cross(X) button on a form |
Posted by: Himansh - 03-26-2012, 09:53 AM - Forum: VB.NET (Visual Basic 2010/2008)
- Replies (3)
|
|
Hi everybody
I saw brandons tutorial of "How to create a software series"
I saw how you created Notepad
But when we close the notepad you created in your video
it unlike normal notepad don't ask for confirmation if we haven't saved the text .
So i wanna ask that "How to add code to cross(X) button on form so that when one clicks on it, it asks for Confirmation
Thanks in Advance!!!!!!!!!!
|
|
|
Generating Random Numbers in Visual Basic |
Posted by: Himansh - 03-25-2012, 12:13 AM - Forum: VB.NET (Visual Basic 2010/2008)
- Replies (1)
|
|
I recently watched this video
<!-- m --><a class="postlink" href="http://www.youtube.com/watch?feature=player_detailpage&v=G1reHzr3DCI">http://www.youtube.com/watch?feature=pl ... 1reHzr3DCI</a><!-- m -->
And the video shows this frmula for generating random number
(highnumber-lownumber+1) *Rnd() + lownumber
Can anybody tell me how does this formula works
I.e the logic behind this formula
Thanks in Advance!!!
|
|
|
Computer information |
Posted by: brco900033 - 03-21-2012, 10:55 AM - Forum: Programming Help
- Replies (3)
|
|
Hello,
I'm making a computer information program and i was wondering if I can make a code that searches for an installed antivirus on the computer...
so
1 Is it possible?
2 If it's possible, how can i make that code?
Many thanks!
|
|
|
VB and MySQL help please |
Posted by: Chad1020 - 03-20-2012, 10:41 PM - Forum: Programming Help
- Replies (2)
|
|
hello, after a few year of in activeness in VB I'm back trying to make a program for myself to track some data, I followed along with the tutorial that on you tube, it seems to run ok with a couple exceptions. an 1 error that I have no clue how to fix or what it is.
first thing:
forgive me but I dont remember what it's called but if I click on the side bar to step by step the code on the While and the name is not in the database it bypassed the if statement, and if the name is in the database if pops up the msg box but if I hit it again I get an error Invalid attempt to read when reader is closed.
Second thing:
I get error MySqlException, on data2.command2.ExeciteReader
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Case, Powder, Bullet, Primer, Date, Comments)VALUES ('ert','ert','rt','et','erte' at line 1"
full Code below
Code: Imports MySql.Data.MySqlClient
Public Class frmMain
Public conn As MySqlConnection
Public Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub btnSave_Click(sender As Object, e As EventArgs) Handles btnSave.Click
Dim NAME As Boolean = True
conn = New MySqlConnection("server=db4free.net;Port=3306;user id=PRIVATE;password=PRIVATE;database=PRIVATE")
conn.Open()
Dim sqlquery As String = "SELECT * FROM Reloads WHERE Name = '" & txtName.Text & "';"
Dim data As MySqlDataReader
Dim adapter As New MySqlDataAdapter
Dim command As New MySqlCommand
command.CommandText = sqlquery
command.Connection = conn
adapter.SelectCommand = command
data = command.ExecuteReader
While data.Read()
If data.HasRows() = True Then
MsgBox("Name Already in use!")
NAME = False
data.Close()
Else
data.Close()
NAME = True
End If
End While
data.Close()
If NAME = True Then
Dim sqlquery2 As String = "INSERT INTO Reloads (Name, Case, Powder, Bullet, Primer, Date, Comments)VALUES ('" & txtName.Text & "','" & txtCase.Text & "','" & txtPowder.Text & "','" & txtBullet.Text & "','" & txtPrimer.Text & "','" & txtDate.Text & "','" & txtComments.Text & "')"
Dim data2 As MySqlDataReader
Dim adapter2 As New MySqlDataAdapter
Dim command2 As New MySqlCommand
command2.CommandText = sqlquery2
command2.Connection = conn
adapter2.SelectCommand = command2
data2 = command2.ExecuteReader
MsgBox("Data Added")
Else
MsgBox("No Data Entered")
End If
End Sub
End Class
|
|
|
Window XP to window 7 . Functions disabled /Help |
Posted by: Himansh - 03-19-2012, 06:58 AM - Forum: Computing
- Replies (2)
|
|
Hi everybody
You might have noticed that there is a clipboard viewer in Window xp which can be be run by typing "cpipbrd" in Start > Run Or by running clipbrd.exe in system 32
But in window 7 there is no file named clipbrd in system 32
And the command "clipbrd" also not works in Run
But there must be clipboard viewer in win 7 also
Can anybody tell me how to access it .
Thanks in Advance
Regards,
-Himansh
|
|
|
"Find The Real You" Software |
Posted by: Vinwarez - 03-18-2012, 02:19 PM - Forum: VB.NET (Visual Basic 2010/2008)
- Replies (6)
|
|
Hello, BP community.
Tom Hutchinson has inspired me to transfer his quiz from the book to the computer. The book is called "Project (Third Edition)". We have that book for English lessons. I actually liked that quiz, so I decided to make a software and hopefully you will like it.
If you want to try it out, click the link below:
http://tinyurl.com/ftry-software
I would really appreciate some feedback, folks.
Thanks in advance!
Regards,
Vinwarez.
|
|
|
|