Forum: VB.NET Mar 15th, 2009 |
| Replies: 9 Views: 982 on timer tick event
- make randomize function to get new X and Y,so your button always get new location to moving every timer tick. |
Forum: VB.NET Feb 21st, 2009 |
| Replies: 3 Views: 2,159 what event do you want?button event?click event?or what? |
Forum: VB.NET Feb 4th, 2009 |
| Replies: 16 Views: 2,032 use condition on your select statment. |
Forum: VB.NET Jan 26th, 2009 |
| Replies: 5 Views: 2,003 very good. Would you like to share with us how to do it, so if other members get the same problem they can solved it.
And don't forget to mark this thread as solved..
Thanks :) |
Forum: VB.NET Jan 25th, 2009 |
| Replies: 5 Views: 2,003 on datagrid double click event, get data on selected then show it on main form. |
Forum: VB.NET Jan 22nd, 2009 |
| Replies: 5 Views: 1,316 write this on the top of codes
Imports System.Data.Odbc |
Forum: VB.NET Sep 20th, 2008 |
| Replies: 4 Views: 1,716 why didn't use selectedItem = ComboBox.SelectedItem ?
and there are path on combobox item to loaded? |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 6 Views: 1,518 You're Welcome...
Don't Forget to mark this thread as Solved :) |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 6 Views: 1,518 Just add that code above and set FormBorderStyle = None on form properties to make form without title bar. |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 7 Views: 942 Actually i didn't agree with your if statement :
If you want to know check box is checked or not then use Checked function :
Try this :
Private Sub chkboxLadiesShoes_CheckedChanged(ByVal sender As... |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 4 Views: 1,777 Try This code :
Dim path as String
path = "D:\Test\Music.wav"
My.Computer.Audio.Play(path) |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 3 Views: 433 Try this
Microsoft.VisualBasic.Right("Daniweb",3) |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 7 Views: 942 so this line is wrong "lstDisplay.Text"
change with
lstDisplay.Items.Add(CurrentItem)
ex: lstDisplay.Items.Add(ladiesShoes) |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 7 Views: 942 Not clear...you want to add item into list when user checked it? |
Forum: VB.NET Sep 16th, 2008 |
| Replies: 6 Views: 1,518 Use timer to make delay and progress bar.
so, draw a timer and progress bar then add this following code :
Private Sub WelcomeScreen_Load(ByVal sender As System.Object, ByVal e As... |
Forum: VB.NET Sep 15th, 2008 |
| Replies: 13 Views: 10,746 Then post your code, it more help.
and which line of error... |
Forum: VB.NET Sep 15th, 2008 |
| Replies: 13 Views: 10,746 |
Forum: VB.NET Sep 12th, 2008 |
| Replies: 2 Views: 3,125 First block all line of code then press the button on bar. See the pic |
Forum: VB.NET Sep 12th, 2008 |
| Replies: 18 Views: 2,940 Dim temp, quantity As Double
Console.Write("How many liters (only whole liters please ) ? ")
temp = Console.ReadLine()
quantity = Double.Parse(temp) |
Forum: VB.NET Sep 11th, 2008 |
| Replies: 5 Views: 918 post your own code? so we can help.
ithelp was give the best answer... |
Forum: VB.NET Sep 10th, 2008 |
| Replies: 12 Views: 1,678 1. Just add your msword file on your setup project.
then you can modified path of msword file :
System.Diagnostics.Process.Start(Application.StartupPath & "\MsWordFileName.doc")
2. On combox... |
Forum: VB.NET Sep 10th, 2008 |
| Replies: 9 Views: 630 number variable not increase. |
Forum: VB.NET Sep 10th, 2008 |
| Replies: 5 Views: 1,226 alternative, you use WindowsMediaPlayer to play media file. |
Forum: VB.NET Sep 2nd, 2008 |
| Replies: 8 Views: 1,118 >> IS THIS CODE WORKING FOR U ???
Yes...Its working for me.
>> WHEN I INSERT A RECORD , THEN THE NUMBER IS NOT INCREMENTED TO NEXT RECORD
Call that procedure after inserting data
>> EVEN IF I... |
Forum: VB.NET Sep 1st, 2008 |
| Replies: 8 Views: 1,118 getconnect() is Function to connect to sqlserver.
put this code in module. my module named Koneksi
'In Module
'Declare outside of class
Imports System.Data
Imports System.Data.SqlClient
... |
Forum: VB.NET Sep 1st, 2008 |
| Replies: 8 Views: 1,118 This some files to import :
Imports System.Data
Imports System.Data.SqlClient
what kind of error ?? |
Forum: VB.NET Sep 1st, 2008 |
| Replies: 8 Views: 1,118 Try This :
Public Sub GenerateNotaId()
Dim myReader As SqlDataReader
conn = GetConnect()
conn.Open()
Dim temp As String
Try
Dim sql As... |
Forum: VB.NET Aug 31st, 2008 |
| Replies: 5 Views: 546 This an example :
Dim conn As SqlConnection
Dim cmdCustomer As New SqlCommand
Dim daCustomer As New SqlDataAdapter
Dim dsCustomer As New DataSet
Dim dtCustomer As New... |
Forum: VB.NET Aug 28th, 2008 |
| Replies: 6 Views: 691 seems like antivirus program |
Forum: VB.NET Aug 27th, 2008 |
| Replies: 4 Views: 1,725 yes i know it for c#...but you can get a logic from that.
That's i why still post it.
Good luck :) |
Forum: VB.NET Aug 27th, 2008 |
| Replies: 4 Views: 1,725 See this (http://www.dotnetspider.com/resources/4859-Check-if-port-open-or-closed.aspx) |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 7 Views: 4,308 |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 8 Views: 1,996 >> ListBox1.Items.Add(Prc(x).ProcessName)
thanks iamthwee for the correction. |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 7 Views: 4,308 First, you need the following declarations:
Private Const EM_GETLINECOUNT As Integer = &HBA
Private Const EM_GETLINE As Integer = &HC4
Private Const EM_LINELENGTH As Integer = &HC1
... |
Forum: VB.NET Aug 25th, 2008 |
| Replies: 8 Views: 1,996 |
Forum: VB.NET Aug 25th, 2008 |
| Replies: 8 Views: 696 On Button Click Event :
Dim a As New Form2
a.Show |
Forum: VB.NET Aug 25th, 2008 |
| Replies: 1 Views: 1,254 try This :
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
CrystalReportViewer1.SelectionFormula =... |
Forum: VB.NET Aug 25th, 2008 |
| Replies: 8 Views: 1,996 Try this :
Private Sub ProcessView()
Dim Prc As Process()
Dim x As Integer
Prc = Process.GetProcesses
For x = 0 To UBound(Prc)
... |
Forum: VB.NET Aug 12th, 2008 |
| Replies: 8 Views: 550 you're welcome.
Don't forget to mark this thread Solved if it already solved :) |
Forum: VB.NET Aug 12th, 2008 |
| Replies: 8 Views: 550 you can see my snippet here (http://www.daniweb.com/code/snippet820.html)and here (http://www.daniweb.com/code/snippet836.html)
http://www.daniweb.com/code/snippet820.html... |