Click here to Skip to main content
15,886,703 members

Comments by dg6yhw11 (Top 18 by date)

dg6yhw11 19-Jul-13 14:46pm View    
That's perfect. I couldn't find it in the Help.
Thank you.
dg6yhw11 16-Jul-13 12:30pm View    
I'm sure it was caused by a patch but nobody knows which one and "policy" insists that all patches be applied.
dg6yhw11 11-Jul-13 16:12pm View    
You're comment about the VB runtime is valid to a degree. Here's what Microsoft says:

"Microsoft will support your existing Visual Basic 6 components and applications through the lifetime of Windows 7 client and 2008 R2 server."

I didn't bother to look up the life of Win 7 (Of course, large companies will have to start adopting it sometime...:))

As for 2, I have a business need to send data using XML and SOAP. So I have to write something in VS 2012 to do that. Part of the fun involves trying to create VS Structure's that match the UDTs used in the VB 6 data files.. int is now int32, long is int, currency doesn't exist. What a PITA.

Needless to say the 245,780 or so lines of the main program are not going to be converted any time soon.
dg6yhw11 11-Jul-13 15:46pm View    
Sorry but I totally disagree.

It doesn't matter if that code was written in VB6, C, C#, F#, FORTRAN, COBOL or Swahili; If that code was working, not causing any problems and had no business need to be touched, then you just wasted your time and possibly introduced a bug that did not need to be there.

I am the first to admit that VS 2012 is way cooler than VB6. You can do lots of neat stuff with it. C# is swell. So is HTML5, XAML and all the rest. We can create really cool interfaces that users might actually be able to understand. We can connect to the Web very easily.

But it sucks for business. File I/O, Printing, and many other line-of-business requirements are just plain awful.

VB6 may work really well for the apps that your co-workers are responsible for, just as C# works really well for you. Perhaps you can cut them some slack.
dg6yhw11 11-Jul-13 14:42pm View    
Thanks Dave.

As a professional with thousands of users who depend on our code, we cannot embrace every new technology for its own sake.

I don't know where you live but here we have an expression that states "if something is working, don't fix it".

Array manipulation has been a core of programming since programming began. It is an elegant and easy way to work with numbers. It is also very cpu-cycle-efficient. You can do a lot with very little code.

It seems to me that Microsoft has forgotten the importance of business programming in their panicked desire to capture the Twitter-centric generation.

This is one reason why VB 6 is still the preferred language of business.