Forum: Visual Basic 4 / 5 / 6 Jan 1st, 2009 |
| Replies: 13 Views: 2,239 check the references of your project. |
Forum: Visual Basic 4 / 5 / 6 Sep 26th, 2008 |
| Replies: 20 Views: 2,085 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,085 >> 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,085 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,085 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: Visual Basic 4 / 5 / 6 Sep 20th, 2008 |
| Replies: 20 Views: 2,085 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: 899 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: 899 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,085 >> 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,085 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,251 SELECT * FROM participants WHERE Date between DTPicker1.Value and DTPicker2.Value |
Forum: Visual Basic 4 / 5 / 6 Sep 17th, 2008 |
| Replies: 5 Views: 1,251 >> 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,085 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: Visual Basic 4 / 5 / 6 Sep 16th, 2008 |
| Replies: 3 Views: 817 You're Welcome....
Don't Forget to mark this thread as Solved :) |
Forum: Visual Basic 4 / 5 / 6 Sep 16th, 2008 |
| Replies: 8 Views: 769 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,251 using between or operator ">" and "<". |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008 |
| Replies: 3 Views: 817 sql = "INSERT INTO Department(Department_ID,Department_name)VALUES('" & deptid & "','" & Text2.Text & "' )" |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008 |
| Replies: 5 Views: 760 |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008 |
| Replies: 5 Views: 760 >> 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,085 For more information, just do googling more hard than me. :) |
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2008 |
| Replies: 20 Views: 2,085 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... |
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2008 |
| Replies: 3 Views: 739 Well, this morning i copying new font and there are no error when i used in vb. |
Forum: Visual Basic 4 / 5 / 6 Aug 27th, 2008 |
| Replies: 5 Views: 774 Private Sub Timer1_Timer()
'Put timer on form and set interval to 1000 (In the properties window)
Label1.Caption = Format(Now, "hh:mm:ss")
End Sub
- What tabs? |
Forum: Visual Basic 4 / 5 / 6 Aug 24th, 2008 |
| Replies: 3 Views: 1,049 |
Forum: Visual Basic 4 / 5 / 6 Aug 12th, 2008 |
| Replies: 1 Views: 890 Add component Microsoft Common Dialog Control 6.0 (SP6).
To open File and show it into picture box:
Private Sub btnBrowse_Click()
CommonDialog1.ShowOpen
txtPath.Text = CommonDialog1.FileName... |
Forum: Visual Basic 4 / 5 / 6 Jul 17th, 2008 |
| Replies: 3 Views: 1,186 listview can be alternate... |
Forum: Visual Basic 4 / 5 / 6 Jul 17th, 2008 |
| Replies: 9 Views: 745 Good Luck with your thesis.
Don't Forget to mark this thread Solved
Happy coding friend :) |
Forum: Visual Basic 4 / 5 / 6 Jul 16th, 2008 |
| Replies: 10 Views: 3,058 >>There are another ways to hide drive without using API function?
Yes, with add key on your registry...
Add module :
Public Sub CreateKey(ayun As String, Value As String)
Dim b As Object
On... |
Forum: Visual Basic 4 / 5 / 6 Jul 16th, 2008 |
| Replies: 9 Views: 745 Depend on your project...
if u needed to handle large database i suggest to use SQLServer...
but if u didn't use large database on your thesis (just for simple database), do it with MsAccess.
Its... |
Forum: Visual Basic 4 / 5 / 6 Jul 16th, 2008 |
| Replies: 9 Views: 745 >> Is access is "beginner" friendly?
Yes, i think.
Access is easiest more than other database.
there are sqlserver, oracle, mysql, etc. but access is the easiest one. |
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2008 |
| Replies: 10 Views: 3,058 try this following code to hide folder
Private Sub Form_Load()
Dim FileSys, FolderPath
Set FileSys = CreateObject("Scripting.FileSystemObject")
Set FolderPath = FileSys.GetFolder("D:\test")... |
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2008 |
| Replies: 9 Views: 745 which version u got problem?
like debasisdas said you can connect vb with any version of access. |
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2008 |
| Replies: 6 Views: 790 Call Decript function before check.
......WHERE Decript(psw)=' " & text1.text & " '
Or
You can encript inputed pasw before check
......WHERE psw=' " & Encript(text1.text) & " ' |
Forum: Visual Basic 4 / 5 / 6 Jul 13th, 2008 |
| Replies: 5 Views: 763 Great. Don't forget to mark this thread as solved :) |
Forum: Visual Basic 4 / 5 / 6 Jul 12th, 2008 |
| Replies: 5 Views: 763 well, its not table. its listview.
Component name is Microsoft Windows Common 6.0(sp6) |
Forum: Visual Basic 4 / 5 / 6 Jun 30th, 2008 |
| Replies: 7 Views: 912 SS Tab is a control on Component (Ctrl + T or Project ->Component). |
Forum: Visual Basic 4 / 5 / 6 Jun 10th, 2008 |
| Replies: 6 Views: 1,879 ' Return True if a file exists
Function FileExists(FileName As String) As Boolean
On Error GoTo ErrorHandler
' get the attributes and ensure that it isn't a directory
FileExists =... |
Forum: Visual Basic 4 / 5 / 6 Jun 7th, 2008 |
| Replies: 5 Views: 1,062 just to correct :)
Dim LengthOfTID as Integer
Anyway selvaganapathy has given the best answer. |
Forum: Visual Basic 4 / 5 / 6 Jun 7th, 2008 |
| Replies: 3 Views: 1,664 which one u want to use?
Horizontal scroll bar
Private Sub HScroll1_Change()
Text1.Text = HScroll1.Value
End Sub
Vertical scroll bar
Private Sub VScroll1_Change()
Text1.Text = VScroll1.Value... |