Click here to Skip to main content
12,349,363 members (70,710 online)

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Now this is when programming is fun! Pin
Marc Clifton10-Jul-14 3:39
protectorMarc Clifton10-Jul-14 3:39 
GeneralRe: Now this is when programming is fun! Pin
Bassam Abdul-Baki10-Jul-14 3:45
professionalBassam Abdul-Baki10-Jul-14 3:45 
GeneralRe: Now this is when programming is fun! Pin
OriginalGriff10-Jul-14 4:06
protectorOriginalGriff10-Jul-14 4:06 
GeneralRe: Now this is when programming is fun! Pin
Marc Clifton10-Jul-14 5:08
protectorMarc Clifton10-Jul-14 5:08 
GeneralRe: Now this is when programming is fun! Pin
Jeremy Falcon10-Jul-14 4:18
professionalJeremy Falcon10-Jul-14 4:18 
GeneralRe: Now this is when programming is fun! Pin
Marc Clifton10-Jul-14 5:10
protectorMarc Clifton10-Jul-14 5:10 
GeneralRe: Now this is when programming is fun! Pin
Jeremy Falcon10-Jul-14 7:06
professionalJeremy Falcon10-Jul-14 7:06 
GeneralMy fun morning Pin
chriselst10-Jul-14 1:56
professionalchriselst10-Jul-14 1:56 
We have an application that writes xml files when certain things happen.
We have an ESB that picks these files up, converts them to JMS and sticks them in a queue.
We have a Windows service written in VB.net that reads the messages from the queue, writes them into a SQL DB table, then processes the messages into other table(s).

All fairly simple stuff, but the powers that be have decided they want to remove the ESB, the woman who wrote the Windows service has just started maternity leave, no-one else in the team has any knowledge of what it does, nor the time to look at it.

So I volunteered.

I have never written, read, or looked at VB before, I have done plenty of C#, and even worked on a Windows service 6 or so years ago.

So I had a look at the existing code, quickly worked out which bit needed replacing and had a good idea what it needed replacing with. Hacked together something that looked like it should work in under half an hour, then tried to install the service on my Windows 7 box to test.

2 hours of googling, registry hacking, and swearing later I managed to install it. Started it up, dropped a file into the directory, and an error because it was in use by another process. To be fair, I had read a warning about such problems using FileSystemWatcher when I first started so began searching for a solution.

I found loads, some looked nice, some looked nasty, some just looked stupid.

But nearly all of them were in C#.

How do you VBers cope?

I'm sure that if you know C# and VB then it is simple enough to convert one to the other.

And if you do know both C# and VB, why the bloody hell not just do it in C# in the first place?

Anyway, it works now, taken me nearly 3 hours. Apparently when they had a meeting to decide what to do about the problem they thought it might take a few weeks so no-one wants the solution yet.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.

GeneralRe: My fun morning Pin
glennPattonWork10-Jul-14 2:09
professionalglennPattonWork10-Jul-14 2:09 
GeneralRe: My fun morning Pin
Dave Kreskowiak10-Jul-14 2:36
mvpDave Kreskowiak10-Jul-14 2:36 
GeneralRe: My fun morning Pin
OriginalGriff10-Jul-14 2:46
protectorOriginalGriff10-Jul-14 2:46 
GeneralRe: My fun morning Pin
Tim Carmichael10-Jul-14 3:49
memberTim Carmichael10-Jul-14 3:49 
GeneralRe: My fun morning Pin
Sander Rossel10-Jul-14 4:51
professionalSander Rossel10-Jul-14 4:51 
GeneralRe: My fun morning Pin
dandy7210-Jul-14 8:21
memberdandy7210-Jul-14 8:21 
GeneralRe: My fun morning Pin
Mycroft Holmes10-Jul-14 17:05
professionalMycroft Holmes10-Jul-14 17:05 
GeneralRe: My fun morning Pin
KLPounds11-Jul-14 4:19
memberKLPounds11-Jul-14 4:19 
Questionwhat is more reliable than ftp? PinPopular
Mike Deeks10-Jul-14 0:46
memberMike Deeks10-Jul-14 0:46 
AnswerRe: what is more reliable than ftp? Pin
Pete O'Hanlon10-Jul-14 0:52
protectorPete O'Hanlon10-Jul-14 0:52 
GeneralRe: what is more reliable than ftp? Pin
dpminusa11-Jul-14 7:09
memberdpminusa11-Jul-14 7:09 
AnswerRe: what is more reliable than ftp? PinPopular
Simon Lee Shugar10-Jul-14 0:55
memberSimon Lee Shugar10-Jul-14 0:55 
GeneralRe: what is more reliable than ftp? Pin
megaadam10-Jul-14 1:04
membermegaadam10-Jul-14 1:04 
GeneralRe: what is more reliable than ftp? Pin
Mike Deeks10-Jul-14 1:12
memberMike Deeks10-Jul-14 1:12 
GeneralRe: what is more reliable than ftp? PinPopular
Rage10-Jul-14 2:30
professionalRage10-Jul-14 2:30 
GeneralRe: what is more reliable than ftp? PinPopular
Simon Lee Shugar10-Jul-14 3:53
memberSimon Lee Shugar10-Jul-14 3:53 
GeneralRe: what is more reliable than ftp? Pin
Mark AJA11-Jul-14 9:12
memberMark AJA11-Jul-14 9:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 25 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid