Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 3 online users. » 1 Member(s) | 1 Guest(s) Google, MorrissgoX
|
Latest Threads |
Looking for Adventure? Fi...
Forum: Random Discussion
Last Post: iHOMEz
11-16-2024, 09:18 PM
» Replies: 0
» Views: 475
|
Prettys Womans in your to...
Forum: Random Discussion
Last Post: iHOMEz
10-30-2024, 07:45 AM
» Replies: 0
» Views: 754
|
Prettys Womans in your ci...
Forum: Random Discussion
Last Post: iHOMEz
10-26-2024, 10:50 AM
» Replies: 0
» Views: 783
|
Beautiful Womans from you...
Forum: Random Discussion
Last Post: iHOMEz
10-19-2024, 02:48 PM
» Replies: 0
» Views: 884
|
Prettys Womans in your ci...
Forum: Random Discussion
Last Post: iHOMEz
10-06-2024, 05:00 PM
» Replies: 0
» Views: 1,045
|
Womans from your city - V...
Forum: Random Discussion
Last Post: iHOMEz
07-28-2024, 10:26 AM
» Replies: 0
» Views: 1,419
|
Supreme Сasual Dating - A...
Forum: Random Discussion
Last Post: iHOMEz
06-14-2024, 11:28 AM
» Replies: 0
» Views: 1,847
|
Beautiful Womans in your ...
Forum: VB.NET
Last Post: iHOMEz
06-09-2024, 09:23 PM
» Replies: 0
» Views: 1,652
|
Hangman in Rust
Forum: Other
Last Post: brandonio21
02-04-2018, 11:14 AM
» Replies: 2
» Views: 20,647
|
How to: Search files from...
Forum: VB.NET
Last Post: brandonio21
11-25-2017, 12:55 PM
» Replies: 1
» Views: 15,958
|
|
|
Is this possible? |
Posted by: Ecnarf - 10-05-2012, 04:35 PM - Forum: Programming Help
- Replies (5)
|
|
I am trying to make a program that will have a different type of parent container, because I find the way of having it move freely around the entire center of your form to be obnoxious and annoying. My intention is to turn another control into the parent container so that it is smaller and I have more room for controls on the program. So, my question is how would I go about making it so that a different control would function as a parent container? If this is not possible I say that a group of us make a component for this!
|
|
|
Why Isn't this javascript code working? |
Posted by: Himansh - 10-05-2012, 11:05 AM - Forum: HTML/CSS/PHP (Web Development)
- Replies (4)
|
|
I created a html document in which i added a predefined text in the textbox like "enter name here"
I created a function to delete the text when user clicks the input.
But , it had one problem that whenever user types his data and when he clicks the input then all his data is deleted. To prevent this used this method but this is not working , I don't know why.
here's the code
Code: <!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function emptyfield(field){
field.value = "";
}
if(document.frmlogin.box.value != "Enter Username Here"){
frmlogin.box.onclick = "";
}
</script>
</head>
<body>
<form name="frmlogin" >
Username: <input type="text" id="cool" value="Enter Username Here" name="box" onclick="emptyfield(document.frmlogin.bo… />
</form>
</body>
</html>
I could have done it very easily using just one function by i want to know what is wrong in this.
I don't want alternative methods of doing it, i want to know what is wrong in this?
-Himansh
|
|
|
VB vs Java |
Posted by: Vinwarez - 10-03-2012, 11:28 AM - Forum: Off-Topic
- Replies (10)
|
|
Which language do you use more often (VB or Java)?
Personally, since I started learning Java, I used VB more rare and rare until I strated developing games in Java. Since then, I haven't used Visual Basic.
|
|
|
How do I fill my form with MySQL data based on Combobox? |
Posted by: kismetgerald - 09-30-2012, 06:28 PM - Forum: Programming Help
- Replies (8)
|
|
Hey guys/gals,
So with the help of fellow members @ stackoverflow.com, I've been able to retrieve some data from my MySQL database and bind the results to a Combobox (ComboBoxCard) using the code below.
Now I would like to display the results of my query in some controls on my form (5 Textboxes, 1 Combobox, and 2 DateTimePickers) based on the selected value of ComboBoxCard. How do I do this?
The primary goal of this particular form in my application is to allow the user to update a customer's credit card information. Sometimes, a customer may have more than 1 card on file - which is why I needed a mechanism to display all cards on file and allow the user to use the Combobox to select which card to update. So, if there's a better way to do this please do not hesitate to suggest.
Thanks.
HERE'S MY CODE:
[code2=vbnet]Private Sub RetrieveMySQLdata()
Try
'FOR MySQL DATABASE USE
Dim dbQuery As String = ""
Dim dbCmd As New MySqlCommand
Dim dbAdapter As New MySqlDataAdapter
Dim dbTable As New DataTable
If dbConn.State = ConnectionState.Closed Then
dbConn.ConnectionString = 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)
dbConn.Open()
End If
dbQuery = "SELECT *" & _
"FROM cc_master INNER JOIN customer ON customer.accountNumber = cc_master.customer_accountNumber " & _
"WHERE customer.accountNumber = '" & TextBoxAccount.Text & "'"
With dbCmd
.CommandText = dbQuery
.Connection = dbConn
End With
With dbAdapter
.SelectCommand = dbCmd
.Fill(dbtable)
End With
ComboBoxCard.DataSource = dbTable
ComboBoxCard.ValueMember = "ccNumber"
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.")
Finally
dbConn.Close()
End Try
End Sub[/code2]
|
|
|
auto generated number |
Posted by: jochen29 - 09-29-2012, 07:16 PM - Forum: Programming Help
- Replies (3)
|
|
i just wanna ask how to code an auto-numbering?
lets just say it start at 000000 and then if you add another the counter add by 1.. how can i do that? and how
to know where the counter stops? so that it doesnt back to 000000.
|
|
|
Download Manger |
Posted by: manishshrestha60 - 09-29-2012, 06:12 AM - Forum: Programming Help
- Replies (1)
|
|
I am look for a code that automatically detects the . format and download the file with the original name kinda like a web browser. And creates the desktop folder where all the files go that you downloaded. I don't don't want to use SaveFileDialog and this code
Code: SaveFileDialog1.Filter = "JPegImage|*.jpg|.exe|*.exe|.rar|*.rar|.zip|*.zip|.mp3|*.mp3|Bitmap Image|*.bmp|Gif Image|*.giftxt files |.txt|*.txt|All files (*.*)|*.*"""
SaveFileDialog1.ShowDialog()
|
|
|
organizing shoes question, need practical ideas? |
Posted by: chestertfy - 09-29-2012, 04:42 AM - Forum: Off-Topic
- Replies (2)
|
|
is it advisable to purchase synthetic formal shoes as I have heard that synthetics cause major fungal infections that could quickly spread to other shoes? I usually use leather but come across a pair being sold for a bargain and thought I would try them out.
|
|
|
|