Search:

Type: Posts; User: sico

Search: Search took 0.03 seconds.

  1. VS 2008 Re: Have button enabled when coming from a certain form

    Public Class Form4
    Private Sub ButtontoForm3_Click() Handles ButtontoForm3.Click
    Button1.Enabled = False
    Form3.show()
    End Sub
    End Class

    ---------------

    Public Class...
  2. VS 2008 Re: Have button enabled when coming from a certain form

    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...
  3. Replies
    4
    Views
    985

    Re: menu button perform click

    You haven't told the exit button to show the message box... i think.
  4. Re: vs2010, Button(1) - Button(2500) "Addhandlers" too much for memory, how to reduce

    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...
  5. Re: vs2010, Button(1) - Button(2500) "Addhandlers" too much for memory, how to reduce

    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...
  6. Re: vs2010, Button(1) - Button(2500) "Addhandlers" too much for memory, how to reduce

    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...
  7. Re: vs2010, Button(1) - Button(2500) "Addhandlers" too much for memory, how to reduce

    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...
  8. vs2010, Button(1) - Button(2500) "Addhandlers" too much for memory, how to reduce?

    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,...
  9. Replies
    10
    Views
    1,175

    VS 2010 Re: What's faster than a For Loop?

    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...
  10. Replies
    10
    Views
    1,175

    VS 2010 Re: What's faster than a For Loop?

    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...
  11. Replies
    10
    Views
    1,175

    VS 2010 What's faster than a For Loop?

    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...
  12. Thread: New Timer problem

    by sico
    Replies
    12
    Views
    1,114

    VS 2010 Re: New Timer problem

    Thanks for all the help and advice. I've got it all working now so i can carry on with my project.
  13. Thread: New Timer problem

    by sico
    Replies
    12
    Views
    1,114

    VS 2010 Re: New Timer problem

    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...
  14. Thread: New Timer problem

    by sico
    Replies
    12
    Views
    1,114

    VS 2010 Re: New Timer problem

    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...
  15. Thread: New Timer problem

    by sico
    Replies
    12
    Views
    1,114

    VS 2010 New Timer problem

    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...
  16. Replies
    9
    Views
    1,986

    VS 2010 Re: Label1.text = 0 error

    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...
  17. Replies
    9
    Views
    1,986

    VS 2010 Re: Label1.text = 0 error

    Realy? Wow. I think i prefered the old method.

    Thank you all for the very useful and informative replies.
  18. Replies
    9
    Views
    1,986

    VS 2010 Re: Label1.text = 0 error

    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...
  19. Replies
    9
    Views
    1,986

    VS 2010 Label1.text = 0 error

    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...
Results 1 to 19 of 19



Click Here to Expand Forum to Full Width