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!

VB.net Question!!!

Status
Not open for further replies.

hardcorekid03

 
 
Symbianize Shaman
Advanced Member
Messages
1,422
Reaction score
751
Points
223
Space Stone
Reality Stone
Time Stone
Power Stone
Soul Stone
Mind Stone
this is my code on how to hide columns after column 11 in datagridview1, Guys can anyone help me to reverse this? I want to hide all columns before column 11, example: Column 10 to Column 1

Code:
For i As Integer = 11 To dataGridview1.Columns.Count - 1
                    dataGridview1.Columns(i).Visible = False
                Next
 
For i As Integer = 0 To 10
dataGridview1.Columns(i).Visible = False
Next
 
Hello po!

Any idea po para po mapabilis loading ng isang form? Masyado po kasing madaming niloload na query. Pagkaopen po kasi ng form sobrang bagal.
Please advise naman po.

TIA
 
Hello po!

Any idea po para po mapabilis loading ng isang form? Masyado po kasing madaming niloload na query. Pagkaopen po kasi ng form sobrang bagal.
Please advise naman po.

TIA

hindi po namin alam laman ng Form mo, siguro kung ma ipopost mo dito yung codes para malaman namin kung ano ang pwedeng advise, for the mean time limit lang muna ng iloload

- - - Updated - - -

isa isahin or iloop mo lang katulad ng ginawa mo

lagyan mo lang ng if else ,kapag less than or equal sa 10 gawin mo ng visible false
 
Last edited:
hello
Try to make your database table normalize pra mka gawa ka ng magandang query. kac pag maraming query ang piniperform my tendency na babagal talaga yung loading nya.
 
paano po yung threading ng random picture box cards continously parang sa slot machine?
TIA
btw eto po codes ko


Public Class Form1
Dim w, x, y, z As Integer
Dim start As Threading.Thread
Dim start1 As Threading.Thread








Private Sub roll()




Static x As Integer


x += 1

Select Case x
Case Is = 1
c2.BackgroundImage = Image.FromFile(Application.StartupPath + "\Images" + "2D.png")
Case Is = 2
c2.BackgroundImage = Image.FromFile(Application.StartupPath + "\Images" + "10S.png")

Case Is = 3
c2.BackgroundImage = Image.FromFile(Application.StartupPath + "\Images" + "5C.png")
Case Is = 4
c2.BackgroundImage = Image.FromFile(Application.StartupPath + "\Images" + "3H.png")
Threading.Thread.Sleep(199)
x = 0
End Select







End Sub
Private Sub roll1()

Static x As Integer
x += 1
Select Case x

Case Is = 1
c1.BackgroundImage = Image.FromFile(Application.StartupPath + "\Images" + "8D.png")
Case Is = 2
c1.BackgroundImage = Image.FromFile(Application.StartupPath + "\Images" + "6S.png")

Case Is = 3
c1.BackgroundImage = Image.FromFile(Application.StartupPath + "\Images" + "5C.png")
Case Is = 4
c1.BackgroundImage = Image.FromFile(Application.StartupPath + "\Images" + "9H.png")
Threading.Thread.Sleep(50)
x = 0
End Select

End Sub


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
start = New Threading.Thread(AddressOf roll)
start.Start()
start1 = New Threading.Thread(AddressOf roll1)
start1.Start()


End Sub

End Class
 
Last edited:
Status
Not open for further replies.
Back
Top Bottom