| | |
marquee in vb6
![]() |
Hi,
u cannot directly use the available Marquee control, instead i will give the option to Create using StatusBar Control.
Place a Timer Control on the form and set its interval=500
Regards
Veena
u cannot directly use the available Marquee control, instead i will give the option to Create using StatusBar Control.
Place a Timer Control on the form and set its interval=500
Declare these Variables on top of form:
Dim MySlNo As Integer
Const Mystr As String = "THIS IS MY MARQUEE"
'this code in timer1_timer Event:
Private Sub Timer1_Timer()
MyID = MyID + 1
If MyID >= Len(Mystr) Then MyID = 0
Status.Panels(1).text = Mid(Mystr, MyID)
End Sub
Regards
Veena
thanq vena..
can u tell me how to find a part of string using an sql..
Dim inp As String
inp = InputBox("Enter the Search Term")
exec ("select * from solution_database where search_term like '" + inp+ "' ")
i want to get the records whose search_trem contains the string "inp" which is a part of search_trem(a column in my table)
i'm not able to use inp*
can u plz tell me
can u tell me how to find a part of string using an sql..
Dim inp As String
inp = InputBox("Enter the Search Term")
exec ("select * from solution_database where search_term like '" + inp+ "' ")
i want to get the records whose search_trem contains the string "inp" which is a part of search_trem(a column in my table)
i'm not able to use inp*
can u plz tell me
hI,
if Access then:
Regards
Veena
if Access then:
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
exec ("select * from solution_database where search_term like '*" & inp & "*' ")
Regards
Veena
![]() |
Similar Threads
- vb6 / Registry (Visual Basic 4 / 5 / 6)
- Vb6 and XP (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: using keyascii for OK
- Next Thread: var or string value goes into another form
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





