Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

User 2558377

@User 2558377
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Not so much bad code as kludge
    U User 2558377

    Also try Application.CutCopyMode = False

    The Weird and The Wonderful xml question

  • Redundancy Peaking
    U User 2558377

    I don't see why this is specifically a problem with VB - exactly equivalent code can be and often is written in C# and other languages.

    Anyway, to be really sure the control is visible you should obviously write

    If (myControl.Visible = True) = True Then...

    so it doesn't effect performance
    You mean "affect" (I hope)

    The Weird and The Wonderful question

  • Ambiguous error messages...
    U User 2558377

    What gets me is any error message with an exclamation mark at the end. "Date format is invalid!", "An unknown error has occurred!". Whenever I get one I automatically imagine the words "you idiot" added to the end. An equally annoying variant is a success message with an exclamation mark: e.g. testing an ODBC data sources gives "TESTS COMPLETED SUCCESSFULLY!" - what, so that's such a big surprise that you have to shout at me?

    The Lounge help question

  • Professional conditions with IF
    U User 2558377

    This kind of thing is standard shortcut syntax in COBOL (or was when I last used COBOL many years ago): IF X = 1 OR 2 THEN... is the same as IF X = 1 OR X = 2 THEN... The big gotcha comes when you add a NOT into the mix. All new COBOL programmers would at some point write a statement like: IF X NOT = 1 OR 2 THEN.. which unfortunately expands to IF X NOT = 1 OR X NOT = 2 THEN.. so the condition is always satisfied. Some of those beginners learn from the experience and don't make the mistake again. Others, however....

    The Weird and The Wonderful csharp help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups