Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
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 and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralRe: Now this is when programming is fun! PinprotectorMarc Clifton10-Jul-14 3:39 
GeneralRe: Now this is when programming is fun! PinprofessionalBassam Abdul-Baki10-Jul-14 3:45 
GeneralRe: Now this is when programming is fun! PinprotectorOriginalGriff10-Jul-14 4:06 
GeneralRe: Now this is when programming is fun! PinprotectorMarc Clifton10-Jul-14 5:08 
GeneralRe: Now this is when programming is fun! PinprofessionalJeremy Falcon10-Jul-14 4:18 
GeneralRe: Now this is when programming is fun! PinprotectorMarc Clifton10-Jul-14 5:10 
GeneralRe: Now this is when programming is fun! PinprofessionalJeremy Falcon10-Jul-14 7:06 
GeneralMy fun morning Pinprofessionalchriselst10-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 PinprofessionalglennPattonWork10-Jul-14 2:09 
GeneralRe: My fun morning PinmvpDave Kreskowiak10-Jul-14 2:36 
GeneralRe: My fun morning PinprotectorOriginalGriff10-Jul-14 2:46 
GeneralRe: My fun morning PinmemberTim Carmichael10-Jul-14 3:49 
GeneralRe: My fun morning PinprofessionalSander Rossel10-Jul-14 4:51 
GeneralRe: My fun morning Pinmemberdandy7210-Jul-14 8:21 
GeneralRe: My fun morning PinprofessionalMycroft Holmes10-Jul-14 17:05 
GeneralRe: My fun morning PinmemberKLPounds11-Jul-14 4:19 
Questionwhat is more reliable than ftp? PinmemberMike Deeks10-Jul-14 0:46 
AnswerRe: what is more reliable than ftp? PinprotectorPete O'Hanlon10-Jul-14 0:52 
GeneralRe: what is more reliable than ftp? Pinmemberdpminusa11-Jul-14 7:09 
AnswerRe: what is more reliable than ftp? PinmemberSimon Lee Shugar10-Jul-14 0:55 
GeneralRe: what is more reliable than ftp? Pinmembermegaadam10-Jul-14 1:04 
GeneralRe: what is more reliable than ftp? PinmemberMike Deeks10-Jul-14 1:12 
GeneralRe: what is more reliable than ftp? PinprofessionalRage10-Jul-14 2:30 
GeneralRe: what is more reliable than ftp? PinmemberSimon Lee Shugar10-Jul-14 3:53 
GeneralRe: what is more reliable than ftp? PinmemberMark AJA11-Jul-14 9:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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.141022.2 | Last Updated 24 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid