Public Class Form4
Private Sub ButtontoForm3_Click() Handles ButtontoForm3.Click
Button1.Enabled = False
Form3.show()
End Sub
End Class
---------------
Public Class...
Type: Posts; User: sico
Public Class Form4
Private Sub ButtontoForm3_Click() Handles ButtontoForm3.Click
Button1.Enabled = False
Form3.show()
End Sub
End Class
---------------
Public Class...
if any button on form4 causes you to navigate to another form then i would tell them to make button1 disabled. I would then have form6 (or other forms) make it enabled when you navigate back to...
You haven't told the exit button to show the message box... i think.
I was faffing about for a bit last night and i managed to create a formula that used the mouseposition to define which button was being pressed, so that allowed me to get the reference points i...
To be honest, i'm not using buttons, i'm using Labels, but the same problem exists, i'm using this as a part of a game, and these will be a part of a map, so the labels will be diferent colors. As...
I tried it with the buttons first, and that runs fine, i can even have it change the background color of all the buttons in miliseconds. But its just having that many addhandlers that is creating the...
To explain further, i'm creating lots of buttons and want to be able to have each perform different actions.
R = 1
C = 1
For i as Integer = 1 to 2500
Button(R, C) = New Button
Button(R,...
This software isnt for me, its for people who dont know alot about computers. I'm happy using the excel "filters" to find what i want.
If ForLoop.speed > superman.speed then
Computer = kaboom...
The code is somehing like:
R = 0
N = 0
For i as Integer = 1 to 999
R +=1
If Textbox1.text = Excel.cells(R,1).text then
N +=1
Excel.cells(N, 30) = R
Else if...
It then repeats the same for...
I'm sure this question has been asked before but i searched this forum and found nothing so i'll ask it again.
What's faster than a For Loop?
I've heard that you can put a For Loop in a For...
Thanks for all the help and advice. I've got it all working now so i can carry on with my project.
when I said I was trying to create a timer object I meant that I'd tried "Public Tim as new Timer" but found that I had no seperate "sub" for a "Tim.tick" meaning the timer was useless. So what your...
I spent an hour or so on the internet trying to find how to create a new timer and after the 1st thirty or so forums i found something that looked like this, and it looked like what i wanted.
If...
I'm tryng to make a timer object but having no luck,
If i add timer1 to form1 and write:
me.text = "yeah"
Timer1.enabled = false
Then after one "tick" it will change the text, but to do the...
I was somewhat aware of cstr() and cint(), but as not using them worked and always has, i've never realy used them. You all make very valid points as to why i should do things correctly, but up until...
Realy? Wow. I think i prefered the old method.
Thank you all for the very useful and informative replies.
So in the past i would of had...
Label1.text = 3
Label2.text = 2
Label3.text = label1.text + label2.text
If i want the result to be 5, but your saying i should have ".tostring()" at the end...
When i type "Label1.text = 0" or use anything that can hold text, and try to have the text as an integer, just like in the example, i get an error. "Option Strict On disallows implicit conversions...