Post your best VB Tips and Tricks Here! :D
Printable View
Post your best VB Tips and Tricks Here! :D
Tip: Don't use GoTo
Don't try to fix bugs by pouring water inside your computer ;)
You obviously weren't paying attention :p
Tip: Don't attempt to use your PC as a cat-carrier when turned on :)
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
Is this another VB tip? Just because tried this code and my VB says "Syntax error" :rolleyes:Quote:
BTW: I love Anne Robinson
I think you're meant to define it as a string. Here try thisQuote:
Originally posted by Fox
Is this another VB tip? Just because tried this code and my VB says "Syntax error" :rolleyes:
mmm what is the maximum length for a variable name anyway?Code:
sSnippyLittleBitchWhoThinksShesSmartCauseSomebodiesGivenHerABitOfCardWithAllTheAnswersOnButIRememberYouWhenYouUsedToDoPointsOfViewAndYouWereAnnoyingThenAsWell = "I love Anne Robinson"
SD
p.s. I didn't put the space in. must be a bug:)
SD
TIP: Smashing your moniter, won't make Clippit go away forever, no matter how you do it.
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
What exactly is the difference between a programmer and an analyst?Quote:
Originally posted by paulw
Tip: Stop coding and become an analyst - it's better paid.
Can I have my £1,000 now?
Cheers,
P.
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.
So analysts just press the nice little blue triangle and see if an error message appears? :rolleyes:
Why Not???Quote:
Originally posted by Fox
Tip: Don't use GoTo
it's messy, very messy, can be a ***** to debug. :) well that's why i don't use it EVER anyway :)
B'cuz with Go To you only go to error.;)Quote:
Originally posted by billfaceuk
Why Not???
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
thats all i use it for.
Okay, I'm going to do something I never normally do. Yip, I'm going to answer a chit-chat question seriously (for once).Quote:
Originally posted by SteveCRM
What exactly is the difference between a programmer and an analyst?
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