Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Exclusively for Visual Basic 6.0 Programmers Only!

wow ayos talaga tong thread na to..hehehe pero sana wag maxado basic yung pagusapan dito..maganda kung extreme na...yung advanced coding na...hehehe comment lang naman..
 
wow ayos talaga tong thread na to..hehehe pero sana wag maxado basic yung pagusapan dito..maganda kung extreme na...yung advanced coding na...hehehe comment lang naman..


hehe.. aabot din tayo jan.. medyo noob pa kasi me eh^^>. pero bosing, pwede pa share naman ng kaalaman mo sa VB? :clap:
 
hmmm sige basta po tanong ka lang kung anu gusto mo po..hehehe
 
hmmm sige basta po tanong ka lang kung anu gusto mo po..hehehe

nice.. dami sources.. im sure, ang bilis kong maging pro dito... :thumbsup:


bosing 1st question..

diba yung form, rectangle, square.. basta 4 sided.. hehe

paano yung may ibang form xa bosing/? example, gawin kong diamond.. :noidea: or spade... or club... or heart.. :noidea:
 
just use an activeX control just like yng binigay ko sayo (IrregForm.ocx)
 
boss i have problem..ggwa kc kmi ng proj..cctv camera smin..may sample code ba kau jan pra sa mga ganun?
 
nice.. dami sources.. im sure, ang bilis kong maging pro dito... :thumbsup:


bosing 1st question..

diba yung form, rectangle, square.. basta 4 sided.. hehe

paano yung may ibang form xa bosing/? example, gawin kong diamond.. :noidea: or spade... or club... or heart.. :noidea:

Heto po try mo po tong mga code nato..tapos try to explore it to your self and make changes na lang ha...

View attachment 12064
 

Attachments

  • SHape.zip
    3.4 KB · Views: 1,166
guys cnong may code kung paano magscan ng folders at subfolders sa loob ng folder. .hehe
 
isang tanong tungkol sa looping..

mga masters..

may 5 labels ako.. (Label1, Label2, Label3, Label4, Label5)
tapos gusto ko, each may number na 1, 2, 3, 4, 5...


then paano po yun i loop?

dim i as integer

for i = 1

label(i).caption = i ------------------> yung label(i) po dapat naka loop din na each execution ng loop, mag change siya to label1, label2..

increment yung i + 1

then loop agen until it reach i = 5


paano po to gawin.. ? :noidea: gets nyo? :lol:
 
Last edited:
isang tanong tungkol sa looping..

mga masters..

may 5 labels ako.. (Label1, Label2, Label3, Label4, Label5)
tapos gusto ko, each may number na 1, 2, 3, 4, 5...


then paano po yun i loop?

dim i as integer

for i = 1

label(i).caption = i ------------------> yung label(i) po dapat naka loop din na each execution ng loop, mag change siya to label1, label2..

increment yung i + 1

then loop agen until it reach i = 5


paano po to gawin.. ? :noidea: gets nyo? :lol:

since array yung label mo try this:

Dim lLoop as integer

For lLoop = 1 to 5
label(lLoop).caption = lLoop
next lLoop
 
Last edited:
Try this sir, check din sir if your labels are array, if array your label name should be look like this: label1(0),label1(1),label1(2),label1(3),label1(4).

If array napo yung label mo your code should be like this

Dim lLoop as integer

For lLoop = 1 to 5
label(lLoop).caption = "label" & lLoop
next
 
Last edited:
isang tanong tungkol sa looping..

mga masters..

may 5 labels ako.. (Label1, Label2, Label3, Label4, Label5)
tapos gusto ko, each may number na 1, 2, 3, 4, 5...


then paano po yun i loop?

dim i as integer

for i = 1

label(i).caption = i ------------------> yung label(i) po dapat naka loop din na each execution ng loop, mag change siya to label1, label2..

increment yung i + 1

then loop agen until it reach i = 5


paano po to gawin.. ? :noidea: gets nyo? :lol:

hindi ko masyadong clear gusto mo pero either way, if you want to fill up each label ng "1, 2, 3, 4 5"...

Code:
Option Explicit

Private Sub Command1_Click()
    Dim counter As Integer
    Dim filler As Integer
    
    For counter = 0 To Label.UBound
        For filler = 1 To 5
            Label(counter).Caption = Label(counter).Caption & " " & filler
        Next
    Next
End Sub

if you mean each label should have each # then
Code:
Option Explicit

Private Sub Command1_Click()
    Dim counter As Integer
    
    For counter = 0 To Label.UBound
        Label(counter).Caption = counter + 1
    Next
End Sub
 
Last edited:
hindi ko masyadong clear gusto mo pero either way, if you want to fill up each label ng "1, 2, 3, 4 5"...

Code:
Option Explicit

Private Sub Command1_Click()
    Dim counter As Integer
    Dim filler As Integer
    
    For counter = 0 To Label.UBound
        For filler = 1 To 5
            Label(counter).Caption = Label(counter).Caption & " " & filler
        Next
    Next
End Sub

if you mean each label should have each # then
Code:
Option Explicit

Private Sub Command1_Click()
    Dim counter As Integer
    
    For counter = 0 To Label.UBound
        Label(counter).Caption = counter + 1
    Next
End Sub

do you have bubble sorting code?
 
haha anyways im currently looking for a code that scans folder and subfolders inside the folder :)
 
Back
Top Bottom