944,008 Members | Top Members by Rank

Ad:
Jul 31st, 2007
0

marquee in vb6

Expand Post »
hi,
can you plz tell me how to use marquee in vb6
Similar Threads
Reputation Points: 10
Solved Threads: 3
Light Poster
guru511 is offline Offline
42 posts
since Jul 2007
Jul 31st, 2007
0

Re: 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


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
Reputation Points: 84
Solved Threads: 140
Posting Shark
QVeen72 is offline Offline
923 posts
since Nov 2006
Jul 31st, 2007
0

Re: marquee in vb6

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
Reputation Points: 10
Solved Threads: 3
Light Poster
guru511 is offline Offline
42 posts
since Jul 2007
Jul 31st, 2007
0

Re: marquee in vb6

hI,

if Access then:

Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. exec ("select * from solution_database where search_term like '*" & inp & "*' ")

Regards
Veena
Reputation Points: 84
Solved Threads: 140
Posting Shark
QVeen72 is offline Offline
923 posts
since Nov 2006
Jul 31st, 2007
0

Re: marquee in vb6

what is "Status.Panels(1).text " in the marquee reply
Reputation Points: 10
Solved Threads: 3
Light Poster
guru511 is offline Offline
42 posts
since Jul 2007
Aug 2nd, 2007
0

Re: marquee in vb6

what is Status.Panels(1).
Reputation Points: 10
Solved Threads: 3
Light Poster
guru511 is offline Offline
42 posts
since Jul 2007
Aug 2nd, 2007
0

Re: marquee in vb6

hI,

I TOLD U TO ADD A Status Bar to the form..
and Rename that to Status

Regards
Veena
Reputation Points: 84
Solved Threads: 140
Posting Shark
QVeen72 is offline Offline
923 posts
since Nov 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: using keyascii for OK
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: var or string value goes into another form





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC