|
shared at work. Good idea Griff
To err is human to really mess up you need a computer
|
|
|
|
|
I am owning this Marketing myself thing this morning. Squeezing some complex code into the client's project that they can fully understand and appreciate, but never hope to write themselves.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
Thanks guys, for the expressions of sympathy and or understanding at my woes experienced when trying to code VB.NET, but it gets worse. The VB code I'm writing is a little service that drags the universe down the drain with it by using POP3 for mail retrieval. The POP3 protocol makes VB look like a night in shining armour. It might even make sense to use an ugly language for this task, so as to not ruin a pretty one for me.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
Brady Kelly wrote: The POP3 protocol makes VB look like a night in shining armour. I like POP3. One can use Telnet to test the server.
Take a look at the authentication[^]-part; easy to trace, log and debug. What part could one not like?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
My main, and in my opinion, not trivial, beef is having to use a transient message index, vs. a message ID that is unique across sessions. I am using the pretty smooth MailKit[^], so I suppose life could be worse.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
A sign I should rather be downing tools and going to bed:
I just spend at least 2 minutes cursing as to invoke demons, because my vb code wouldn't compile. I had just moved three VB.NET classes out of a forms project and into a new Windows Service project, and some errors were easy to fix, nicely higlighted in red, but some were truly cryptic, like about thirty that say:
Error 87 Too many characters in character literal
Then at the bottom of about eighty compile errors, I found a clue:
Error 5 A namespace cannot directly contain members such as fields or methods
What? Namespaces in VB.NET? What was going on? I added a new class to see if the template was perhaps broken, but then I noticed, I had pasted the VB class files into a C# project.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
Brady Kelly wrote: my vb code wouldn't compile
Count your blessings.
Brady Kelly wrote: Namespaces in VB.NET?
Yes.
|
|
|
|
|
Brady Kelly wrote: I had pasted the VB class files into a C# project.
Wishful thinking...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Pasted VB in C# projects and vice versa more times than I'd like to admit... The joys of working with both languages
|
|
|
|
|
I looked for an AddIn that would convert C# -> VB/VB -> C# on paste if required, but didn't find anything.
Would be cool if someone could build something like that (using Roslyn, most likely).
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
There is an open source IDE called SharpDevelop that translates VB.net to and from C# (and to and from other .Net languages). It can be found at www.icsharpcode.net. I have used it a few times with good results. Basically you open your project or code module in this IDE; under Tools click Convert Code To and select your target language. I hope this helps!
modified 11-May-15 15:27pm.
|
|
|
|
|
Brady Kelly wrote: my vb code
I see your problem.
Once you lose your pride the rest is easy.
In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
Simply Elegant Designs JimmyRopes Designs
|
|
|
|
|
If it's any consolation, after more than 4 decades of making coffee I forgot to put the lid on the pot. (NOTE: It's one of those drip-types where the pot-lid holds open the valve from the brew basket)
cat fud heer
|
|
|
|
|
Hehe, sort of been there, but my feat was to leave the pot out on one that doesn't have a valve.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
but VERY, VERY, VERY, [snip ~1,000 more VERYs] DANGEROUS!
WOW![^]
Now something tells me that those boys won't be on yard duty anytime soon!
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
|
Quite true!
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Well, I used to use a hairdryer to speed the barbeque up...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I've done that with a lower power fan. The heat coming off the chiminea melted the blower housing. Too bad I don't have a leaf blower.
|
|
|
|
|
As for everything, the right tool for the right job. An acquaintance of mine says that with an acetylene torch and the blower from his forge his charcoal grill goes from out to ready to cook from in 15 seconds.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
So... those are the responsible for the global warming...
|
|
|
|
|
Oh sh*t, I hope Hamish friend of my son does not see this, he has a leaf blower and is stupid enough to do this just for the entertainment value except he would to it on the veranda and probably burn the house down!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Seriously?[^]
Why on Earth would ANYONE think that this kind of 'prank' (I use that term veeeeeeeery loosely here) is a good idea?
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
"Well, my mates were doing it... And the deputy helped us treat the building as a urinal..."
Should help them all get jobs in a few years.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Eh, problem is is there's enough of them it doesn't matter. Get enough idiots behind you and you can even run for office
|
|
|
|