Forum: VB.NET Mar 15th, 2009 |
| Replies: 9 Views: 989 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,192 what event do you want?button event?click event?or what? |
Forum: VB.NET Feb 4th, 2009 |
| Replies: 16 Views: 2,051 use condition on your select statment. |
Forum: VB.NET Jan 26th, 2009 |
| Replies: 5 Views: 2,013 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,013 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,325 write this on the top of codes
Imports System.Data.Odbc |
Forum: Visual Basic 4 / 5 / 6 Jan 1st, 2009 |
| Replies: 13 Views: 2,256 check the references of your project. |
Forum: Visual Basic 4 / 5 / 6 Sep 26th, 2008 |
| Replies: 20 Views: 2,094 Ok. i understand it.
you mean why sohel in checkwinner got player name from sohel in global variable and why didn't get from other variable.
sohel in checkwinner get value when you called... |
Forum: Visual Basic 4 / 5 / 6 Sep 24th, 2008 |
| Replies: 20 Views: 2,094 >> If I have other variable with (dim sohel as string) like dim ab as integer then the variable fox will work?
i didn't get what u mean.
what a function of variable ab? |
Forum: Visual Basic 4 / 5 / 6 Sep 23rd, 2008 |
| Replies: 4 Views: 1,234 post the code that you've done... |
Forum: Visual Basic 4 / 5 / 6 Sep 23rd, 2008 |
| Replies: 20 Views: 2,094 1. Yes, its for input name.
2. Yes, sohel used to know input name and show in msgbox. (same for jewel)
3. Yes, it connected.
First, sohel in CheckWinner function parameter and sohel in global... |
Forum: Visual Basic 4 / 5 / 6 Sep 22nd, 2008 |
| Replies: 20 Views: 2,094 oh...i'm sorry for that (missing it).
In general declaration, you declare sohel and jewel but one by one.
Dim sohel As String
Dim jewel As String
then in module, add parameter of CheckWinner()... |
Forum: VB.NET Sep 20th, 2008 |
| Replies: 4 Views: 1,719 why didn't use selectedItem = ComboBox.SelectedItem ?
and there are path on combobox item to loaded? |
Forum: Visual Basic 4 / 5 / 6 Sep 20th, 2008 |
| Replies: 20 Views: 2,094 why it didn't work?what error come up?
and it not variable but function. and it working for me when i post an attachment. |
Forum: Visual Basic 4 / 5 / 6 Sep 20th, 2008 |
| Replies: 3 Views: 912 Or Visit this site (http://www.vbexplorer.com/VBExplorer/vb_feature/april2000/april2000.asp) |
Forum: Visual Basic 4 / 5 / 6 Sep 20th, 2008 |
| Replies: 3 Views: 912 Try This :
Declaration :
Option explicit
' Contrl variable
Private ctlName As Control
Code : |
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2008 |
| Replies: 20 Views: 2,094 >> Call CheckWinner(Text1, Text2, Text3)
here text1 mean t1 what was write in the module?
Yes. text1 will assigned with T1, then T1 used to check back color of textbox.
>> Public Sub... |
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2008 |
| Replies: 20 Views: 2,094 I already see your project.
You write too many if statement (make me dizzy) and it redundant.
Actually you can simplify your if statement become a function. so you just call function in each... |
Forum: Visual Basic 4 / 5 / 6 Sep 17th, 2008 |
| Replies: 5 Views: 1,254 SELECT * FROM participants WHERE Date between DTPicker1.Value and DTPicker2.Value |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 6 Views: 1,519 You're Welcome...
Don't Forget to mark this thread as Solved :) |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 6 Views: 1,519 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: 946 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,795 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: 434 Try this
Microsoft.VisualBasic.Right("Daniweb",3) |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 7 Views: 946 so this line is wrong "lstDisplay.Text"
change with
lstDisplay.Items.Add(CurrentItem)
ex: lstDisplay.Items.Add(ladiesShoes) |
Forum: Visual Basic 4 / 5 / 6 Sep 17th, 2008 |
| Replies: 5 Views: 1,254 >> actually i don't know any more about dtpicker. so please details.
its not about dtpicker but query with sql syntax.
>> both are for search data from backed access file. like (1st dtpicker) i... |
Forum: Visual Basic 4 / 5 / 6 Sep 17th, 2008 |
| Replies: 20 Views: 2,094 i didn't understand clearly what you want.
>> they will change with 2 color red and blue when i click each text box. when i click a button they will become white
You mean randomize 2 color if we... |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 7 Views: 946 Not clear...you want to add item into list when user checked it? |
Forum: VB.NET Sep 16th, 2008 |
| Replies: 6 Views: 1,519 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: Visual Basic 4 / 5 / 6 Sep 16th, 2008 |
| Replies: 3 Views: 818 You're Welcome....
Don't Forget to mark this thread as Solved :) |
Forum: Visual Basic 4 / 5 / 6 Sep 16th, 2008 |
| Replies: 8 Views: 771 Add on click event (you can find combo box filled with sstab event on the top of code window)
This following code will make u can't open other tabs without fill textbox 1 (text1).
Private Sub... |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008 |
| Replies: 5 Views: 1,254 using between or operator ">" and "<". |
Forum: C# Sep 15th, 2008 |
| Replies: 4 Views: 569 You're Welcome..
If this thread was solved then mark it as Solved. |
Forum: VB.NET Sep 15th, 2008 |
| Replies: 13 Views: 10,820 Then post your code, it more help.
and which line of error... |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008 |
| Replies: 3 Views: 818 sql = "INSERT INTO Department(Department_ID,Department_name)VALUES('" & deptid & "','" & Text2.Text & "' )" |
Forum: VB.NET Sep 15th, 2008 |
| Replies: 13 Views: 10,820 |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008 |
| Replies: 5 Views: 761 |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008 |
| Replies: 5 Views: 761 >> How would I go about setting a date/time to 0?
Setting computer date/time??or just on your program? |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008 |
| Replies: 20 Views: 2,094 For more information, just do googling more hard than me. :) |
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2008 |
| Replies: 20 Views: 2,094 1. See this thread for module (http://www.daniweb.com/forums/thread116910.html)
2. See this thread for class module (http://www.daniweb.com/forums/thread27608.html)
this a some links about... |