Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by CtrlAltDestroy

  1. CtrlAltDestroy

    vb takes over taskbar

    That's just what happens with borderless maximized forms, I think. I suggest, instead of having Windowstate = 2, change it back to normal and just expand the form yourself. Then, move the bottom of the form up a single pixel or more, and the taskbar will appear.
  2. CtrlAltDestroy

    Detect Time Change

    If it helps, there is a variable "Time" that automatically holds your system clock's time. There are some more, but I forgot what they are. The only other one I can remember is "Timer", it holds the number of seconds since midnight.
  3. CtrlAltDestroy

    Toggle a Boolean?

    Ag! Clever! I never thought of that! ...Still, if the variable is NONboolean, it's best to write a function.
  4. CtrlAltDestroy

    Landscape Print Via Code

    Printer.Orientation = vbPRORLandscape
  5. CtrlAltDestroy

    Toggle a Boolean?

    Public Function BooleanToggle(Variable as Boolean) If Variable = true then BooleanToggle = false else BooleanToggle = true End if End Function Then you just enter, say, Text1.visible = BooleanToggle(Text1.visible)
  6. CtrlAltDestroy

    Creating a dump of all variable values

    There isn't really an easy way to do it. Unless, of corse, your variables are in arrays... Then it's a cinch. Without Arrays: Open App.Path & "ErrLog.txt" for output as 1 Print #1, "Variable1 Value:" Print #1, Variable1 Print #1, "Variable2 Value:" Print #1...

Part and Inventory Search

Back
Top