Results 1 to 19 of 19

Thread: Tips & Tricks

  1. #1
    billfaceuk
    Guest
    Post your best VB Tips and Tricks Here!

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Tip: Don't use GoTo

  3. #3
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    Don't try to fix bugs by pouring water inside your computer
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You obviously weren't paying attention

    Tip: Don't attempt to use your PC as a cat-carrier when turned on
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    Here's a tip for all those people who have "lost" their source so need to decompile an EXE they happen to have: SAVE YOUR SOURCE CODE/PROJECT SOMEWHERE SAFE BECAUSE YOU CANNOT easily GET FORMS/MODULES/CODE/ICONS/CAKE OUT OF A COMPILED EXE!!!!!!!!!!!!!!!!!! SO STOP F*C*ING ASKING okay???? Good.

    BTW: I love Anne Robinson

  6. #6
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    BTW: I love Anne Robinson
    Is this another VB tip? Just because tried this code and my VB says "Syntax error"

  7. #7
    Hyperactive Member
    Join Date
    Mar 2001
    Location
    Calgary, Canada
    Posts
    453
    Originally posted by Fox


    Is this another VB tip? Just because tried this code and my VB says "Syntax error"
    I think you're meant to define it as a string. Here try this

    Code:
    sSnippyLittleBitchWhoThinksShesSmartCauseSomebodiesGivenHerABitOfCardWithAllTheAnswersOnButIRememberYouWhenYouUsedToDoPointsOfViewAndYouWereAnnoyingThenAsWell = "I love Anne Robinson"
    mmm what is the maximum length for a variable name anyway?

    SD
    "I'd rather have a full bottle in front of me than a full frontal lobotomy!"

  8. #8
    Hyperactive Member
    Join Date
    Mar 2001
    Location
    Calgary, Canada
    Posts
    453
    p.s. I didn't put the space in. must be a bug

    SD
    "I'd rather have a full bottle in front of me than a full frontal lobotomy!"

  9. #9
    ricmitch_uk
    Guest
    TIP: Smashing your moniter, won't make Clippit go away forever, no matter how you do it.

  10. #10
    Hyperactive Member
    Join Date
    Mar 2001
    Location
    Calgary, Canada
    Posts
    453
    Tip: To really impress your girlfriends parents do the Elephant impression before a posh meal.

    Thinks to remember:

    Make sure pockets are empty before pulling them inside out. Most elephants don't have chewing gum, snotty hankies or packets of condoms stuck to their ears.

    Make sure that you have no visible disease marks on your favourite appendage. Parents get upset about that for some reason.

    For extra points. Drop some peanuts on the floor and see if you can use your willy to pick them up and stuff them up your ass.

    The last bits a little tricky.

    Cheers,

    SD
    "I'd rather have a full bottle in front of me than a full frontal lobotomy!"

  11. #11
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    Originally posted by paulw
    Tip: Stop coding and become an analyst - it's better paid.

    Can I have my £1,000 now?

    Cheers,

    P.
    What exactly is the difference between a programmer and an analyst?

  12. #12
    ricmitch_uk
    Guest
    Analyst read though all the source code done by other people, checking it. (I think) It's like proof reading an article before it goes to press.

  13. #13
    billfaceuk
    Guest
    So analysts just press the nice little blue triangle and see if an error message appears?

  14. #14
    billfaceuk
    Guest
    Originally posted by Fox
    Tip: Don't use GoTo
    Why Not???

  15. #15
    Lively Member Jamagei's Avatar
    Join Date
    Jul 2000
    Location
    running from you. You freak.
    Posts
    69
    it's messy, very messy, can be a ***** to debug. well that's why i don't use it EVER anyway
    Now, aren't you sorry you didn't just keep on scrolling?

  16. #16
    Junior Member
    Join Date
    Apr 2001
    Location
    India
    Posts
    22
    Originally posted by billfaceuk

    Why Not???
    B'cuz with Go To you only go to error.

  17. #17
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Exactly *lol*

    Seriously, the only place I ever used and use GoTo is the following code:

    Code:
    Sub Whatever()
        On Error GoTo 1
    
        'Code
        Exit Sub
    
    1   'Put Error-handling code here.. maybe later ;)
    End Sub

  18. #18
    billfaceuk
    Guest
    thats all i use it for.

  19. #19
    Hyperactive Member
    Join Date
    Mar 2001
    Location
    Calgary, Canada
    Posts
    453
    Originally posted by SteveCRM


    What exactly is the difference between a programmer and an analyst?
    Okay, I'm going to do something I never normally do. Yip, I'm going to answer a chit-chat question seriously (for once).

    A system analyst is usually involved in the design of a system, and ends up going to long boring meetings and writing documentation before a single line of code is written.

    Traditionally they are higher paid than programmers, but this distinction is slowly vanishing as programming wages increase.

    Every Analyst I know has previously been a programmer, but strangely the job doesn't really require you to know how to code. It's weird like that.

    Analysts usually end up doing a fair amount of project and personnel management and can usually expense team drinking sessions under the excuse that "the guys and gals where a bit low so I thought I'd cheer them up" sort of thing.

    Programmers take the designs of the analysts and sit down and code it. Depending on the structure of the team, the Analyst may do some prototyping coding or help out with the development if any of the team get stuck.

    Speaking as a Systems Analyst I can tell you it sucks. Sure it's better paid, but it involves lots of dull and boring meetings and documentation. I wish I was a programmer again.

    SD
    "I'd rather have a full bottle in front of me than a full frontal lobotomy!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width