Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Visual Basic 6 Help
#3
Spaz Wrote:Are there colons in the actual code? If so, then they're labels, used with goto statements. If not, then xform, xboton, and xvalor are identifier names for variables or functions or subroutines or something, can't say without any context. Dim is a keyword used to declare variables. Variables must be declared before they can be used if Option Explicit is on.



Private: This subroutine is not accessible from other code files(?)
Sub: This is a subroutine. A subroutine is a piece of code that other code can use that does not return a value.
cmdbuscar_Click(): The name of the subroutine. Judging by the name, it will be called when the button called "cmdbuscar" is clicked. The parentheses are empty, so the subroutine does not accept any parameters.
act_des_botones "Buscar", False, Me: I can't tell without the rest of the code, but I think act_des_botones is probably some subroutine. "Buscar", False, and Me are parameters passed to to the subroutine. "Buscar" is a string. False is the boolean value that is the opposite of True. Me refers to the form the button is on(?).
End Sub: Marks the end of the subroutine.

Thank you very much, even though i just ended facekeybording myself until i learned what each of these do exactly using trial and error.


Messages In This Thread
Visual Basic 6 Help - by FenixR - 2011-09-17, 06:34 PM
Visual Basic 6 Help - by Spaz - 2011-09-17, 11:00 PM
Visual Basic 6 Help - by FenixR - 2011-09-17, 11:14 PM
Visual Basic 6 Help - by Fiel - 2011-09-17, 11:19 PM

Forum Jump:


Users browsing this thread: