|
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
|
|
|
|
|
Two great white sharks swimming in the ocean spied survivors of a sunken ship.
"Follow me son" the father shark said to the son shark and they swam to the mass of people.
"First we swim around them a few times with just the tip of our fins showing." And they did.
"Well done, son! Now we swim around them a few times with all of our fins showing." And they did.
"Now we eat everybody." And they did.
When they were both gorged, the son asked, "Dad, why didn't we just eat them all at first? Why did we swim around and around them?"
His wise father replied, "Because they taste better without the sh*t inside!"
|
|
|
|
|
You missed the bit where the father shark said, "Then we swim round them humming daah da daah da"
|
|
|
|
|
So THAT'S where the eerie music comes from!
I hadn't realised it before, but sharks actually seem to be quite musical[^]...
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Good one!
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
|
|
|
|
|
Sandeep Mewara wrote: "Because they taste better without the sh*t inside!"
SO they sh*t in there pants so its still there inside
|
|
|
|
|
No, the second circling is to give time for the ocean to wash them off.
Just because the code works, it doesn't mean that it is good code.
|
|
|
|
|
|