|
Clicky[^]
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Yes its a great idea for tuesday but its not the only launch that day. Diablo's expansion is going live too. I plan taking the thursday and friday off that week
Let the grind begin !
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
It is the only rational explanation.
Why else would I accept a job to port a VB6 fustercluck to .net? Oh great I'll do it C#. No, it has to be VB.net as that's the only language the teaboy IT can write in and he'll take it over and support it post porting.
Geez, time for a large one before I go and search out the XP vm to work on.
|
|
|
|
|
*Looking around the office* ... where are you? There can't be two contracts like this surely???
|
|
|
|
|
There are plenty and nicely enough the prices are slowly rising as less people are willing to touch it. I've worked on the code base before, it's no worse or better than many and it should be a couple of months of steady work if all works out.
|
|
|
|
|
Nagy Vilmos wrote: VB6 fustercluck
Nagy Vilmos wrote: I've worked on the code base before
No relation I hope.
|
|
|
|
|
Same to you!
I've worked with this product on and off for nearly 20 years! The original was actually a VB4 re-write of an older VB3 product. At this port, 1996/97, it was pretty bleeding edge and worked very well.
It got sold and the upgrade to VB6 was no more than a rebuild. Over the years it has had so many dirty hands on it, it is hard to tell where the original is and where the band aid starts. The problem is now there is far too much band aid and the last company using it can't maintain and want to move off of XP...
|
|
|
|
|
That's your weekend sorted then!
Simon Lee Shugar (Software Developer)
www.simonshugar.co.uk
"If something goes by a false name, would it mean that thing is fake? False by nature?" By Gilbert Durandil
|
|
|
|
|
We know you really love VB.NET! You are just putting on an act to keep your man card.
|
|
|
|
|
It's like that fat bird. Easy to do, rarely complains, but you don't want your mates to know about it.
|
|
|
|
|
Nagy Vilmos wrote: Why else would I accept
Because you have no other work and you are desperate?
|
|
|
|
|
Write it in C# and then decompile it to VB.NET. It's fairly trivial to do.
|
|
|
|
|
You can reverse byte code derived from C# back to VB.NET?
(I think its byte code, or is it P code, I forget)
How is it gong to come up with variable names? Apart from that I imagine its a fairly easy process, but, from comparing C and assembler, without the variable names, the code is impossible to read properly.
|
|
|
|
|
It's fairly trivial to accomplish. Remember that the higher level .NET languages compile down to the same IL, and there are many converters that will convert the language itself, usually using ASTs.
|
|
|
|
|
Yeah, that's the p code/byte code level, How about variable names though, are they preserved?
|
|
|
|
|
Yes. Unless the code is deliberately obfuscated.
|
|
|
|
|
Ah, OK< that's going to make it a lot easier.
I have looked at C code derived fro assembler, and its almost impossible to read, al the variables are just place holders because variable names aren't preserved of course. Its a mess.
|
|
|
|
|
What Pete said. Seriously. Write it in C# and use any one of the (actually very good) and free converters that are available, for example, http://converter.telerik.com/[^] though you'll probably want one that can suck in a whole VS solution.
Marc
|
|
|
|
|
I'm not so bothered to be honest. If I do find myself being tied up in the verbosity of it all, I may do some of it in C#. I'm hoping to persuade them that C# is a better choice. But at the end they're paying the bills.
|
|
|
|
|
Nagy Vilmos wrote: I'm hoping to persuade them that C# is a better choice.
Good luck with that but in my experience VB people love VB and do not want to change.
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes Designs
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
Work is work, just keep Gin close at hand!
Along with Antimatter and Dark Matter they've discovered the existence of Doesn't Matter which appears to have no effect on the universe whatsoever!
Rich Tennant 5th Wave
|
|
|
|
|
This un needs it intravenous...
|
|
|
|
|
Nagy Vilmos wrote: This un needs it intravenous...
and with VB I'd say a fast drip.
Along with Antimatter and Dark Matter they've discovered the existence of Doesn't Matter which appears to have no effect on the universe whatsoever!
Rich Tennant 5th Wave
|
|
|
|
|
Know thy pain sir! I am working on an elephant'er at the moment hacked together in VB2013 from what appears to VB6, VB5, Delphi & Others (I keep being told make it stable like it was before you messed with it). Every possible cludge to get it to compile has been done, resulting in something that will fall over in a strong breeze!, but looks the business!!
|
|
|
|
|
Nagy Vilmos wrote: Why else would I accept a job to port a VB6 fustercluck to .net?
Sorry for your luck.
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes Designs
I'm on-line therefore I am.
JimmyRopes
|
|
|
|