Slashdot Mirror


VBA Going Away, Macs Now, PCs Soon

Nom du Keyboard writes "As Microsoft drops support for older Office file formats, it looks like Visual Basic for Applications is also going soon. Mac Office 2008 has dropped VBA in favor of enhanced support for AppleScript, and Office 2009 is scheduled to lose it in favor of Mac incompatible Visual Studio Tools for Applications (VSTA) or Visual Studio Tools for Office (VSTO). This sounds like the Mother of All Backwards and Cross-Platform Incompatibilities — especially since there appears to be no transition period where both the old and new scripting languages will be simultaneously supported. And as past experience with Visual Studio .NET has shown, upgrade tools are far less than perfect."

255 comments

  1. Cross Platform? by MightyYar · · Score: 3, Interesting

    So my only cross platform choice for scripting office applications is now OO.org? Sweet Jesus! MS, WTF?

    --
    W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    1. Re:Cross Platform? by ricegf · · Score: 5, Insightful

      This could be good news! We currently have to support MS Office versions of our customizations for Windows, and OOo versions for Linux / Unix. Since Microsoft is forcing us to go back and rewrite the MS Office versions if we upgrade our Windows apps - why not just upgrade to OOo on all platforms, avoid the rewrite cost, and maintain just one set of customizations going forward!

      Yes, yes, I see a great "employee suggestion" fattening my wallet this year...

    2. Re:Cross Platform? by Anonymous Coward · · Score: 0

      Microsoft's new motto is, "Finding new ways to alienate paying customers, one day at a time".

    3. Re:Cross Platform? by coppro · · Score: 0, Troll

      Microsoft supports only one kind of cross-platform-compatible application, it seems:

      #include <stdio.h>
      int main() { printf("%d", 1/0); return EXIT_SUCCESS; }

    4. Re:Cross Platform? by calebt3 · · Score: 1

      I wish you luck.
      Let us know how it goes. :-)

    5. Re:Cross Platform? by carnalforge · · Score: 1

      Err, should be:

      #include

      int WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
      {
                      MessageBox(0, (const char *) (1/0), "", MB_OK);
                      return 0;
      }

      --
      :wq!
    6. Re:Cross Platform? by smittyoneeach · · Score: 2, Funny

      You're supposed to use Visual Studio Tools for Applications (VSTA).
      Seems to remind me of some other smash hit from Redmond...Bob? Millenium Edition? DOS? What was that thing...

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    7. Re:Cross Platform? by arotenbe · · Score: 2, Interesting

      Microsoft's new motto is, "Finding new ways to alienate paying customers, one day at a time". I'm waiting for them to start suing their own customers... oh, wait, the music industry has already tried that.
      --
      Tomato wedge sperm darts that are Republican.
    8. Re:Cross Platform? by risk+one · · Score: 2, Interesting

      Does ODF have a scripting language defined? That would be a perfect selling point. Switch all your complicated macro-based documents to ODF and this will never happen again.

    9. Re:Cross Platform? by ianare · · Score: 4, Informative

      Python Power baby !!

    10. Re:Cross Platform? by toQDuj · · Score: 3, Insightful

      Nope, you misunderstand the strategy employed by Microsoft.

      First, they say they will make a sudden switch, everyone will be stumped, irked, and in various states of disbelief at their ballsy move.
      Then they will "concede" and support both scripting languages for one more version, and people will think they've won, and a gradual transition takes place. Managers are happy because they "made" Microsoft change their position on abandoning VB right away, and Microsoft will be happy because they were planning it all along. The only unhappy few are the IT people that get to recode from one language into another.

      B.

      --
      Every experiment which ends in a big bang is a good experiment.
    11. Re:Cross Platform? by ricegf · · Score: 4, Informative

      "There is no macro language specified in ODF. Users and developers differ on whether inclusion of a standard scripting language would be desirable." So, I'm afraid not.

      However, OOo defines a Universal Developer's Kit that allows development of scripts in any supported language. The one's we have written are in Basic, though our current choice would be Java or Python (we us a lot of both).

      My current version of OOo (2.3 in Ubuntu Gutsy) lists Basic, Python, Javascript, and Beanshell as available by default. I'd have to check to verify that these same options are available on 2.3 on Windows and Unix.

    12. Re:Cross Platform? by mvdwege · · Score: 5, Informative
      Does ODF have a scripting language defined?

      Wrong question. ODF is a document format, it defines the form of the data. The data does not determine what tools must be used to process it, except in cases of proprietary formats, where the only tools are the vendor supplied ones. Tying the format closely to the tools meant to process it, to the point of embedding the processing code in the data, is one of the design blunders perpetuated by Microsoft, which gave us such wonderful 'innovations' as Word Macro Viruses.

      ODF can in principle be processed by any language that has a decent XML processing library available, or through the API of the document editing tools. The leading API at the moment is OpenOffice.org's, which is open to any language with bindings to its UNO component model, including the language shipping with OpenOffice.org, a version of BASIC resembling VBA.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    13. Re:Cross Platform? by fermion · · Score: 1
      Excuse me for asking, but isn't OO.org a lot of java, and open source. Wouldn't it be possible, at the corporate level, to do quite a bit of customization, more than possible for mere humans on MS Office.

      I mean if the customizations are kept at a high enough level so not to conflict with updates, then it shouldn't be much different from the stability given by VBA. Do companies do such customization already? Does this make more sense than purchasing MS Visual Studio and learning to develop on it?

      --
      "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
    14. Re:Cross Platform? by Jason+Earl · · Score: 3, Insightful

      I'm not surprised that Microsoft is dropping VBA support for the Mac. After all, the easiest way to kill the Mac as a viable business platform is to make it so that business applications written in VBA on top of Excel or Word no longer work on the Mac. Microsoft is starting to get a little worried about losing desktop marketshare to Apple, and a crippled or incompatible MS Office for Mac would fix that perfectly.

      Forcing people to rewrite VBA applications on Windows, on the other hand, is a completely different kettle of fish. One of the primary reasons that OpenOffice.org has problems in the corporate market is that companies have invested heavily in applications written in VBA on top of Word and Excel. If Microsoft forces people to rewrite these applications then the door is suddenly wide open for MS Office replacements.

    15. Re:Cross Platform? by Anonymous Coward · · Score: 0

      I'm surprised they didn't just use their IronPython. Same simplicity, same scripting capabilities (well, a superset), and it actually has a future (well, at least the standard CPython does). Much more powerful for OOP and Perl-type duties as well.

    16. Re:Cross Platform? by aussie_a · · Score: 1

      If by suing their own customers you mean suing those who don't pay for stuff. Then yes, that's what the music industry has been doing.

    17. Re:Cross Platform? by aussie_a · · Score: 0

      The only unhappy few are the IT people that get to recode from one language into another. Sounds like these "unhappy few" get a job thanks to Microsoft. If they don't like it they can move to another workplace. If one doesn't exist, sounds like Microsoft just helped keep them employed.
    18. Re:Cross Platform? by MightyYar · · Score: 1

      Forcing people to rewrite VBA applications on Windows, on the other hand, is a completely different kettle of fish. One of the primary reasons that OpenOffice.org has problems in the corporate market is that companies have invested heavily in applications written in VBA on top of Word and Excel. If Microsoft forces people to rewrite these applications then the door is suddenly wide open for MS Office replacements. Yeah, you totally nailed what I was thinking. They could have gotten away with dropping the Mac VBA support. But when they drop VBA for Windows, it will force anyone with VBA apps to re-evaluate Office. The path of least resistance MAY be to use OO.org, which now runs VBA. Depending on the use, it may be easier to just make small VBA changes to work with OO.org than it is to move to some completely new language on new versions of Office. And then MS asks you to write a separate version for the Mac, and offers nothing in terms of a Linux solution.

      OO.org suddenly looks reasonable once MS decides to stop selling Office 2007.
      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    19. Re:Cross Platform? by ricegf · · Score: 4, Insightful

      Wouldn't it be possible, at the corporate level, to do quite a bit of customization, more than possible for mere humans on MS Office.

      I'm not all corporations, but I've been around a few decades. Here's my 2 cents worth.

      All of the OOo code is licensed under the LGPL, and can be freely downloaded, built and customized. So yes, it's possible. The sky's the limit; it's just software. :-) Several factors make it less likely that a corporation would take this approach, however.

      One is that such a customization would very likely be deemed a "derivative work" by Legal, in which case if it were distributed (e.g., to suppliers for a given project, or even arguably to contractors working for the corporation), then the source must be made available as well. Non-software corporations tend to be allergic to releasing their source code, in my experience, because their lawyers tend to be very conservative. Some manager somewhere will likely have to bet his career by accepting legal liability for the corporation. Will the risk to his career if Something Bad Happens justify the benefit he perceives?

      The issue of support will also likely be raised. What if the customized version breaks - who will "support" it? Yes, yes, we all know the internal team of developers will - assuming they weren't laid off in the last "shareholder value" improvement exercise (a constant risk in corporate America). But IT directors tend to go the other direction, from what I've seen - they want to outsource support (and legal indemnification) for open source software, so it can be treated as if it were proprietary. Proprietary means comfort; a target at which the finger can point if Something Bad Happens. This tendency is likely the foundation of IBM's business case for Symphony, by the way.

      Finally, if a support team were to be established in a corporation to produce a custom version of OOo, they would need to have some type of development environment. As much fun as bashing Microsoft may be, Visual Studio and .NET are not technically inferior products. So a corporation is unlikely to consider that an inferior option to, say, Eclipse technology. Sure, it costs a lot more - but it's a small number of licenses. They probably wouldn't hesitate.

      But in the end, I suspect a lot of corporations just want to write scripts and such without mucking around in the source code proper. The issues most likely to resonate are: (1) How do you efficiently distribute the customizations? (2) How hard are they to develop and maintain? and (3) Can we use them on all of our platforms as is, or do we have to port or (ack!) redevelop for each platform? The third is where Microsoft's "Windows Everywhere" bias may hurt them with this decision to abandon VBA. (Gee, now I'm sure glad we chose to use Python as the scripting language in our internal applications! :-)

    20. Re:Cross Platform? by ILongForDarkness · · Score: 1

      Tying the format closely to the tools meant to process it, to the point of embedding the processing code in the data, is one of the design blunders perpetuated by Microsoft, which gave us such wonderful 'innovations' as Word Macro Viruses. I think it is the other way around. MS uses an object model for the app and embeds the data in it. Example excel.workbooks.item(i).currentsheet.offset(1,2).value = "Total". The underlying structure of the app determined how the data is accessed in Office. Can the data and the structure be seperated? Sure with some sort of markup language I suppose (MS XML anyone?). I actually like having things organized the way they are now, I find it pretty easy to guess where things will be, eg. currentsheet.buttons, where would the drop downs be, why currentsheet.dropdowns. What would be real nice and probably is what they are trying to do, would be to encapsulate office into .Net so that it isn't a pesky COM object that you can't get intellisense for in the .Net languages.
    21. Re:Cross Platform? by ianare · · Score: 1

      Well, they have a history of not using more open and standard technologies and would much rather use a home grown technology (see: J++, IE HTML, etc). It doesn't really surprise me, although I certainly agree that it would do users a lot of good. We use python quite a bit at the shop, and integration with MS Office is very useful. Fortunately, there are some tools for this using win32com, but it would be better to have it built in like OOo has it.

    22. Re:Cross Platform? by Anonymous Coward · · Score: 0

      Visual Basic is a crappy language and a poor choice to use as a macro language to begin with. Nevertheless, once you get used to its rough edges and dumb design decisions it just works ...for the sort of thing that you would want to use Microsoft Office for in the first place. If VBA isn't enough, that's probably because Microsoft Office (or some other VBA-entangled application) isn't the right tool for the job. Office isn't supposed to do everything, and it's hard to see how replacing VBA will do anything but make it worse. Yet another dumb decision by Microsoft, as Office is their cash cow (they may have already slaughtered Windows). Just goes to show you how a large reservoir of cash in a big company encourages dumb decision making at the highest levels.

      The excess verbosity of Java scripting with OpenOffice and some missing features in OpenOffice turned me off to it, but I like the concept.

    23. Re:Cross Platform? by smittyoneeach · · Score: 4, Funny

      Are you suggesting that Redmond use a tool whose original author is a Google employee?
      Have this madman removed.

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    24. Re:Cross Platform? by MacColossus · · Score: 1

      In a office somewhere in Redmond, Ballmer just threw a chair. LOL

    25. Re:Cross Platform? by RockDoctor · · Score: 1

      But in the end, I suspect a lot of corporations just want to write scripts and such without mucking around in the source code proper. The issues most likely to resonate are: (1) How do you efficiently distribute the customizations? (2) How hard are they to develop and maintain? and (3) Can we use them on all of our platforms as is, or do we have to port or (ack!) redevelop for each platform?

      Sense? On SlashDot?

      I'll hold the box - you just empty the contents of your desk into it. Been nice knowing you.

      Two consecutive Slashdot stories with sanity prevailing. Things are slipping.
      --
      Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
    26. Re:Cross Platform? by KlaymenDK · · Score: 1

      Does ODF have a scripting language defined?

      Wrong question. ODF is a document format, it defines the form of the data.


      See, I never quite understood this, maybe you're the one who can explain it.

      I know that the "texteditor.document.new()" command can be issued in any language. But what about scripts that will be stored within the document, won't they have to be in some predetermined, or at least runtime-determinable, language? I'm thinking of spreadsheet formulas, form buttons in text documents, and so on.
    27. Re:Cross Platform? by Nurgled · · Score: 1

      A hypothetical solution to this problem would be to reverse the relationship and store your document "in" your script, rather than trying to store the script inside the document. This could either take the form of bundling the document as a resource of the script, or more likely just making the script a generic app that can accept arbitrary external input. (An application!)

      Spreadsheet formulas are of course a different matter. The notion of a spreadsheet is pretty dependent on the ability to embed code in it, otherwise it'd just be a really poor database engine.

    28. Re:Cross Platform? by encoderer · · Score: 1

      I wouldn't look to the user-facing API for clues to the underlying app structure. The API gives you clues to the API object hierarchy, but that's about it.

    29. Re:Cross Platform? by Anonymous Coward · · Score: 0

      I think MS is using the Mac as an experiment to see if they can retire VBA and perhaps sell more tools to the power users who made use of it. Remember, the average Office user has no clue that VBA exists. For those who do, it's included at no additional cost. A revenue opportunity exists if they can sell a VBA replacement to the power users while taking it away from those who never knew they had it in the first place.

      VBA is the duct tape that made MS Access a viable front-end for all kinds of database apps. It served as a "VB for dummies" type of approach. When you have reason to avoid building a setup kit, and you know the end users have Access already, it serves as a convenient alternative.

      Anyone who had a big investment in VBA will be forced to (1) migrate, (2) reconsider the strategy of trusting MS to maintain a smooth upgrade path.

      Since the open source community never developed an effective drop-in replacement for the VBA components MS Access, I think MS is doing a better job of killing it's own product than the FOSS community could dream of doing on their own.

    30. Re:Cross Platform? by etnoy · · Score: 1

      Yay!
      I casually work for a really large engineering company that use a lot of VBA/Excel macros in the sales dept. I take care of these macros and write new ones when a new need arises. This "development" by MS will assure my future employment needs. :)

      --
      Quantum hacker.
    31. Re:Cross Platform? by CrazedWalrus · · Score: 3, Insightful

      The great thing is that we've got a bunch of MS Access "applications" that we can't get funding to re-write properly. Once Office doesn't support VBA, they'll have no choice. We'll then migrate them to unix land and probably Sybase, Oracle, or Postgres.

      Allowing business users to have Access is like giving an unsupervised 6 year old a handgun. They can work it, but they have no idea how to be responsible with it and will probably do much more harm than good.

    32. Re:Cross Platform? by clsc · · Score: 1

      It seems to me that -- if these rumours have any truth to them -- MS might actually be trying to move the data processing away from the specific document (format), and indeed away from the application that handles that specific document format.

      In stead the language used for processing of data will be an "umbrella language" that is tied closer to the OS than to any specfic application.

      This could be a very good move.

      But it still sucks that -- if these rumours have any truth to them -- I'll have to rewrite lots and lots of very neat and unbroken VBA code.

    33. Re:Cross Platform? by TonyToews · · Score: 1
      This story is wrong, wrong, wrong. Office Next will still have VBA.

      Tony Toews Microsoft Access MVP http://www.granite.ab.ca/access

    34. Re:Cross Platform? by zootm · · Score: 1

      I thought Jim Hugunin was the creator of IronPython? I believe that was the reason Microsoft hired him, in fact.

    35. Re:Cross Platform? by dnoyeb · · Score: 1

      If you look at email on Linux you see a big difference from that on WIndows. They do not have embedded code running in the email reader. I think OOO is trying to do the same thing. No embedded behaviors in the documents. Even if it makes the document less "live."

      I suppose if you want to do something scripted you should not be writing a document but maybe a flash app or something.

    36. Re:Cross Platform? by Anonymous Coward · · Score: 0

      Allowing business users to have Access is like giving an unsupervised 6 year old a handgun. They can work it, but they have no idea how to be responsible with it and will probably do much more harm than good.
      As a fairly sophisticated business user of Access, I have to say that the vendor who USED to do all of our Access work was WAY more dangerous than any of the managers or secretaries in our office (who are generally too afraid of Access to do much with it, anyway).
      I sat down with the folks in that vendor's office to develop the new database and repeatedly over many weeks of development had to insist that they NOT demonstrate how briliantly they could twist up VBA code because, inevitably, attempts to do so created unpredictable results, including virtually untraceable crashes and errors. (And MY main complaint - no one but THEY would be able to fix it.)
      The haughty paternalism demonstrated by this comment EASILY explains why such persons fail to demonstrate their value to those managers who need to "enhance stockholder value". And being gleeful to have a chance to aggregate more IT power thanks to MS and their brilliant strategems?
      Jeez.
      It's as if some people never heard the difference between book smart and common sense.
  2. Die Visual Basic by CrazyJim1 · · Score: 1, Insightful

    I hated the years when Visual Basic was thought to be a technical marvel. What were they thinking? And why do companies like to jump on every new thing without evaluating the good from the bad? Maybe some companies just think that everything that MS sends out is an upgrade.

    1. Re:Die Visual Basic by cromar · · Score: 0

      I'd really like to know why the MO Dept. of Education uses the damn filth... I've picked up all sorts of annoying typos by doing VB work for them.

    2. Re:Die Visual Basic by I8TheWorm · · Score: 4, Insightful

      One word.... RAD. Well, ok, it's really three words.

      With the PHBs having been promised projects developed in half the time with a smaller team, I can see how VB got it's bloated non-type-safe foot in the door.

      And rewriting projects now that are a VB fiasco is making for lots of development jobs ;)

      --
      Saying Android is a family of phones is akin to saying Linux is a family of PCs.
    3. Re:Die Visual Basic by AmericanInKiev · · Score: 1

      The only reason to "rewrite" an application is because it is fundamentally productive.

      I would propose that RAD is not an unreasonable approach to "testing" software.

      Surely most VB is not rewritten, some because it stinks, others because it works, only rarely is a lower level fully justified.

      Maybe this carping is less than fully informed?

      AIK

    4. Re:Die Visual Basic by I8TheWorm · · Score: 4, Interesting

      Only less than fully informed because I didn't qualify it.

      The rewrite projects I've seen regarding VB to [insert your own language of choice here] seem to be wrapped around a common theme... unsupportable code. While I'm sure there are plenty of enterprise level applications out there written in VB and well-written, the majority of what I've seen takes form level code and spaghetti to a whole new level.

      My only guess as to why this happens with such frequency is the environment in the late 90s where there were more jobs than programmers, too many "Sam's Teach Yourself Visual Basic in 21 Hours" books, and a lack of architecural knowledge leading VB teams down the path of no return.

      What many companies are left with are legacy apps that nobody wants to support, much less enhance. And with webServices, AJAX and all that is Web 2.0, and a bevy of other technologies that people want to utilize, enhancing kludgy enterprise VB apps with no architecture tends to be more expensive than a proper rewrite.

      A funny note: I'm currently contracted to a company that lost all of it's Java/Jade developers when part of the company was sold. In an effort to get the software on supported technology, phase 1 of this project is to reverse engineer the (completely undocumented) application and recreate it in C#. No changes allowed, regardless of best practices. Phase 2 is to completely rewrite it. By reading this could you guess this company is in the oil and gas industry?

      --
      Saying Android is a family of phones is akin to saying Linux is a family of PCs.
    5. Re:Die Visual Basic by Chris+Mattern · · Score: 1

      The only reason to "rewrite" an application is because it is fundamentally productive.


      It's the only way to take care of that dratted productivity!

      Chris Mattern
    6. Re:Die Visual Basic by ubrgeek · · Score: 1

      S'Truth. The only two reasons I learned VB was to quickly throw together an NNTP client using a pre-built, purchased ActiveX component that took care of it all for me (and let me hit my deadline and impressed my bosses with a shiny toy) and to get a UI together for the day before a presentation. It's amazing what some neat buttons and textarea boxes can do to impress people. VB was always really good at something. Of that, I'm certain. But it just really never seemed to be the Most Amazing Thing Ever (tm). I understand from friends who build frontends for databases that it's fairly easy to do so with VB, but I have no experience there.

      Regardless, with dropping support for VBA, does that completely hose things like all of the millions of complex macros that have been developed over the years? Does this affect VBScript (And no, I haven't RTFA)?

      --
      Bark less. Wag more.
    7. Re:Die Visual Basic by Anonymous Coward · · Score: 0

      Still, the company I work for has made *millions* from a VB6 application of many years ago and still in use today.

    8. Re:Die Visual Basic by metalcoat · · Score: 1

      Do I Work For You?

    9. Re:Die Visual Basic by I8TheWorm · · Score: 1

      Only if they upgrade ;)

      --
      Saying Android is a family of phones is akin to saying Linux is a family of PCs.
    10. Re:Die Visual Basic by AmericanInKiev · · Score: 4, Insightful

      I think you are criticizing an organic process for choosing the path of least resistance.

      Futile and somewhat incompletely informed spring to mind.

      VB is successful because most of the potential applications for computers are not terribly time or resource constrained, most applications are cost-of-development constrained. VB is chosen because it consistently provides the path of least resistance to the first deliverable result, and executives will always bet on the horse that makes it to the first turn - first.

      I'm suggesting these executives are not silly - they realize that in the rare case that a software becomes truly important, they will invest in an upgrade - but they avoid the upgrade costs on all the other trial balloons that fill the long spans between truly-imperative-software.

      In any cases, engineers who race to the first pole, do so because it keeps them employed, and that ain't so silly either.
      Criticizing a platform for being popular is what is silly in my humble opinion.

      AIK

    11. Re:Die Visual Basic by ibsteve2u · · Score: 1, Insightful

      Snicker...RAD is indeed the true reason why those who hate VB complain so loudly.

      Almost any other programming language carries with it the burden of endless planning and objectives meetings, months and even years of code writing and debugging, and then the stunning realization that the business has moved on without you and your project.

      Meanwhile, the Service & Finance people conclude that if they're going to get such lousy results for so much effort, they might as well offshore the next project in order to control the labor costs.

      With VB, the process was simple: Idea, implement, debug, distribute - in weeks, not months or years.

      I'm rather surprised that Microsoft is making this move - I suspect that there are ten lines of VB and VBA code for every one line of non-VB code out there in the corporate world.

      If you add up the costs of the Office and Vista O/S upgrades, the cost of the new hardware required to support Vista, the cost of porting all of that VB and VBA code, and the costs associated with the increase in electricity requirements that the new Vista-capable hardware demands, you've made one hell of an argument to go open source on Linux.

      --
      Orwell: "In a Time of Universal Deceit, telling the Truth is a Revolutionary Act"
    12. Re:Die Visual Basic by DingerX · · Score: 0

      Probably because they're trying to keep up with the MI Dept. of Education. Heaven forfend if you get sold down the river!

    13. Re:Die Visual Basic by I8TheWorm · · Score: 1

      Oh, don't get me wrong. I've written a fair share of applications in VB, and have seen well designed and well written VB code elsewhere.

      I do question the PHBs that decided, after reading an article describing VB as the cost saving miracle snake oil, to hand off huge enterprise application development to people who'd seen nothing but VB. Compared to what I described in the second sentence, I've seen way more 168 form VB applications with no classes, but 16 modules with global variables as far as the eye can see, etc...

      While VB itself is not to blame (well, except for that whole not defaulting Option Explicit thing), the people who chose it and the teams they chose (apparently based on desired rate and nothing more) are what made VB the laughing stock of the industry.

      --
      Saying Android is a family of phones is akin to saying Linux is a family of PCs.
    14. Re:Die Visual Basic by angus_rg · · Score: 2, Funny

      At least the egotistical VBS programmers stood upright in comparison to the documenters who thought the HTML "code" they wrote was a programming language. They're still mouth breathers dragging their knuckles on the ground, but still, they could stand.

    15. Re:Die Visual Basic by megaditto · · Score: 1

      Well, it sure is hell going to hose EndNote support in MS Word... Which will make a lot of biologists angry (and you wouldn't like to see them angry!)

      --
      Obama likes poor people so much, he wants to make more of them.
    16. Re:Die Visual Basic by Jesus_666 · · Score: 1

      That and very easy interface generation (which is a big part of RAD, of course). I'm planning* to write an app that uses a generic library to do all the work and platform-specific frontends to wrap everything in a user interface. Using VB for the Windows UI seems reasonable as the VB part wouldn't have to do any actual work, I don't know anything about the Windows API/GDI+, I have a copy of VB6 lying around somewhere and the Windows port isn't of a high enough priority to go with a cleaner approach.


      * Whether or not I'm actually going to write it depends on whether someone else opens up some source code.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    17. Re:Die Visual Basic by hey! · · Score: 1

      You don't really need that much out of an office suite scripting language. What you need is a good programming model for your office suite's objects. Not that THAT was so great with VBA and Office, but it's probably good enough.

      Years ago, in the days of 8MHz processors and 1MB of RAM, and BEFORE the age of VBA, had an Excel problem. I had two sets of data from different sources that arrived as flat files, and they had to be put together so management could ask how many blue widgets were sold to left handed customers this week. The files were not so large the exceeded Excel's old row limit (16K), but building an inner join using VLOOKUP took so long I never was able to confirm it worked - it certainly took more than eight hours.

      So I wrote a macro in the old Excel macro language (which was kind of like programming in assembly but with poorer mnemonics) to build a double hashing index in a spreadsheet for one of the files. The results far exceeded my expectations; I'd have been satisfied if the join could be done in a few hours, but it turned out the two files could be joined in a matter of minutes. I set up a form in a linked spreadsheet where managers put different parameters (e.g. left handed, blue widgets) in and magically got cost, revenue and profit figures out. This was also before pivot tables.

      Lesson: you don't really need much in a macro language. What you need is an easy way describe the objects you're interested in and easy ways to manipulate them the way you want.

      It's been years since I did IT or worked on Macs, but before I left the field we had Applescript. The language had a natural language style, which was for me neither here nor there aesthetically, but it worked well. It was not only light years ahead of mucking around with VBA and Office, it was vendor neutral. There was a standard way for an application to document the existence of various kinds of objects and the operations they supported, and more or less standard way to select objects by their properties and do things with them. You'd issue commands like "Tell application 'foo' to set the background color of every paragraph with length > 100 to red" By comparison VBA on Office manages to be crude, arcane, and proprietary all at the same time.

      Frankly, it doesn't really matter that VBA is crap. What does matter is that VBA is a security hole. Fixing that will probably require restricting the office object models and what can be done with those models by scripts. That will irretrievably break everything anyway, so why not chuck the language and runtime engine?

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    18. Re:Die Visual Basic by AmericanInKiev · · Score: 4, Insightful

      VB was the first language which offered RAD - while at the same time offering the technical breadth and reach of 3rd-party add-ons and access to the Windows API.

      The language is absent the jargon-punctuation cruft of c {};

      And instead closely follows a language with worldwide recognition.

      In some respects c can be compared to latin, or perhaps better to esperanto, which is a contrived language which doesn't resonate with any significant population from birth.

      VB, on the other hand, recognizes and embraces the symbolic similarities between branching in code, and branching in languages. It turns out that the advantage of shadowing a natural language are born out in adoption rates and learning curves.

      I agree, that VB6 had some issues, limitations etc, but notwithstanding the pain of starting over in .Net - The benefits of natural language, and minimal punctuation will continue to accelerate learning of VB over contrived syntaxes.

        - Again, I am impressed, and you should be as well, that 168-form VB apps could even be written by people who are obviously ill-equipped to produce similar software in any other language. This feat must, at some level, be taken as a complement of the degree to which VB has papered-over a great deal of the complexity of code-writing. I suggest it is a criticism that java, ruby, or perl, hasn't been nearly as effective in bringing systems-design to a broader audience.

      AIK

    19. Re:Die Visual Basic by Spacejock · · Score: 1

      "What many companies are left with are legacy apps that nobody wants to support, much less enhance." I've been writing VB apps since the DOS version, and still am. I've been wondering what to get up to in my spare time, and unravelling, fixing and improving other people's VB code is my idea of fun. Where do I sign up?

    20. Re:Die Visual Basic by Anonymous Coward · · Score: 0

      > By reading this could you guess this company is in the oil and gas industry?

      What is the company? Calgary based?

    21. Re:Die Visual Basic by Estragib · · Score: 1

      pull

      -noun

      29. Informal. influence, as with persons able to grant favors.

    22. Re:Die Visual Basic by I8TheWorm · · Score: 1

      That sounds to me like a perfect use of RAD and a perfect use of VB actually.

      --
      Saying Android is a family of phones is akin to saying Linux is a family of PCs.
    23. Re:Die Visual Basic by I8TheWorm · · Score: 1

      Funny you say that about language branching and symbolic similarities. It made me revisit why I think pascal based languages are much easier to read than basic languages.

      In short, my programming began at age 12 in 1983, and rapidly moved into C programming as GW Basic (I think) was fairly limited and my father was a programmer nudging me along. Most of my development was in C until my corporate career began and VB was taking over much of corporate development. Enterprise applications were still relegated mostly to mainframes in 1991, and what the company I worked for needed was smaller more specialized applications.

      What I still find unfortunate is the ability to open a VB box, install, and begin coding with no notion of real software engineering. While to some that seems wonderful in that applications can be written rapidly by non-programmers, the end result is usually the same. Bad naming conventions, lack of type safety, code that's not reusable, etc...

      In some enviroments that's ok, but not in any environment I want to be part of.

      --
      Saying Android is a family of phones is akin to saying Linux is a family of PCs.
    24. Re:Die Visual Basic by AmericanInKiev · · Score: 1

      I suggest that your criticisms may be misplaced, surely VB doesn't PREVENT good naming conventions, it merely permits those proficient in English to be at least modestly proficient in Silicon.

      Again, each of your criticisms of VB ring as criticisms of other languages for being fundamentally more difficult to learn.

      I suggest that VB has proven to be the gateway drug for a larger percentage of programmers than any other language, and in that respect, you may owe more credit to VB than you seem prepared to admit, for a plethora of the software which makes your life better today. Who knows how many bank-loan softwares have lowered the cost of buying a home, or health-insurance applets which have provided additional coverage to more sick people as a result of some programmer starting out with VB and making the world a better place, as a direct consequence.

      Viva natural language programming...

      AIK

    25. Re:Die Visual Basic by I8TheWorm · · Score: 1

      Well, now I completely disagree with you.

      The fact that VB does permit faulty conventions, non-type-safe programming, etc... for some time flooded the market with bad programmers. By bad programmer, I mean programmers who lack concern for the application footprint (read: bloat), lack concern for memory leaks, and write code in a manner that is difficult to support by other programmers.

      As a tool for small personal applications, VB is fine. Even in the world of enterprise applications VB is ok. But it became apparent over the length of my career that VB cause a great number of people to think they were qualified enterprise application developers when they were not.

      --
      Saying Android is a family of phones is akin to saying Linux is a family of PCs.
    26. Re:Die Visual Basic by AmericanInKiev · · Score: 1

      But I think you've failed to account for the possibility that many VB-firsters may have gone on to become excellent programmers, and created systems that have honestly improved the quality of life for real people.

      I don't deny that VB programmers are self-selected to be closer to the beginning of their profeciency curve than towards the end, But I am suggesting that VB is a large pool, and quite likely has contributed to at least the training of a good number of decent programers.

      AIK

    27. Re:Die Visual Basic by I8TheWorm · · Score: 1

      You're probably right about that, though I wouldn't even try to venture a guess as to what percentage of folks that called themselves programmers actually turned into decent ones.

      With the tech market crash in 2001 here in the states, we did see a lot of not-really-programmers (in any language) turn to other careers, and I think the pool is stronger these days for it as well.

      --
      Saying Android is a family of phones is akin to saying Linux is a family of PCs.
    28. Re:Die Visual Basic by Henkc · · Score: 1

      You sound like an accountant.

    29. Re:Die Visual Basic by shutdown+-p+now · · Score: 1
      VB as a language was horrible precisely because it was so inconsistent (this isn't to say the C curly-braces family is any better...). For God's sake, it had two equally valid specific ways to write a loop with a precondition (WHILE .. WEND, and DO WHILE .. LOOP), just because QBasic had it! The syntax of all the drawing primitives was insane - who'd think that, to draw a rectangle, you use the same command as you've used for lines - "LINE (X1, Y1) - (X2, Y2)" - but then add ",B" at the end of it ("... 'cept it's not a line, it's a box, see?"). Or the file API, which had you assign a number to every open file, and had a variety of nonsensical file modes such as "fixed record random access", "read/write binary", "read-only text", "write-only text", and "write-only text appending" coming straight from the 60s - note the lack of e.g. read- or write-only binary modes. Or the dreaded "Set" vs "Let" difference, which is so unobvious and easy to get mistaken about, especially since the code would compile and run fine, just not do what you thought it'd do. And there were hundreds of things like that in VB6, the old crust of the years inherited from QBasic and other MS BASIC dialects, and all the hacks added over the VB years to that for the sake of RAD.

      Meanwhile, at the same time VB appeared, there was also Delphi, which offered a much more consistent and safe yet readable language, more powerful libraries, an equally good IDE.

    30. Re:Die Visual Basic by AmericanInKiev · · Score: 1

      You do make some good points.
      And in many respects, you've outlined the fix schedule for .net

      I didn't paint lines very often,
      and I didn't have direct file access very often, so these things didn't adversely affect my experience.

      Your point about Delphi being a better platform is well taken, and I'd like to hear some ideas on why the uptake of Delphi was so comparatively sluggish.
      I suspect it was more costly, and so discouraged early adopters and educational experiences.

      AIK

    31. Re:Die Visual Basic by shutdown+-p+now · · Score: 1
      Well, the guy who originally designed Delphi (and before it, Turbo/Borland Pascal) is the same guy who designed C#. So I guess you could say that the ideas of Delphi did win over VB in time (VB.Net is C# in disguise, and C# 1.0 was to a large extent Delphi made to look more like Java to attract more converts). With some active help from Microsoft, of course.

      That said, it depends on the countries, too. In Russia, for example, Delphi was a #1 development tool for Win32 GUI for years (and is still going strong, despite the competition from .NET), and VB was used very infrequently.

  3. The Dark Side ... by El_Muerte_TDS · · Score: 1

    ... is going to feel that one.

  4. Unless.... by VValdo · · Score: 4, Informative

    As Microsoft drops support for older Office file formats, it looks like Visual Basic for Applications is also going soon

    Unless... what if there were only some alternative, open-source project that already supports it on Mac and a similar ongoing Windows/Linux project...

    Oh well, I can dream.

    W

    --
    -------------------
    This is my SIG. There are many like it, but this one is mine.
    1. Re:Unless.... by Bert64 · · Score: 1

      What was that about MS claiming their OOXML format is meant to preserve compatibility... What about all those documents out there that use VBA?
      And is this now the 2nd or 3rd time they've completely dropped their scripting language to replace it with something else?

      One of the most often cited reasons for not switching to OpenOffice is that it won't run VBA macros, but it seems MS won't either before long... If the VBA support in openoffice gets up to a usable state, or sun's converter works well, this could actually into a reason to migrate to OOo..

      Aside from that, OOo already supports 4 languages for writing macros in, including starbasic which i imagine is kept to retain compatibility with old versions of staroffice... It also supports javascript, which seems a logical choice. If you invest the time to learn VBA your effort will soon be useless, if you learn whatever they replace it with you face the same fate at an indeterminate point in the future, and all your effort is tied to one app.
      If you learn javascript, you gain a useful skill that can be used for a variety of purposes in a selection of different apps... Not only will you be able to write openoffice macros, but you will also be able to write ajax apps, a very in-demand skill these days.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    2. Re:Unless.... by bb5ch39t · · Score: 1

      I use OpenOffice on Linux and NeoOffice on my Mac. It does everything this non-power user (of Office software) needs.

    3. Re:Unless.... by dzurn · · Score: 1

      And what will you do when Microsoft decides that your VB bath-time is over and drains your tub?

      Already they've abandoned VBA on the Mac, but as a paying customer I'm sure your chosen niche will *always* be in Microsoft's gentle embrace.

    4. Re:Unless.... by MightyMartian · · Score: 1

      I'm no fan of Javascript, but I tend to agree with you. It's already THE standard for web scripting, and with its pretty extensible object model, I really think it's the logical choice. Javascript is what REXX was intended to be, a good, general purpose scripting language.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    5. Re:Unless.... by XHIIHIIHX · · Score: 0

      I don't really see how they're going to take away my copy of windows 2000 and office 2000. A lot of people bash excel and VB because they don't understand it. I actually consider being able to program real stuff with this thing quite an art form. I very highly doubt that it's document or that there is anyone at microsoft that actually knows the entire format of excel. I have incredibly inexplicable bugs, such as things that completely crash excel and VB or lock out parts of programs or cause extreme performance problems, like 20 seconds to update a single cell in an excel script. These "features" continue to persist into the latest versions of Office, which means no one has been down to rewrite the murky depths of this stuff since the mid 90's.

    6. Re:Unless.... by Mr_Tulip · · Score: 1

      Give me a reason why I would want to embed a video in a spreadsheet..

    7. Re:Unless.... by XHIIHIIHX · · Score: 0

      You are thinking about spreadsheets for spreadsheets. This is about using visual basic for applications + excel as a canvas / IDE. It's a container. You can embed containers in a spreadsheet. It doesn't matter what's in the container. I embedded videos in a "spreadsheet" as part of an application for evaluating and tuning automated multilingual closed captioning generation software. Before AJAX et.al. this was a great way to make dynamic applications with cutting edge features; no changes were needed to the core application to work with new video formats as those became prevalent. You might want to embed a sound bite, a graph, an amortizing calculator, another spreadsheet. A picture of a product for use on a packing list.

  5. Time for Java by teknopurge · · Score: 5, Informative

    Not a troll.

    Java has a scripting extension. No, not Javascript(only), but you can plug various Scripting languages into it, or use Judo which is the real endgame for this problem.

    1. Re:Time for Java by Anonymous Coward · · Score: 0

      Yes, indeed time for Java the panacea, with write once, download 500Mb of class libraries, setup all the classpaths, cross your fingers that the JRE versions are compatible, and hope for the best.

      Let's not forget Java's awesome runtime performance.

    2. Re:Time for Java by teknopurge · · Score: 0, Flamebait

      So many problems, so little time..

      The consumer JRE is ~4MB.

      I can also write Java code that runs faster than C code on a 4 year old JVM!!

      Now please, go back to your Visual Studio and let us adults get back to the convo.

      Regards,

    3. Re:Time for Java by Anonymous Coward · · Score: 0

      The consumer JRE is ~4MB. ORLY.

      I just checked on Java.com, and they list the download as 7.1MB. That's the installer, which is really a downloader, but it's still bigger than the 4MB you gave.

      Checking the install of Java that IT forced on me, I see it comes in at 80MB, although I think that includes some third-party libraries. (Which is why IT forces it on us.)

      And that's the latest version, straight from Java.com.

      I can also write Java code that runs faster than C code on a 4 year old JVM!! Yeah, C code compiled by a compiler with no support for modern instruction sets and with optimization disabled. Try again with a real C compiler.

      Java will never perform as well as C code compiled with a good optimizing compiler and a good set of libraries that take full advantage of a modern processor. It simply can't.
    4. Re:Time for Java by teknopurge · · Score: 2, Interesting

      That 4MB was from an old dev article. my bad! It's surely not the factious 500MB behemoth the other poster mentioned...

      You are 100% correct on the C code speed comment. However, my point is that with all that optimization you need to do work to move it from one platform to the next. While JITs have been getting faster, and CPUs keep getting faster, the value proposition to write uber-fast C code instead of spending more time on application features is shrinking.......

      Regards,

    5. Re:Time for Java by jollyreaper · · Score: 4, Funny

      Not a troll. "Saying that Java is nice because it works on all OSes is like saying
      that anal sex is nice because it works on all genders."
      (Alanna)

      Sort of a troll but it's still funny. :)
      --
      Kwisatz Haderach
      Sell the spice to CHOAM
      This Mahdi took Shaddam's Throne
    6. Re:Time for Java by Anonymous Coward · · Score: 0

      "The consumer JRE is ~4MB."

      which allows nothing more complex than "Hello World" to be run.

      "I can also write Java code that runs faster than C code on a 4 year old JVM!!"

      1. Comparing Java to "C" is like comparing apples to bannana's, let alone oranges
      2. Hello world an other 'synthetic benchmarks' don't cut it
      3. There is evidence to the contrary. Shall we count the loading time for the interpreter?
      4. Which JVM? Which JRE? Write Once - Maintain 3 copies of the JRE.

      "Now please, go back to your Visual Studio and let us adults get back to the convo."

      1. I don't code in VS, I use gcc/g++ and write my own makefiles
      2. Eclipse is for learners.

      3. WTF is a convo?

    7. Re:Time for Java by lgw · · Score: 2, Informative

      As always, it depends on what kind of software you're writing. Java has firmly replaced COBOL as the tool of choice for business programming. Java will never replace C/C++ as the tool of choice for infrastructure programming (although JVMs written in Java are an entertaining exception).

      --
      Socialism: a lie told by totalitarians and believed by fools.
    8. Re:Time for Java by Creepy+Crawler · · Score: 4, Funny

      "Saying that Java is nice because it works on all OSes is like saying
      that anal sex is nice because it works on all genders."

      Try species.

      Baaa means YES.

      --
    9. Re:Time for Java by Anonymous Coward · · Score: 0

      You bet your sweet ass that it's nice. Very nice.

    10. Re:Time for Java by jollyreaper · · Score: 1

      Try species.

      Baaa means YES. This way, Senator. Let me explain how "caucus" is spelled again.
      --
      Kwisatz Haderach
      Sell the spice to CHOAM
      This Mahdi took Shaddam's Throne
    11. Re:Time for Java by kat_skan · · Score: 2, Funny

      "Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders."

      Try species.

      You are either incredibly macho, or trying to get someone mauled to death by bears for a very unusual reason.

    12. Re:Time for Java by Anonymous Coward · · Score: 0

      which allows nothing more complex than "Hello World" to be run.
      What are you talking about? JRE is the runtime version of Java platform, it runs every Java program.

    13. Re:Time for Java by DMUTPeregrine · · Score: 1

      But the hedgehog can never be buggered at all!

      --
      Not a sentence!
    14. Re:Time for Java by Anonymous Coward · · Score: 0

      WTF is wrong with anal sex? It IS pretty nice...

  6. MS office going down by Anonymous Coward · · Score: 0

    More incitive against our beloved office, thanks to kamikaze microsoft strategists. Not a very wise move with all the support dropping of late, and of course the current open format discussions. Not that I'm complaining.

  7. Hello I am a Mac and I am a PC. by LWATCDR · · Score: 5, Funny

    So Mac you thought you where so funny. Well take this! "PC throws a chair label Cross platform compatability right out a Window".
    So what you going to do about Mister I am so much cooler than a PC!.
    Mac pick up the phone.
    "Hello Open Office org?, Yea this is Mac I have a message from Steve for you. How would you like a big pile of cash and about a hundred programers? Really great they will be right over."

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    1. Re:Hello I am a Mac and I am a PC. by Brett+Buck · · Score: 1

      More like "Hello, Apple division that programs iWork?, this is Steve, get your asses in gear, we're not paying you to sit around not creating a alternative to VBA!"

              Brett

    2. Re:Hello I am a Mac and I am a PC. by LWATCDR · · Score: 1

      Only if Apple is going to make iWork for Windows and completely backward compatable with Office.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    3. Re:Hello I am a Mac and I am a PC. by Phroggy · · Score: 1

      That would be amazing...

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  8. Well, it's a start. by TW+Atwater · · Score: 5, Funny

    Let me know when they dump Windows.

    --
    More than 60,000 Windows programs won't run on Linux.
    1. Re:Well, it's a start. by angus_rg · · Score: 1

      They already did, right on the users who paid for it.

    2. Re:Well, it's a start. by BrentH · · Score: 1

      They tried.

  9. Difference between VST(O|A) and VBA? by RandoX · · Score: 1

    What is the difference? What do you get by replacing VBA with VSTO or VSTA?

    1. Re:Difference between VST(O|A) and VBA? by 0racle · · Score: 1

      Well, you get to rewrite all your macros if/when you upgrade.

      --
      "I use a Mac because I'm just better than you are."
    2. Re:Difference between VST(O|A) and VBA? by gstoddart · · Score: 5, Insightful

      What is the difference? What do you get by replacing VBA with VSTO or VSTA?

      Screwed over and locked in, with no cross-platform support?

      Flippancy aside, Microsoft trots out what they decree is the Next Big Thing about every 4-5 years. In the process, they act like what they used to call the New Hotness is a smelly pile they want to get away from, and drop support for it. Of course, it was a smelly pile in the first place, but it was their smelly pile and they wanted you to buy it and spent a lot of money convincing you it was good.

      In the mean time, companies have spent a lot of money supporting and implementing the technologies, buying training, books, etc. Then you re-start the cycle all over again. This is just the next in a long-line of technologies that Microsoft has swept under the rug and moved on. Then a whole new gravy train starts.

      Of course, they get the added benefit that you will have even less support and functionality on Mac OS. And, if that is the case, then why would someone by a Mac when they need Office?

      I suspect this is 1/3 "technical", 1/3 "strategic", and 1/3 "because we can, bitches".

      In the end, who is to stop them? The customers never leave en masse like people have been predicting for as long as I can remember. People adopt the technologies. And, everyone just sucks it up and gets on with their day.

      Trotting new, unfinished technologies and dropping older, unfinished technologies and charging for it is Microsoft's bread and butter. It's one big hamster wheel. :-P

      Cheers
      --
      Lost at C:>. Found at C.
    3. Re:Difference between VST(O|A) and VBA? by Anonymous Coward · · Score: 1, Informative

      The same VB apps have worked in Office for a hell of a lot longer than 4-5 years.

    4. Re:Difference between VST(O|A) and VBA? by gstoddart · · Score: 1

      The same VB apps have worked in Office for a hell of a lot longer than 4-5 years.

      I'm not saying they drop everything every 4-5 years. Just every 4-5 years they take one piece which they've made critical and wide-spread, and toss it aside.

      Recall, that MFC is now largely considered deprecated and dangerous. They spent a long time getting that entrenched.

      Cheers
      --
      Lost at C:>. Found at C.
    5. Re:Difference between VST(O|A) and VBA? by BeerCat · · Score: 1

      The same VB apps have worked in Office for a hell of a lot longer than 4-5 years.

      Indeed, in 1997, I took over development of an Excel spreadsheet with loads of VBA macros. I left after 3 years, but as far as I know, it is still in use.
      --
      "She's furniture with a pulse"
    6. Re:Difference between VST(O|A) and VBA? by cp.tar · · Score: 1

      What is the difference? What do you get by replacing VBA with VSTO or VSTA?

      Is it just me, or are they pushing another ViSTA?

      If it's not just me, then you get lots of incompatibilities, slow performance, slow adoption rate, users downgrading or migrating to other systems, and several people impressed with some shiny stuff most of us have had for years now.

      --
      Ignore this signature. By order.
    7. Re:Difference between VST(O|A) and VBA? by morgan_greywolf · · Score: 1

      The customers never leave en masse like people have been predicting for as long as I can remember. They don't? Hmph. Someone better tell IBM.

    8. Re:Difference between VST(O|A) and VBA? by LilGuy · · Score: 1

      It's hard to just trash a contract and all the "support" that comes with it for something totally different and possibly unreliable (hah).

      --

      You're nothing; like me.
    9. Re:Difference between VST(O|A) and VBA? by Randolpho · · Score: 1

      Recall, that MFC is now largely considered deprecated and dangerous. They spent a long time getting that entrenched.
      The New and Improved MFC, coming soon to a PC near you!

      MFC is actually a great way to build windows applications in C++, provided you absolutely love and worship pseudo-Hungarian notation, which I in fact hate.
      --
      "Times have not become more violent. They have just become more televised."
      -Marilyn Manson
    10. Re:Difference between VST(O|A) and VBA? by jrminter · · Score: 2, Informative

      In the mean time, companies have spent a lot of money supporting and implementing the technologies, buying training, books, etc. Then you re-start the cycle all over again. This is just the next in a long-line of technologies that Microsoft has swept under the rug and moved on. Then a whole new gravy train starts.

      Well put. As an analytical scientist (microscopy and image analysis), I use VBA to automate data analysis and prepare reports and graphs because Excel is ubiquitous among my client community. I have a big investment in VBA. My employer has been reluctant to roll out new Microsoft versions because they offer little real benefit to our business.. Guess we'll continue to "just say no" to new versions. When that fails, there is Python.

    11. Re:Difference between VST(O|A) and VBA? by syousef · · Score: 2, Insightful

      In the end, who is to stop them? The customers never leave en masse like people have been predicting for as long as I can remember. People adopt the technologies. And, everyone just sucks it up and gets on with their day.

      Customers have no real loyalty. They buy Office because they've got a pile of office documents. Things like VBA and the UI for Office have changed in the past but for the most part they've been incremental changes that can be dealt with easily compared to changing products.

      My first version of Word was Word 2. It's been a long time but I think there was a change when they moved to Word 6.0 and dropped the DOS version. Since then (the early 90s) changes to the Interface in Word have been comparatively small. You could open the same documents you wrote in Word 6 in Word 2003. Complex macros may have incompatibilities due to added security features etc. but many simple ones were fine. Importantly you could take a Word 6 user and stick them in front of Word 2003 and with a few hours of use they'd be just fine.

      Now that they've changed the UI completely and are dropping the Macro and old file support, you're not talking small changes that happen every 5 years. Suddenly you have a product that looks alien to an old user, that won't open old document formats, that won't run their macros.

      I couldn't think of a stupider thing to do if they tried. They spent all that time killing off the competition and through bone headed moves like this they've just given away all that advantage. I expect alternate suites to start cropping up again. Probably not a bad thing.

      --
      These posts express my own personal views, not those of my employer
    12. Re:Difference between VST(O|A) and VBA? by Anonymous Coward · · Score: 0
      But will they actually document the new scripting language?

      VBA documentation is very poor compared to documentation you would get from a five man startup company, let alone what you would expect from a major corporation. For example the documentation on "Ubound" does not mention what errors it can throw! (or the workaround to avoid some of them, i.e. that the NOT operator casts an array to a pointer which can be compared with -1).

      VB.NET documentation seems more acceptable at least - maybe they hired a tech writer!

      Now if only they could buy a company that makes search tools so you could search through MSDN efficiently... how much would google cost? :-)

  10. Microsoft doing by carnalforge · · Score: 1

    what they are experts in, interoperability!

    --
    :wq!
  11. adios vba by circletimessquare · · Score: 2, Insightful

    dim vbaRelevancy
    set vbaRelevancy=new activeXObject("vbaWantsToLive")
    if vbaRelevancy.microsoftBacking(2009)=false then Office2009="VSTO"
    set vbaRelevancy=nothing

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
    1. Re:adios vba by carnalforge · · Score: 1

      Man, you even cared to use "dim" and "set", what a perfectionist! :) Remembering the days i had to use this for living this "language" wont be missed from me at least.

      --
      :wq!
    2. Re:adios vba by Anonymous Coward · · Score: 0

      "Set" is mandatory, you are thinking of "let" which is optional.

  12. Microsoft Tools... by RocketScientist · · Score: 2, Interesting

    So yeah. VBA is going away. I wrote a bunch of VBA many years ago (hey, I was young and needed the money :P), now when the version of office it's running under isn't security patched anymore that code's either tossed or re-written from scratch.

    And DTS, Data Transformation Services, is already gone. Doesn't work under 64-bit editions of SQL Server 2005. The upgrade tool is worthless. However I did learn something between VBA and when DTS shipped, and I didn't ever get on the DTS bandwagon. So all the bailing-wire-esque scripts I wrote using T-SQL, script files, and Perl to do file formatting that I wrote 8 years ago will keep running forever, while the DTS stuff that someone wrote last year won't work now.

    Choose your tools carefully, and work as low as you can, but no lower.

    1. Re:Microsoft Tools... by geminidomino · · Score: 5, Funny

      I wrote a bunch of VBA many years ago (hey, I was young and needed the money :P), You should have been a hooker. It would have done less damage to your soul and self-respect. :)
    2. Re:Microsoft Tools... by BlackSnake112 · · Score: 1

      DTS doesn't work under 64-bit windows? I have to check that case of soda I just got. Just because microsoft calls it by a different name (import and export wizard instead of DTS) doesn't mean it is not DTS. They just put DTS into MMC and renamed it. Similar screens, the steps look to be the same too. It has been a while since I used DTS (last I used it was SQL 7.0). I usually use BCP from the old blinking cursor.

    3. Re:Microsoft Tools... by Anonymous Coward · · Score: 0

      and you would've got laid.

      My captcha is "drooping"

    4. Re:Microsoft Tools... by halber_mensch · · Score: 1

      I wrote a bunch of VBA many years ago (hey, I was young and needed the money :P), You should have been a hooker. It would have done less damage to your soul and self-respect. :)

      In either case, the parent poster should be considered a carrier of disease and you should not engage in sexual contact or shared needle drug use with him.

      And wash your hands with warm, soapy water after reading his posts.

      --
      perl -e "eval pack(q{H*},join q{},qw{70 72696e74207061636b28717b482a7d2c717b343 637323635363534323533343430617d293b})"
    5. Re:Microsoft Tools... by !the!bad!fish! · · Score: 1

      I wrote a bunch of VBA many years ago (hey, I was young and needed the money :P),
      You should have been a hooker. It would have done less damage to your soul and self-respect. :)
      That's a little insensitive.
      RocketScientist could be as ugly as sin.
      We can't all get by on just good looks and hard work alone.
      --
      Kids today are tyrants. They contradict their parent, gobble their food, and tyrannize their teachers. - Socrates 400 BC
    6. Re:Microsoft Tools... by TonyToews · · Score: 1

      So yeah. VBA is going away. Wrong it'll still be around for a while yet.

      now when the version of office it's running under isn't security patched anymore that code's either tossed or re-written from scratch Or maybe the code will get converted to a newer version of Office which is being security patched. Migrations from as far back as Access 2.0 in 1994 are relatively painless. A little work sure but not a lot.

      Tony Toews Microsoft Access MVP http://www.granite.ab.ca/access

  13. No more excuses for not using OOorg by Anonymous Coward · · Score: 0

    Sounds to me like the old excuse not to upgrade to OpenOffice because it won't support all of your VBA script anymore has gone out the window...

  14. Great for Open Source!!! by filbranden · · Score: 2, Insightful

    Well, this news are for Open Office (and other open source office suites) what Vista was for Linux! If Microsoft continues shooting itself on its foot, open source software will have no trouble at all to gain its deserved market share!

    1. Re:Great for Open Source!!! by powerlord · · Score: 1

      Well, this news are for Open Office (and other open source office suites) what Vista was for OSX! If Microsoft continues shooting itself on its foot, well built alternatives will have no trouble at all to gain its deserved market share!


      There. Fixed that for ya. :)

      Actually kidding aside, you may have a point. I have a few non-technical people who are getting tired of MS, and are talking about getting another XP PC, but also converting their existing PC to Linux "to play with".

      I've also heard a few of them complaining about MS and how they've decided to try a Mac instead.
      --
      This space for rent. All reasonable inquiries will be entertained at proprietors discretion.
    2. Re:Great for Open Source!!! by Haeleth · · Score: 1

      Well, this news are for Open Office (and other open source office suites) what Vista was for Linux!
      What - you mean it'll generate a load of excitement in the free-software community, with loads of people chiming in to prophesy doom for Microsoft and massive uptake of free software, but in reality it'll turn out that PHBs the world over will be so afraid of anything that isn't Microsoft that they'll do nothing at all for as long as possible, then grit their teeth and endure the painful upgrade to whatever it is that Microsoft has decreed they must use, just in time for that to be declared obsolete?

      Seriously, I hate to burst your bubble here, but if you really think your average PHB is going to give even a moment's consideration to OpenOffice.org, you're deluding yourself. Listen to what average people are doing right now - they're complaining about how much they dislike Vista and about how much they hate the Office 2007 user interface, even as they continue to upgrade to Vista and Office 2007. These people are apparently literally incapable of realising that there's any alternative. And that's home users, who don't have to worry about getting fired for choosing something other than Microsoft...

      (To all you PHBs out there: please prove me wrong. Please.)
    3. Re:Great for Open Source!!! by Anonymous Coward · · Score: 0

      Well, this news are for Open Office (and other open source office suites) what Vista was for Linux! If Microsoft continues shooting itself on its foot, open source software will have no trouble at all to gain its deserved market share!

      Just like Linux is gaining market share? Pleeeease.
    4. Re:Great for Open Source!!! by lgw · · Score: 1

      I have friends in the business of scripting software and OS upgrades for huge company deployements (100K+ desktops). They are looking for new jobs right now, because large corporations are deciding to ignore Vista so there's not much work to do. Vista is being seen as the "New WindowsME" and an attitude of "we'll skip this one, and stay wih XP until Windows7" is becoming common.

      When Micorsoft screws up badly enough, even PHBs notice.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    5. Re:Great for Open Source!!! by falconwolf · · Score: 1

      I've also heard a few of them complaining about MS and how they've decided to try a Mac instead.

      After using Windows PCs for 10 years, I'm typing this on my new MacBook Pro. Well, a few months old anyway.

      Falcon
  15. Goodbye to MS-Office ? by alexhs · · Score: 4, Interesting

    I find it amazing how MS is eager to cut the branch it's sitting on these times.
    I thought VBA was one of the major reasons for businesses to not switch to alternatives : because they developped in-house lots of VBA code to achieve some tasks, that would tie them to the MS-Office suite.

    --
    I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    1. Re:Goodbye to MS-Office ? by pimpimpim · · Score: 1

      They should add the darwin awards t-shirt prints to the MS Office default clip-art collection.

      --
      molmod.com - computing tips from a molecular modeling
    2. Re:Goodbye to MS-Office ? by Mongoose+Disciple · · Score: 2, Interesting

      Honestly, I think you have it backwards. The combination of Office 2007 and VSTO is the only thing that seems, to me, like a killer app out of this generation of MS stuff. Anything they can do to nudge more people to get rolling on it is probably smart.

      First, take as a given the ubiquity of Office (outside of slashdot-land). I've worked as a consultant in dozens of different companies with a wide variety of platforms. Some of them were, codewise, Microsoft shops, sure. Lots were Java shops full of people that sneered at all things VB/.NET or Microsoft in the development world. Several based their whole business in ancient technologies such as COBOL or RPG. Some had half their staff using Macs. Some didn't have much technology presence at all. But damned if 100% of those companies weren't using Word and Excel, and nearly all were using Outlook.

      You now can write apps that sit within one (or more) of the Office apps, integrate seamlessly with their UI, are visually appealing, and interact with their data -- and it's, if not VBA easy, still stupid easy. A lot more is exposed API-wise to developers from Office than ever has been.

      Suppose you've got a pre-existing manufacturing company with some kind of database of their sales used by existing applications. Maybe it's in SAP, maybe it's in an Oracle database. Whatever. Imagine you could write an application for their customer service people that would sit in Outlook and, any time they got an e-mail from one of their clients, would load up information on their sales history or other information from the database that would help them do their job and display it in a resizable/configurable panel that could be moved or interacted with like any of the native panels in Outlook.

      Or imagine if you could write an add-in for Excel that would recognize certain kinds of spreadsheets the company frequently had to manipulate, and would helpfully add a button to the Excel UI to perform some specialized common task on that type of spreadsheet.

      Imagine if this was the kind of thing that someone who knew what they were doing could write in about an hour, and any moderate programmer with passable .NET familiarity could write in a day or so.

      This isn't the kind of thing that really impresses programmers, but it's the kind of application that, once less technical business people see in action, they don't want (most of) their business applications written any other way. Sure, not everything logically ties in to one or more of the Office suite, but an awful lot does. I've seen and worked on countless applications for businesses that had an Excel spreadsheet either as input or output, or that their users would load up when they got an e-mail from a customer, use it to do some calculations, and then send an e-mail back.

      I think once Joe Business Middle-Manager sees this stuff and realizes they can only get it with Office, Microsoft could charge them five times as much for Office and they'd still pay it. Worse, in a lot of cases that would actually be the smart choice because the productivity gains would make up the cost and then some!

      Obviously, you can customize Open Office. Obviously, there's stuff in the Java world to do a lot of these things, too... but if you want to write an application that works with Office, and do so quickly and easily, VSTO is going to be the way you do it. I haven't personally seen alternatives for other platforms that are going to give half as much result in twice the time. This is the VB revolution/plague of RAD come again.

    3. Re:Goodbye to MS-Office ? by falconwolf · · Score: 1

      First, take as a given the ubiquity of Office (outside of slashdot-land).

      I think therein lies the problem. Many enterprises have to keep old documents, for legal as well as other reasons, but if they upgrade their office suite to one that does not support VBA or macro scripts they're going to end up in hell trying to read those old documents when they need them. This may require them to keep an old PC with an older version of Office, but if so then they'd need to support it as well.

      Falcon
    4. Re:Goodbye to MS-Office ? by jafac · · Score: 1

      For some tasks, a lot of that code has been ported over to VB.NET and the ABOMINATION that is PowerShell. (especially the Exchange Server Automation).

      Out with the old, in with the new.

      No matter what.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
  16. I'm torn... by Oxy+the+moron · · Score: 1

    On the one hand, there's a potential short-term, albeit unpleasant, cash cow there for someone who wants to take all that VBA garbage and make it work in the "latest and greatest" Microsoft offering.

    On the other hand... their "latest and greatest" probably isn't all that much better, and probably will carry a hefty price tag.

    --

    Proudly supporting the Libertarian Party.

  17. They've done this before by Anonymous Coward · · Score: 1, Interesting

    Once upon a time I wrote a bunch of stuff in VB 2 (iirc). Then they dropped support for that and I had to upgrade. It didn't go well. I pretty much had to rewrite everything or have code that I couldn't distribute.

    Now, most of what I write is in Java, Javascript, Python, anything but VB. Microsoft sure knows how to win friends and influence people.

    1. Re:They've done this before by ScrewMaster · · Score: 1

      Microsoft sure knows how to win friends and influence people.

      Microsoft has no friends and coerces people.

      --
      The higher the technology, the sharper that two-edged sword.
  18. Java? by Anonymous Coward · · Score: 0

    No thanks. Javascript does make a sensible choice for cross platform scripting.

    The first python or ruby (etc) zealot to chime in is going to end up choking on a huge perl. I'm not pushing Perl, don't push your pet language.

    1. Re:Java? by orlanz · · Score: 0, Offtopic

      Only a Perl owner would enjoy owning a pet rock.

  19. Don't mind at all by Killer+Eye · · Score: 3, Insightful

    I don't mind seeing software companies trash their customers' investments this way. It just means that more people will learn (albeit the hard way) just how tied they are to the whims of their vendors, and seek a way to end the pain. The outcomes of that are generally a step forward for the industry.

    For example, this could cause some people to start demanding more of their software vendors (e.g. open formats, better support contracts, whatever). Or it could cause them to look at free/open formats and software as a way to avoid this problem in the future.

    --
    "Microsoft killed my company, I hold a personal grudge. I don't use Microsoft products and neither should you."-JWZ
    1. Re:Don't mind at all by gstoddart · · Score: 3, Insightful

      I don't mind seeing software companies trash their customers' investments this way. It just means that more people will learn (albeit the hard way) just how tied they are to the whims of their vendors, and seek a way to end the pain. ...snip...

      For example, this could cause some people to start demanding more of their software vendors (e.g. open formats, better support contracts, whatever).

      It's a nice sentiment, it really is. However, after having watched this happen with several Microsoft technologies over the years, I don't believe it's any more likely this time around.

      People have been saying that about Microsoft for at least 15 years now. I fail to see why this one would be significantly different unless a lot of things have changed.

      Microsoft just simply has too much leverage -- people will do this because they have no choice, or because they've already drank the kool-aid and are completely on board.

      Cheers
      --
      Lost at C:>. Found at C.
    2. Re:Don't mind at all by ciggieposeur · · Score: 3, Insightful

      I fail to see why this one would be significantly different unless a lot of things have changed.

      I think a lot of things have changed in the last 7 years. The Internet can now be 90% used quite nicely with Firefox/Konq/Opera/Safari/etc.; OOo is actually pretty usable for a lot of low-level stuff so only a (relatively) few serious professionals really need the more advanced features of MS Office; there are reasonable F/OSS alternatives to almost all of the large desktop packages (except for vertical market packages); gaming consoles are now powerful enough to run arcade-quality games; and the Mac platform has made a comeback in a major way.

      I'm not sure exactly when the tipping point was, but sometime in the last 3 years I've noticed that an awful lot of people have stopped equating "computer" to Windows. I don't expect a massive migration away from MS software, but I also don't see nearly so much pressure in the form of must-have features to remain on the platform.

  20. Unrelated VS jab?!? by RingDev · · Score: 2, Funny

    And as past experience with Visual Studio .NET has shown, upgrade tools are far less than perfect What the hell is the point of that statement??

    1) It has nothing to do with the software in focus.

    2) Converting from framework 1.0 to 1.1 was almost effortless, and while converting from 1.1 to 2.0 usually took a tad bit of refinement, compiling a 2.0 application for the 3.0 or 3.5 framework is trivial. VS.Net 2k8 has the option built in so that you can work on 2.0, 3.0, and 3.5 framework compilations with nothing more than a project property change.

    3) The VB6 to .Net 1.0 converter was actually highly functional, IF your VB6 code was abstracted and tiered in an OO manner. Unfortunately, most VB6 code was written, well, crappily as compared to current OO standards, and thus there was not much that could be done for automatic translation. Although the output would tell you specifically what wouldn't work, and where to read KB articles to learn about new ways of doing the same thing.

    That aside, dropping VBA seems like an INSANE thing to do. Not that I like VBA, it's existance is a thorn in my side. But the fact that VBA is so ingrained into the corporate atmosphere. MS is in a pretty rough spot with Office. Office 2k was a great product. Office 2k3 introduced only marginal improvements that were hard to justify to the accountants. Office 2k7 has some neat stuff, but with the new interface and no new functionality for the majority of users, justifying it to both the accountants AND users was difficult. Now the next version of Office is going to abandon VBA, which means that the IT development departments are going to have to either develop real apps for all the users who depend on those heavily modified excel spread sheets, or you're going to have to get some training on the new scripting language for your employees. Either way, that is a HUGE financial investment beyond the $300 license.

    -Rick
    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    1. Re:Unrelated VS jab?!? by MrSteveSD · · Score: 2, Informative

      The conversion tools just died on some of the code we tried them on. Also if you ever did anything clever in VB to try to get around it's limitations, the conversion tools were a disaster. On top of that, conversion from VB6 is flawed even in principle because .NET does not have deterministic finalization, so if you ever had important code to be run when a VB object expired, all of that would need to be manually changed.

      Realizing that conversion was not an option, we instead decided to write all new stuff as C# modules to be called using interop. This was a nightmare too. There are a lot of companies out there that have invested huge amounts of money in developing VB products and many of them just do not have the finances to rewrite everything.

    2. Re:Unrelated VS jab?!? by RingDev · · Score: 1

      There are a lot of companies out there that have invested huge amounts of money in developing VB products and many of them just do not have the finances to rewrite everything. EXACTLY! There is no reason to re-write the vast majority of VB6 programs out there. Assuming a program written in VB6 is mature, stable, and feature full, requiring only the occasional maintenance work or tweaking, there is really no reason to make such a huge investment. Heck back in 2001-2003, even if it's not finished, but you already have a staff of skilled VB6 developers working on it, just finish it in VB6. The cost of re-tooling your IT department mid-stream would be outlandish, not to mention the delay of the project and the risks of working with a then new technology. Heck, VB6 has extended support through 2k9, by the time running 32b COM applications becomes an issue for OSs, the business needs will likely have shifted enough that the program could use a significant revamp, and if not, you're looking at normalizing the redesign costs over an 8 year window as opposed to a 1 year window.

      NEW development on the other hand, should have been moving in the .Net direction with any require interfacing done through either a data source (database, XML, or the like) or via COM Interop.

      Ford isn't about to recall every car they've produced just to retool them to the new year's standards just because the new standard is different. And an IT department shouldn't re-create software that already works just because there is a new language.

      -Rick
      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    3. Re:Unrelated VS jab?!? by MrSteveSD · · Score: 1

      EXACTLY! There is no reason to re-write the vast majority of VB6 programs out there. Assuming a program written in VB6 is mature, stable, and feature full, requiring only the occasional maintenance work or tweaking, there is really no reason to make such a huge investment.

      Without continued support for the language, no company in their right mind would buy a VB6 product. That's why it's a big problem. In fact there are plenty of problems with VB6 applications on newer operating systems. I know people have also had problems installing the development tools as well.
    4. Re:Unrelated VS jab?!? by DaHat · · Score: 1

      Seriously... how long do you expect them to the language?
      The majority of VB6 application issues on modern OSes has less to do with the underlying OS and more to do with the way the application is written... same kind of issue we now see with UAC gripes in Windows Vista. Had the software been written properly in the first place (ie not requiring administrative permissions), many of the pains seen today would not be present.

      More so anytime the playing field changes... tools and technologies have to change as well.

      Can't install VB6 on Windows Vista? So throw it in a virtual machine. Despite the great backwards compatibility in newer versions of Windows... sometimes old apps just don't work and there are plenty of options that enable you to use the application.

      Sure... a VM may not be ideal... but then it is far more so than VB6.

      Then again there is a simple rule most software developers forget... YOU DON'T HAVE TO UPGRADE! So your tools only support NT4 but your want/need to run your core OS and other apps on Vista? Fine, virtualizes it!

    5. Re:Unrelated VS jab?!? by jmdc · · Score: 1

      It is a huge investment to switch, however a new scripting language also creates a reason to upgrade. They ran out of new things to add that typical users see back in 2003. So in 2k7 they scrap the gui. People see something new and shiny and think they need it. Microsoft can't really justify doing that twice in a row, so they're going to switch scripting languages. If they can create the perception that "everyone's doing it" and you need the new vba to work with other people who have upgraded, they will have created a reason to buy office again.

    6. Re:Unrelated VS jab?!? by MrSteveSD · · Score: 1
      "The majority of VB6 application issues on modern OSes has less to do with the underlying OS and more to do with the way the application is written"

      There are always features that for some reason do not behave properly in new operating systems. It is inevitable and without support for the language it's a serious situation. You might be able to work around the issue, but what if you can't? Without support for the language you are screwed and your customers (and potential customers) will be well aware of it.

      Can't install VB6 on Windows Vista? So throw it in a virtual machine

      Very amusing.

      Then again there is a simple rule most software developers forget... YOU DON'T HAVE TO UPGRADE! So your tools only support NT4 but your want/need to run your core OS and other apps on Vista? Fine, virtualizes it!

      And you think a customer is going to purchase a product written in an unsupported language on an old operating system running virtually? If you want to keep doing business you can't just sit back and pretend you can just keep running your products on old operating systems.
    7. Re:Unrelated VS jab?!? by Just+Some+Guy · · Score: 1

      Seriously... how long do you expect them to the language?

      I can still compile C that was written in the '70s. No one but Windows developers would consider a nine year support span (released in '99, extended support ends two months from now) to be anything less than suicidal. Honestly, I've been around servers with uptimes longer than VB6's entire life cycle.

      --
      Dewey, what part of this looks like authorities should be involved?
    8. Re:Unrelated VS jab?!? by ciggieposeur · · Score: 1

      And you think a customer is going to purchase a product written in an unsupported language on an old operating system running virtually?

      I think y'all are arguing from different perspectives. You are talking about selling software to third parties, but it seems to me that the OP is talking about maintaining software internally. In the former case, you are right that planning to sell an application in an unsupported language is a bad idea for many reasons. But in the latter case, I think it is quite reasonable for a company to opt to maintain their existing internal VB6 applications until an opportunity to replace them arises.

      As recently as 2005, I actually wrote a brand new VB6 app for internal use because I needed a program that could run on Windows 98 to Windows XP, could be "installed" by merely copying a directory, could put up screens and chat to a serial port, and could be modified by my future replacement. But I also knew that this was a bit kludgy and a *real* application might need to be written to replace it someday so I kept its features to a bare minimum. But the only other environment that could have worked for this task is Delphi, and finding folks who know that in this neck of the woods is very hard.

    9. Re:Unrelated VS jab?!? by MrSteveSD · · Score: 1

      The real question is, if Microsoft were so willing to dump a language in which businesses have invested millions, should we ever trust them again and use their development products?

  21. Hrmp? by Shados · · Score: 1

    Office 2003 is supported now. So's 2008. So there's your transition period. Oh, you mean in the same product? Do it like you would any other enterprise application: do a parallel deployement. Once thats done, phase it out.

    All serious MS devs knew about this event years ago, no news there.

  22. cool by doofusclam · · Score: 1

    About time I reckon. VB was genuinely useful for a while, but the industry grew up past it and now it's just an insecure relic.

    Corps need to get their bespoke VBA apps onto the web and be done with it.

  23. But the REAL news was missed on this by zappepcs · · Score: 1

    This announcement was misinterpreted by almost everyone. This was supposed to be titled: Roadmap for OOXML. Those crazy marketing-droids got it mixed up again... hmmmmm

    1. Re:But the REAL news was missed on this by Nom+du+Keyboard · · Score: 1

      This announcement was misinterpreted by almost everyone. This was supposed to be titled: Roadmap for OOXML.

      I had thought about titling it that, but needed something catchy so that the Slashdot moderators would accept my submission before someone else submitted a dup.

      --
      "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
  24. How stable are OO macros? by cheros · · Score: 3, Insightful

    I guess moving to OO or StarOffice would not be such a bad move after all then. La least the macro language is consistent across apllications as well as platforms.

    I guess the only question remaining is why you would run Windows after that, but you should ave been asking that question quite a while back ..

    --
    Insert .sig here. Send no money now. Owner may sue, contents will settle. Batteries not included.
  25. Zero-based arrays by wiredlogic · · Score: 3, Funny

    Good. Can we have our zero-based arrays back now?

    --
    I am becoming gerund, destroyer of verbs.
    1. Re:Zero-based arrays by cbart387 · · Score: 1

      VB.NET is as bad. If I remember correctly, when you declare an array's size, that 'size' is for the upper bound. And since VB.NET is zero based you end up making an array 1 size too big. Ie if you want to declare an 8 element array with a constructor val of 7 (7 being the highest index).

      correct me if I'm wrong, I'm too lazy to verify ;)

      --
      Lack of planning on your part does not constitute an emergency on mine.
    2. Re:Zero-based arrays by JMZero · · Score: 1

      Well, you're right in a sense - you declare arrays by the highest index (rather than the size). It doesn't mean you end up making arrays too big or something - it works the same as other languages, it just looks strange.

      The goofy looking one is when you declare an array with zero elements, which looks like "dim x(-1) as integer" (as dim x(0) would make an array with one element).

      --
      Let's not stir that bag of worms...
    3. Re:Zero-based arrays by Anonymous Coward · · Score: 0

      Option Base = 0

      There you go.

    4. Re:Zero-based arrays by cbart387 · · Score: 1

      You're correct, I was just not very clear. I meant that when creating an array you end up creating an array one size bigger when you're in the mindset of other languages. It's the only language (I have programmed in) that uses the last index instead of the element size.

      --
      Lack of planning on your part does not constitute an emergency on mine.
    5. Re:Zero-based arrays by wiredlogic · · Score: 1

      Option base only affects arrays. You're still SOL with collections and other indexable objects. The most annoying thing about VB/VBA is that there are inconsistencies in the indexing used in certain places. This is really a hassle when dealing with system calls into the zero-based Win32 land.

      --
      I am becoming gerund, destroyer of verbs.
    6. Re:Zero-based arrays by marcosdumay · · Score: 1

      Well, if you care to fight the Pascal developers...

  26. You Sig.. Windows Progs & Linux by Dareth · · Score: 2, Funny

    sol.exe runs just fine using Wine for Linux... what you mean people do something else with their Windows boxes?

    --

    I only look human.
    My mother is a halfling and my dad is an ogre, so that makes me an Ogreling
  27. Wow, that's a surprise. by ErichTheRed · · Score: 3, Informative

    No VBA support in the next version of Office for Windows? It's great in terms of eliminating a huge security risk. It's terrible in terms of backward compatibility.

    Maybe Microsoft doesn't get this. Companies use SAP, Oracle Financials, SAS, etc. to store and crunch aggregate data. I have never worked in a company that doesn't literally run on hacked-together Access "applications" and Excel macros. Business users pull all that data out of SAP et al and work on it using tools they develop. In many cases, that's because the IT department is too swamped to help them build a proper app, or because it's too much bureaucratic red tape to build an application.

    Admittedly, they are replacing it with VSTA. However, any tool that is less forgiving on business-level users' programming mistakes isn't going to be adopted quietly. There's also the cross-platform problem with Mac Office, and the fact that tons of Excel macros and other stuff will need to be rewritten.

    If I were Microsoft, I'd build in a highly crippled "compatibility sandbox" that throws up tons of warnings, but runs _most_ non-dangerous VBA code. They did this with Microsoft Graph and other Excel add-ons to encourage people to move on while preserving backward compatibility.

    The reversal of the SP3 file format disabling was an easy fix...this one won't be so easy to unwind.

    1. Re:Wow, that's a surprise. by TonyToews · · Score: 1

      No VBA support in the next version of Office for Windows? It's great in terms of eliminating a huge security risk.

      VBA will still be there in the next version of Office on Windows.

      Please explain how VBA is a huge security risk.

      Tony Toews Microsoft Access MVP http://www.granite.ab.ca/access

  28. In their defence... by Anonymous Coward · · Score: 0

    In Micrsoft's defense, few people exchange office documents containing macros, because of (a) the danger of viruses, (b) the danger of e-mail antivirus software messing with your document to prevent said viruses, and (c) the stack of security warnings which will show up when the recipient actually opens the file.

    If nobody is exchanging documents with macros, cross-compatibility isn't an issue.

    Oh, also I doubt many people are using macros in non-trivial applications, because let's face it, macros aren't very good.

  29. What should novices do now? by Anonymous Coward · · Score: 1, Insightful

    I go to a community college -- and I wanted to take a C programming class for my Summer semester.

    I was considering myself royally screwed that I'd have to undertake a Visual Basic class (which acts as a prerequisite for the C class), but really I'm more screwed than I previously though. Not only will I be taking a course of an ineffective, language I'll be taking a course of an ineffective, soon-to-be-useless language.

    Hrm, suggestions on what I should do? :x

    1. Re:What should novices do now? by calebt3 · · Score: 1

      Talk to the instructor who teaches C.

    2. Re:What should novices do now? by ChefInnocent · · Score: 2, Insightful

      When I started college, we were required to take Pascal. As you may be aware, there is little Pascal being programmed today. But that doesn't make my experience in Pascal useless, nor the language useless. I generally program in C/C++, but a couple of times a year, I'm asked to program in some language I've never seen. Sometimes those languages have similarities to Pascal; sometimes they don't. Regardless, the more languages you have exposure to, the easier it will be to pick up the next one. There are some things I really liked about Pascal (inner functions), and many things I didn't.

      Take the class, and enjoy it. Maybe think of it like learning a foreign language. If you learn Spanish, you tend to learn a bit more about English.

    3. Re:What should novices do now? by Doctor+Faustus · · Score: 0

      Yeah, but Pascal is a lot better first language than VBA. I've done a lot of VBA/VB6, but it's just one of the slew of languages I've learned. Pascal was the first language I learned seriously, and I still feel like a better programmer for having started with it.

    4. Re:What should novices do now? by Hatta · · Score: 1

      Easy A man, it'll look good on your transcript when transferring to a real school. You know what, that C class is going to be worthless too. I taught myself everything we'd cover in C class within a week of class starting at a community college. It was really pathetic, but yet another easy A.

      --
      Give me Classic Slashdot or give me death!
    5. Re:What should novices do now? by artsrc · · Score: 1

      First you should learn that Visual Basic for Applications (VBA) is not the only Visual Basic. Second you should learn that there is a lot to learn about programming that is not related to the language you are using. Third I don't know your goals so I can't recommend what to do in your case. But I learn best when there is something to motivate me. So if there is some programming task that is useful to you then work on that in whatever language is appropriate to that task and your long term goals.

  30. It's the people that matter by dpbsmith · · Score: 1

    I'm convinced that although the durability of product features is almost entirely governed by the time horizons of employees within companies.

    The only way you get consistent backward compatibility and a consistent style is when the product is being developed and managed by a consistent set of people.

    So much of the important stuff is in peoples' minds and hearts.

    You can embed the important stuff on paper, of course, with standards and style guides. But people only follow them... to the spirit, not to the letter... if the people working on them have bought in and care about them. And, of course, if managers who decide what standards and style guides to use keep them in place.

  31. Time for .NET, you mean by Anonymous Coward · · Score: 0

    Hate to burst your little Java bubble, but .NET not only has a scripting extension, it's had it for longer than Java. (Far longer.) And it supports far more languages, too, since it doesn't have to shoehorn the languages into Java's OO model.

    I'm going to miss some, but .NET supports Haskell, Forth, Perl, Python, Ruby, Tcl, Lua, JavaScript, and VB right now.

    Java supports JavaScript and various Java-fied versions of scripting languages. .NET supports the actual scripting languages directly.

    1. Re:Time for .NET, you mean by teknopurge · · Score: 1

      Really? So I guess you read the link I posted where it says you can use:

      AWK, Beanshell, ejs, FreeMarker, Groovy, jaskell, java, javascript, jelly, jep, jexl, jst, judoscript, juel, ognl, pnuts, python, ruby, scheme, sleep, tcl, velocity, xpath, xslt

    2. Re:Time for .NET, you mean by Anonymous Coward · · Score: 0

      Yeah, I saw the list, but first off, half of those aren't real languages. (XPath? XSLT? First off, .NET supports them natively too, and secondly, those are not scripting languages.)

      But as for your list, I'm just going to group them:

      Languages that are also supported by .Net

      AWK, Jaskell (as Haskell), Java (as J#), JavaScript, Python, Ruby, Scheme, Tcl, Xpath, XSLT

      Template "Languages"

      That is, languages designed to allow Java object values to be converted to text. (There are a thousand .Net things for this, too.)

      EJS, FreeMarker, Jexl, Jst, Jeul, Velocity

      Java Scripting Languages

      These are languages that basically allow Java syntax to be used as a script

      Beanshell, Java (gee), Judoscript

      Niche Languages

      And, finally, languages that no one uses because they're tied directly to Java in some way:

      Groovy (calls itself Python/Ruby/Perl clone), OGNL (this might really be a template language, I can't tell), Pnuts (doesn't say what it is), Sleep (calls itself a Perl clone)

      And Jelly

      Jelly is a horrible, horrible idea. It tries to use XML as a scripting language, sort of like ANT (which is available for .NET as NANT). In much the same way as ANT and XSLT are horrible ideas, Jelly is a horrible idea.

      And finally...

      The languages I listed are a subset of languages .NET supports - namely, languages people have heard of before and weren't designed specifically for .NET.

      Try a google search for ".net language" to get a better list of languages .NET supports. There are a lot.

    3. Re:Time for .NET, you mean by jafac · · Score: 1

      yeh.

      Unfortunately, .NET won't support those scripting languages on Solaris, BSD, Linux, or Macintosh.

      Java does.

      Oops.

      Sorry.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
  32. Aww... by nog_lorp · · Score: 2, Insightful

    Sad, that was always my favorite "thing that schools never secure". You can just about always get into VBA macros on Word, and use that to run a command line or regedit or etc.

    1. Re:Aww... by EkriirkE · · Score: 1

      Yeah, and even if they actually set a policy preventing regedit from loading, I could call system apis in VBA and wrote my own reg edit in word.

      --
      from 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
      to 45 2F 6E 40 3C DF 10 71 4E 41 DF AA 25 7D 31 3F
  33. Typical by GreatDrok · · Score: 4, Interesting

    All the UNIX skills I developed over the last 20 years are still useful. So glad I haven't bothered to spend any time on the MS treadmill. Heck, all the software I wrote over the last 20 years can still be compiled and runs happily on a modern machine that is hundreds of times faster than the SPARCstation 1 I used to run on.

    Do you think the PHBs will ever learn that using proprietary systems like Windows may seem cheaper in the short term but in the long run you open your wallet and let them take take take?

    --
    "I have the attention span of a strobe lit goldfish, please get to the point quickly!"
    1. Re:Typical by jimicus · · Score: 1

      Do you think the PHBs will ever learn that using proprietary systems like Windows may seem cheaper in the short term but in the long run you open your wallet and let them take take take?

      They haven't yet.

    2. Re:Typical by lgw · · Score: 4, Insightful

      Do you think the PHBs will ever learn that using proprietary systems like Windows may seem cheaper in the short term but in the long run you open your wallet and let them take take take? PHBs are compensated for short term performance and in the long term work at a different company. Microsoft provides exactly the correct solution for this market.
      --
      Socialism: a lie told by totalitarians and believed by fools.
    3. Re:Typical by Duhavid · · Score: 1


      "Do you think the PHBs will ever learn that using proprietary systems like Windows may seem cheaper in the short term but in the long run you open your wallet and let them take take take?"

      No. I don't.

      ( small nit, Sun is pretty proprietary themselves. Difference being, they seem
          to understand that they need to provide more value )

      --
      emt 377 emt 4
    4. Re:Typical by afabbro · · Score: 1
      All the UNIX skills I developed over the last 20 years are still useful

      I'm sorry to hear you're still using UUCP.

      --
      Advice: on VPS providers
  34. Good Time To Switch to Ruby and Python by oldwarrior · · Score: 1, Informative

    Since they can be the glue that hold together cooperating subsystems, rather than closed (and now retiring) VBA.

    --
    If it were done when 'tis done, then t'were well it were done quickly... MacBeth
  35. One Dev Kit To Rule Them All by blueZhift · · Score: 1

    I can understand, a little, why MS might want do this. It could be argued that it will be less of a headache to support the scripting functionality best suited to each platform. But that really wears a little thin when if they would finally support Mac development in Visual Studio they might finally have the one ring to bind and rule them all, so to speak. Visual Studio is a pretty good development platform, for Windows, why not extend it to Mac? And then from there, would it be so hard to allow developers the language of their choice to script MS Office apps whether that be C#, Python, or something else?

    Yeah, I know MS generally doesn't support any platform other than Windows as far as dev tools go, but one can dream...

    1. Re:One Dev Kit To Rule Them All by ciggieposeur · · Score: 1

      Visual Studio is a pretty good development platform, for Windows, why not extend it to Mac?

      I think because XCode is pretty good too, and then are NetBeans and Eclipse. The Mac userbase might not really want to go VS.NET even if it was available and priced the same as the others (i.e. free).

      But what do I know? My development platform is Emacs + make/bjam. :)

  36. WTF? Is this a trick? by 8tim8 · · Score: 1

    Mac Office 2008 has dropped VBA in favor of enhanced support for AppleScript...

    So MS is ditching its homemade scripting language in favor of Apple's? MS, within the Mac platform at least, is moving towards openness? Is this a trick? Is this a new embrace and extend? This just sounds...bizarre.

    By the way, has anyone got MacOffice 2008 yet? Is it very different from the previous version?

  37. Absolutely wrong! by Anonymous Coward · · Score: 1, Informative

    I wrote a *trading* application in Excel, written almost entirely in VBA (with a C++ ActiveX control providing the real-time feed). It ended up being almost 50k lines of code. All the user had to do was open up his workbook, which had a worksheet for each stock, and voila! real-time updates and the ability to auto-sell based on thresholds and calculations done within the sheet itself.

    I can attest that others have done similar, non-trivial projects in the financial industry; that's where VBA is used heavily because it's easier to calculate Black-Scholes using VBA than with in-line formulas.

    Microsoft is high on pills if they think this will go over well in the financial sector.

    1. Re:Absolutely wrong! by Anonymous Coward · · Score: 0

      What ever the decision to drop VBA, it is possible .. that cross capatible scripting may indeed come back one day within VSTO, VSTA. Since MS is already doing work on the CLR and Silverlight 2.0 for it work on the Mac (including debugging processes on the Mac) it is not inconceivable that future versions of Office on the Mac will include this capability. Moving to VSTA/VSTO was in the cards for the longest time and the inclusion of the toolsets in VS 2008 OTB clearly shows the direction.

      VBA has not changed in a long, long time. IMHO the managed components offer a greater level of capability. Granted there will be a rewrite, and maybe this is good or a bad depending on your vantage point. Like anything a business needs a compelling reason to move.

      Also lets be honest, the final decision makers will not be the developers, but the end users who have been using the office for along time. In the long run there generally is a higher cost to training and user adoption then there will be to re-writing VBA to be compatible with VSTO.

  38. Happy by Anonymous Coward · · Score: 0

    Python is my way. I has a lot of applications on VB6 ruined after .NET. Now the Excell is my only red thin line to Windows :) Next thing? Gnumeric or KOffice? Who cares, both have Python scripting. The OO scripting is awful shit, overloaded from Sun with 3 miles long names and a bunch of unused variables ...

  39. Whither EndNote by Anonymous Coward · · Score: 2, Insightful

    Arguments about open source alternatives aside, doesn't EndNote use VBA for all of it's scripting? I'm sure it's fine for the Windows side for which they can add in VSTA/VSTO support, but won't this kill EndNote for the Mac? I seem to recall that EndNote uses VBA for all of its formatting and layout within Word.

    I'm a grad student in biology and we are almost entirely a Mac group (it's seems to be rare to see a completely PC bio group these days I think). It would be quite a shame if this decision had rather strong ripples throughout a number of other companies whose business models are predicated on using VBA in Office.

    1. Re:Whither EndNote by Aram+Fingal · · Score: 1

      EndNote is able to operate directly on some other file formats, like RTF. You just don't get the easy menu items straight in your word processor.

      I'm not sure what the company will do about future development with EndNote. There are a lot of Mac users in their customer base, especially in areas like Biology. On the technical side, they have really gone in for xml in their own file formats in recent years. I wouldn't be surprised if what they do, ultimately, is make EndNote into it's own word processor which will work with ODF and OOXML documents. That's part of the point in having an open standard xml format, as I see it. You can edit the same file with different applications and use each to do the kind of editing that it does best.

  40. This is not what it seems by strcpy(NULL,... · · Score: 4, Interesting

    MS is not trying to improve their product by removing/upgrading VBA.. They just want to kill Mac. By providing different scripting languages for the two platforms, they are going to eliminate Macs from being used for business. Since most of your customers don't have Macs, you can't use a Mac to write a document with macros in it. So, you have to buy Windows.

    --
    echo 'cat sig | sh' > sig
    1. Re:This is not what it seems by BitZtream · · Score: 1

      Just for reference, no one writes an 'document' with macros in it. Some people use some shitty macros to make a spreadsheet do some funky crap. But no real business uses macros in documents they send to customers.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    2. Re:This is not what it seems by p0tat03 · · Score: 1

      Nice tinfoil hat theory - but the contract with Apple to provide MS Office on the Mac expired a while ago (2001/2002). If they really wanted to kill Macs by denying their users Office, why did they even bother to release Office on Mac?

    3. Re:This is not what it seems by falconwolf · · Score: 2, Insightful

      Nice tinfoil hat theory - but the contract with Apple to provide MS Office on the Mac expired a while ago (2001/2002). If they really wanted to kill Macs by denying their users Office, why did they even bother to release Office on Mac?

      Could it be because they were a monopolist who was convicted of using the monopoly position to harm competitors but now they have a get out of jail card so they no longer have to play nice? If I recall right year ago MS argued it was not a monopoly because they had MS Office for Macs.

      Falcon
  41. Senior programmers, please splain this to me by jollyreaper · · Score: 3, Interesting

    How in the hell are businesses supposed to keep up with this shit? Ok, back in the day everybody was using midrange computers. End users were either sitting at terminals or were later at PC's with terminal emulation. Programs were written once and then maintained for decades. Whenever the midrange or mainframe was updated, all of the old stuff worked but now you could create new stuff to take advantage of greater speed, memory, features, etc. This is a proper and correct understanding of the past, yes?

    So how in the fucking christ are companies supposed to operate today? Operating systems are only sold for several years and then the new one comes out. The what, five year stretch for XP, that's an anomaly, MS wants to churn it faster. So you have new operating systems and thus new bugs for the client app, and legacy apps for shit like Office will be completely horked. The old standby of "Well, we just won't upgrade for a bit, give us time to write something new," that becomes harder because you can't buy the old softare anymore. Even if you say fuck it, I'm going to pirate it, eventually the new hardware won't have driver support for the old OS.

    From what I see, my perspective only being on the periphery of the programmers, it looks like anyone tightly wedded to Microsoft products will be doing the upgrade shuffle every few years and have to rewrite lots and lots of code.

    I agree with the other posters, this sounds like a huge win for open source but a completely incomprehensible move for Microsoft. Where the hell is the bonus here for them? Normally I can see the evil, malicious genius in their actions but since Vista I'm at a loss, it just seems like stupid evil now.

    --
    Kwisatz Haderach
    Sell the spice to CHOAM
    This Mahdi took Shaddam's Throne
    1. Re:Senior programmers, please splain this to me by lgw · · Score: 1

      Well-written C++ (or C) code built on top of the base Win32 APIs has been stable for over a decade. There were some important differences between Win9x and WinNT, and now some significant differences to worry about with Vista, but most APIs are unchanged.

      GUI code has made one big jump - from MFC-based GUI to Winforms-based - but the timing of that change worked well with everyone moving to Web-based apps, so it wasn't as disruptive as it might have been.

      The low-level basics in the Windows world are actually quite stable, it's everything else that breaks every few years. Eventually I expect MS will break Win32 compatability, and that will be the end of Windows.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    2. Re:Senior programmers, please splain this to me by Knara · · Score: 1

      VBA has been around for quite a bit longer than "a few years", just FYI.

      The rest of your bit is one of the reasons as to why there's a lot of crappy programmers/systems engineers and very few good ones. Some people's brains are constructed in a fashion that allows them to rapidly assimilate and store data on a great many things. Most technologies are somewhat related to tech that came before. Being able to make that association between old and new means you don't have to relearn anything from scratch, and so you can keep up better than people who can't make that logical connection.

    3. Re:Senior programmers, please splain this to me by Anonymous Coward · · Score: 2, Interesting

      I'm choosing to ignore your nonsense rhetoric pining after the wonderful days of the mainframe--you're welcome to it. As for the perceived incomprehensibility of this move by Microsoft on the part of /. readers, the terrible summary is somewhat at fault. The summary makes it appear that this crime against humanity will be perpetrated without a moment's notice to corporate macro fans everywhere. In reality, VSTO (Visual Studio Tools for Office--the replacement technology in question) has been around since 2003. I've been making a living writing VSTO "document customizations" in C# for three years, and the security, maintainability, and functionality is leaps and bounds ahead of macros. When Office 2007 came out, all of my code worked flawlessly, including some very questionable UI stuff that I didn't expect would hold together. The runtime for VSTO is maintained separately from Office, so it can be revised and updated without needing to be part of the Office release cycle. When I created my first VSTO document a few years ago, I knew it wouldn't be long before Microsoft was tempted to completely abandon the VBA model. Transferring its role to the .Net sandbox is much better for users and developers than continually limiting and disabling VBA to fix its many security problems.

  42. It's Another Compatibility War by Anonymous Coward · · Score: 0

    First out of the gate was the VHS-BETA MAX War
    next came VHS-DVD battle
    Then came HD-DVD vs Blu-Ray
    Now this!! COME ON AND FRICKING DECIDE YOU BUNCHA MORONS!!

  43. Shoehorn is a good word by Bryansix · · Score: 2, Funny

    Please stop using shoehorn as a transitive verb in that manner. The way you used it you implied it to mean "squeezing something into a space in which it will not fit". However it should be used as a transitive verb only as follows. I shoehorned my foot into my shoe. My foot fits in my shoe just fine thank you very much but I use a shoehorn because it is EASIER. Using the shoehorn is not wrong. Yet when you use the word they way you did you give it a negative conotation which is lame. Shoehorns are awesome and the word should only be used to convey awesomeness!

  44. Re:WTF? Is this a trick? by Directrix1 · · Score: 1

    Openness??? Hahahaha, you must mean cross-platform incompatibility.

    --
    Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
  45. Microsoft Enables OpenOffice Migration? by Carcass666 · · Score: 2, Insightful

    I work at a company that does transcription and the only reason we have stuck with Word was that we have been able to continue utilizing the considerable VBA macro code base we have maintained since Word 97. With the various Word updates, there have been some hiccups, but for the most part, we've been able to keep the same code for Word 97 even through the abomination that is Word 2007. Before you guys start pulling out the flamethrower, in 97 you had Word and WordPerfect, and WordPerfect was busy figuring out how to kill whatever marketshare they still had.

    If I have to rewrite everything to work with the next rev of Word, and we have to tell all our transcriptionists they have have to buy the latest (and probably not greatest version) of Word, what incentive would I have not to seriously consider a migration to Open Office?

    This idea was probably thought up by the same genius that decided to shut off backward-file compatibility and save as formatted text filters.

  46. It's all about forcing upgrades by walterbyrd · · Score: 1

    What good does it do msft if you stay with office-2003, or earlier? If you did that, then you might just as well stay with XP - or earlier. And if you stayed with old XP and Office, then you might also stay old ms-exchange, and old windows-server, and so on.

    The way things are supposed to work is: one person in the office uses the new msft application language. But for anybody else to use those macros, they have to upgrade ms-office, which mean they will have to upgrade their OS, which means an upgrade for exchange, and an upgrade for the server, and an upgrade for all the hardware, and so on.

    It doesn't happen all at once. If it did people might reject the idea. It is an on-going process. And that process works like all hell. It has worked for a long time.

  47. Forget VBA, what about automation by Doctor+Faustus · · Score: 1

    Is Office still built on COM? *That* would be a good reason to kill VBA (since VBA is just a thin wrapper around a subset of COM). Office Automation from .Net is not remotely as friendly as it was from VB6 or VBA because Office is still built in COM and it has a different memory model than .Net. Last I checked, you have to clear every object, force a garbage collection, and repeat a couple of times to *probably* clear the memory the Office objects were using.

  48. What MS is doing... by infinitelink · · Score: 1

    VBA is a highly used language (as you know) so that this isn't a small thing. In business school MS products are praised and exalted. Programmers curse it...forgetting that the point is CEOs, not technicians; this keeps MS ahead. I constantly hear people complain how one is able to do one thing 10 different ways...but in business they LOVE this; LOVE LOVE LOVE this.

    This move isn't so stupid, however, because too many companies are dependent on this language and MS products. What it's really doing, though, is shooting Apple in the foot: MS was going to drop Apple support for office but Apple begged and worked-out an extension. This will remove the possibility for many businesses who stick with office to utilize Mac as a platform; especially since other businesses are unlikely to support a house with applescript on Office.

    If MS drops VBA it's because they feel they have something better to offer...possibly something worth more to programmers while they're at it; don't forget that whole businesses do nothing but write macros and VBA-based software; I know several guys who do this.

    In the meantime OpenOffice ought to start reverse-engineering VBA, I think; if it's going to die then we won't have to worry about it changing...and a LOT of firms would probably, very likely, appreciate not losing years of work, (or being able to offer it on practically any platform AND advertise that they're giving-away a compatible office suite!), though maybe MS's new tools will have migration features/assistance to translate. Anyone know?

    --
    Intelligent idiots are we. | Evil men do not understand justice.
  49. Glass House? by Anonymous Coward · · Score: 2, Insightful

    Because, as we know, all thing FOSS interoperate perfectly, and the people developing them always do a fantasticly stable and secure and well designed job.

    1. Re:Glass House? by smittyoneeach · · Score: 2, Insightful

      No one ever contended that. The contention is that, when the inevitable conflicts occur, the user is not disenfranchised.

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    2. Re:Glass House? by Anonymous Coward · · Score: 0

      Disenfranchised? MS is taking away your civil rights?

      Talk about stupid statements... OMG... "TEH MIKKKR0$$$L0TH IZ TEH MAEKING MAI SUFTWEREZ NOT TEH WURK!11!! ZOMG, MAI OFFACE 2000 IZ NOT TEH WURK NOE MOARZ!1!!"

      F'ing retard.

  50. A lot of things *have* changed by rmcd · · Score: 1

    I agree with the other poster. Things have changed.

    1. I just got an e-mail from a student who couldn't use our Blackboard discussion group. Switching from IE to Firefox solved the problem.

    2. My son the other day was creating a birthday invitation (part had to be rotated 180). In all truth, he found it easier to use OO than Word (we were both scratching our heads about Word's help on this issue). We started with Word and switched to OO to complete the task.

    3. My school is rolling out MS Exchange, but it's been slow and my department has effectively (and happily) standardized on Google calendar for the time being. This is user driven.

    4. I have written VBA spreadsheets to accompany a text and have grateful Mac users because they're usually ignored. A few weeks ago I ported everything to OpenOffice in anticipation of Office 2008. Painful (because documentation is poor) but not too bad and it all works great.

    5. My facebook-using daughter is happy with our XO laptop.

    There are too many alternatives now for Microsoft to get away with being obnoxious. My own view is that MS is going to be hit by a tidal wave in the home and small office market, and that this will portend much more gradual but significant slippage in the corporate market. (Full disclosure: my predictions are usually lousy ;-)

  51. PYTHON fills the gap by Anonymous Coward · · Score: 0

    Start switching to Python today to get ready. Python works great in a Win32 environment already with support for COM objects, WSH, ODBC etc. I've been using the Activestate Python for years to do Windows applications and scripting because it comes with all the Win32 support bundled.

    And then there is Ironpython which runs on .NET so it can interface to any .NET libraries that you need. With some care, you can even build applications that will run on either .NET or off of it.

    And Python is fully supported on Mac OS/X and Linux as well. In fact, Linux and OS/X have a .NET implementation called Mono which runs Ironpython right out of the box.

    This is a good move for Microsoft because it cuts the need to support people who are not professional software developers. We should all help Microsoft by urging everyone to move to Python to fill this niche and to reduce their dependence on quirky undersupported commercial software.

  52. Just to be pedantic... by Randolpho · · Score: 1
    Nom du Keyboard writes

    This sounds like the Mother of All Backwards and Cross-Platform Incompatibilities -- especially since there appears to be no transition period where both the old and new scripting languages will be simultaneously supported. And as past experience with Visual Studio .NET has shown, upgrade tools are far less than perfect.
    For those interested in, say, accuracy:

    Microsoft has concurrently supported VSTO and VBA since Office 2003.

    VSTA, however is a different beast, indeed, it's an entirely different way of doing things, completely unrelated to the extensions you get from VBA. The upgrade path is via VSTO, and yes, Microsoft has been providing that path for years.
    --
    "Times have not become more violent. They have just become more televised."
    -Marilyn Manson
  53. "less than perfect"? Hell .. by ScrewMaster · · Score: 1

    And as past experience with Visual Studio .NET has shown, upgrade tools are far less than perfect.

    Upgrade tools are bloody useless if you're talking an application of any reasonable size or sophistication. One of the apps I'm responsible for is composed of about a quarter million lines of Visual Studio 6 code, tightly integrated with Win32 (can you say, "unmanaged code"? I knew you could.) Management asked the software engineering staff how long it would take to (ahem) "port" it to .Net.

    It was really hard not to laugh out loud. So we did. Laugh, that is.

    --
    The higher the technology, the sharper that two-edged sword.
  54. anyone else giddy? by Dan667 · · Score: 1

    I will always have a high paying job now as I will be less than the licenses and training needed for whatever unusable microsoft replacement there is. To bad all the projects will be 20 lines of perl code, but at least I will be rich. Muhahahaha.

  55. Goodbye to VB by fm6 · · Score: 3, Insightful

    They've shifted scripting paradigms before. Word used to have its own dialect of Basic, and Excel originally did all its scripting with those @ functions.

    What's really painful is not the death of VBA as such. What's painful is Microsoft's decision to do away with the whole Visual Basic paradigm without providing anything to replace it.

    What do I mean by by "Visual Basic paradigm"? I don't mean the (very sucky) language. I mean the integration of the language to all those COM interfaces that permeate Microsoftland, including Office. These COM interfaces are all part of object frameworks, but because they're interfaces rather than objects, you don't have to master the object framework in order to use them

    When MS got bored with COM and decided to move on to .NET, they neglected to replicate this functionality. They did provide a .NET version of VB, but it's just another OO language. So VB.NET programmers have to master the .NET object framework. Might as well learn C# and be done with it.

    I'm a user of OneNote, which was the first MS Office application to be released without a builtin Visual Basic engine. You can automate OneNote, but the learning curve's much steeper than it would be with VBA. I've never found time to assault it.

    Even though I've always despised the pre-.NET dialect of Visual Basic, I find I'm missing it terribly.

    1. Re:Goodbye to VB by p0tat03 · · Score: 2, Insightful

      IMHO the problem has always been that VB was designed as a low-barrier-to-entry method to getting some quick one-off code to work. Say I wanted to sort my Excel fields in a weird unconventional way, VBA to the rescue! Maybe 20-30 lines of code and BAM, my spreadsheet is beautiful.

      But in the midst of all of this MS never provided a "proper" programming interface, thus spawning an ungodly and scary amount of VBA spaghetti-code projects that just won't die. In realizing this they tried to fix it by releasing .NET, a much more "proper" way to program, but failed to release anything resembling VBA in its original simplicity.

      IMO you need both. You need the easy scripting language so non-coders can do some simple operations without calling IT, and at the same time you need a REAL language/environment to do large enterprise integration projects.

    2. Re:Goodbye to VB by Tablizer · · Score: 1

      These COM interfaces are all part of object frameworks, but because they're interfaces rather than objects, you don't have to master the object framework in order to use them. When MS got bored with COM and decided to move on to .NET, they neglected to replicate this functionality.

      I think they moved away from COM because 3rd-party vendors were writing GUI COM objects and nifty COM widgets that were better than MS's, risking MS's control because they could be used with other vendor's languages also. Dot-NET is more tightly married to Windows and MS technologies.

    3. Re:Goodbye to VB by olman · · Score: 1

      VBA+Excel is surprisingly good for EE - You have to deal with bills-of-materials that can have hundreds of items that have to be carried over to a component database one way or other. The traditional method is to go over the bloody list by hand that takes all day and is unsurprisingly error-prone.

      With VBA simple item-code comparison macro can literally do work that'd take you day or two in five seconds and has inventory level back-referencing to boot.

      Yes, I know many houses have monster oracle/whatever database apps that do similar job, only developed for tons of euros by consultants and are total pain to use.

  56. 0H N0ESSS!!1!! N0 VB@???? by Fortunato_NC · · Score: 0

    WH@T W1LL 3Y3 R1T3 M@CR0V1RUS3S W1TH N0W?!??11/?

    Signed,
    Script Kiddies

    --
    Blogging Weight Loss, Distance Education, and more at verlin.com
  57. Re:New Motto by Alien54 · · Score: 1

    Microsoft's new motto is, "Finding new ways to alienate paying customers, one day at a time".

    I somehow thought it was something like

    "Finding new ways to force customers to pay, again, and again, and again"

    --
    "It is a greater offense to steal men's labor, than their clothes"
  58. Article summary meets usual Slashdot standrds by mpsmps · · Score: 1

    no transition period where both the old and new scripting languages will be simultaneously supported


    Both VBA and VSTO have been supported in Office 2003 and Office 2007 for years now. Not sure why /. needs to make stuff like that up. It's not like it's that hard to find MS criticisms that are actually true.
  59. VBA isn't exactly 'going away' by BitZtream · · Score: 1, Informative

    So, for those of you who aren't used to Microsoft or, who are too blind to see. Microsoft doesn't invent new technologies, they rename thier current ones. VBA isn't going away, its getting renamed. You know this whole .NET thing? You know how .NET assemblies are 'new and different' Let me give you a hint, under the hood, they are basically OLE version 3, 'ActiveX' was OLE version 2.

    Yes they are new, Yes they aren't 100% backwards compatible, Yes you can still use them with the same old code as before with a bit of tweaking.

    VSTO is the same crap, different name. Stop letting the marketing people freak you out so much.

    Funny, my captha is arrogant ... how fitting.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  60. OpenOffice by nguy · · Score: 1

    Well, if Macintosh users would support OpenOffice, they could become independent of Microsoft's corporate strategy.

    But, of course, Mac users generally behave even more like cattle than Microsoft users and want to hand their money to someone else to think for them, and that's what Microsoft is doing. And when it comes to applications, they're more concerned with whether the buttons are shiny enough than whether the application gets the job done.

    1. Re:OpenOffice by Aram+Fingal · · Score: 1

      But, of course, Mac users generally behave even more like cattle than Microsoft users and want to hand their money to someone else to think for them, and that's what Microsoft is doing. And when it comes to applications, they're more concerned with whether the buttons are shiny enough than whether the application gets the job done.
      Mac users do tend to be very concerned with the design of a GUI over other design concerns but it's not just shiny buttons. It's overall elegant design and usability for the end user that they want and they will complain if they don't get it. That hardly makes them cattle. OpenOffice copies the MS Office GUI very closely which means there's no innovation in that area at all. Mac users like applications like iWork, Nisus Writer, Papyrus Office, etc. because they do innovate in the area of GUI design. Using MS office is a compromise. In many work environments having MS Office available is necessary to justify the purchase of a Mac.
  61. Re:New Motto by falconwolf · · Score: 1

    Microsoft's new motto is, "Finding new ways to alienate paying customers, one day at a time".

    I somehow thought it was something like
    "Finding new ways to force customers to pay, again, and again, and again"

    But the second motto, your's, leads to the first. Not many but I've heard a small number of people who said they weren't going to upgrade their MS Office suite because MS keeps making new versions incompatible with old versions.

    Falcon
  62. RIAA by falconwolf · · Score: 1

    If by suing their own customers you mean suing those who don't pay for stuff. Then yes, that's what the music industry has been doing.

    They, RIAA, even sues those who don't illegally download or make music available for download.

    Falcon
  63. Way to Stay Up to Date, FEC Instructors! by rubah · · Score: 1

    Aw shi--- We start learning VBA in intro to engineering in a few weeks! (after three weeks of Engineering Economics)

  64. errata by Anonymous Coward · · Score: 0

    just as a bit of errata, technically using VSTA is not scripting. it's just using a .NET language to access the public members of the application's code. i just think "Scripting" is sort of down-playing the capabilities of the technology.

  65. You meant NeoOffice by SkimTony · · Score: 1

    OpenOffice doesn't support Mac Users, so it's unlikely they'll support OpenOffice. NeoOffice is doing a pretty good job, though, and I recommend it to people who still want that "Office" feel. As for Microsoft office, most of the researchers I support use Microsoft Word for one reason: EndNote.

  66. To summarize: by ClosedSource · · Score: 1

    Those on Slashdot who would never admit to using Windows, wouldn't run MS Office even on a Mac, and would never stoop so low as to use Visual Basic for Applications (or any other MS language) are upset that VBA is going away.

  67. What does this mean for Access? by Arterion · · Score: 2, Interesting

    Access is heavily VBA dependent, much more than the rest of the suite. In fact, using VSTO, you can write code for all the other Office applications in .NET, but not Access. VBA is sortof a cornerstone for Access. I also wonder what this means for Windows Script Host. A lot of companies have a lot of .vbs scripts and the like out there doing important stuff. I know I end up writing WSH scripts in VBA to do routine things all the time. I really need to get into the habit of using Perl, I guess...

    --
    "That which does not kill us makes us stranger." -Trevor Goodchild
  68. Your VBA is leaking memory. Common problem. by HornWumpus · · Score: 1

    Look for local variables set to objects that are not explicitly set back to null (after closing if appropriate).

    VBA, like all languages that depend on garbage collection, does an imperfect job. In VBA's case it's a thrash your disk VM hell awful job.

    Just letting recordsets etc drop out of scope will not release the memory. (In some cases at least, enough to screw things up.)

    Even with all locals set explicitly to null VBA still leaks memory and will eventually need restarting. Everything bad said about VBA is true.

    That said some people come up with insightful solutions using VBA. In some cases it's worth extending the solutions useful life, if only to develop a better one in the time you buy.

    --
    John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    1. Re:Your VBA is leaking memory. Common problem. by XHIIHIIHX · · Score: 0

      Thanks for the debug tips. I would be interested in hearing any more ideas, but this has nothing to do with that. It has something to do with having multiple worksheets open. Very first line of the program is something like Worksheets("blah").Cells("c3") = "somestring", this will take 5 seconds to execute. If you close all other worksheets then it takes only 1/100th of second to update. I have a sample project that has nothing but two work sheets that behave like this. Of course if I start a new project everything is fine (1/100th second updates). I can't copy&paste everything to a new worksheet because there are It seems like some kind of namespace problem, it is just so *painfully* slow to run. I guess I could see what messages are flying around the windows at this point with winspy but doubt that would lead me down useful paths. This VB project started on a macintosh and has moved thru many cycles of different office and windows generations. Also this is running on a quad core 6600 with 4gb of ram now under vista, this problem has persisted thru win2k and windows xp.

    2. Re:Your VBA is leaking memory. Common problem. by HornWumpus · · Score: 1

      No idea on what's causing your problem.

      I'd start by decomposing the statement to:

      Worksheet BlahSheet = Worksheets("blah")
      Cell C3Cell = BlahSheet.Cells("c3")
      C3Cell.Value = "Something" 'maybe .text, it's been a while

      Just to see what part of the process is slow. Also to poke at the sheet and cell in the debugger/immediate window. Note: you could further break the code down in line 2, also note that I've been coding C# lately, syntax schmintax.

      I'd also try to find out what's broken about the namespace issue. My gut says it's related.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
  69. Hearsay by Gorath99 · · Score: 1

    With all due respect to The Register, this is just hearsay. The article doesn't mention any sources for the statement that VBA won't be in the next Office for Windows.

    The MS announcement does state that they won't license VBA to third parties anymore, and that they are moving their resources to VSTA/VSTO. While this is surely an indication that MS wants to stop supporting VBA completely, it doesn't mean that it will be gone in the next Office release for Windows. If they do mean to do that, they'd better be very upfront about it. Too many companies (including multi-billion dollar multinationals; I'm currently working for one) use VBA all over the place.

  70. Unusual? by Rocketship+Underpant · · Score: 1

    Actually, I'm pretty sure bears will always maul you to death for that.

    --
    He who lights his taper at mine, receives light without darkening me.
  71. hmm?... by Anonymous Coward · · Score: 0

    It's typical of M$ to do this. They started out with Windows 98. Everyone learned to use it well... then they made NT so everyone had to upgrade or die. XP came along and it just got worse... They always make some new technology every couple of years so people have to either buy new junk from them, or become obsolete.

    Same thing happened with lots of their other junk too... Visual Basic and Visual C++ were replaced with dot net. Com was replaced with dot net. Direct X is constantly upgraded to death so much that old games that used to play on Windows 98 don't really work all to well all the time on XP, even in compatibility mode.

    I really want to start learning Linux more and forget giving money to the Gates Foundation of Millionares.

  72. Great Platforms Never Die... by jman.org · · Score: 1

    Having never "upgraded" to .Net, I'm still quite happy with Visual Studio Enterprise v6, though it's rarely used these days. Did manage to purchase Office 2003 for a good price a few years ago, and am satisfied with that as well. (It was an upgrade to a copy of Office 2000 Premium I'd won at an MS event some time ago, along with a pretty useless Compaq PDA, circa '99, that ran the old version of WinPE. It's in a box somewhere...)

    Were I to be on the latest & greatest version of Office when they do finally slice VBA out of it, would miss the language only as it relates to Excel; those two in combination are a very, very handy set of tools.

    But these days it's all about the web, anyway. My 'doze box runs Apache, MySQL & PHP, and there's a testing folder, so between virtual domains & the hosts file I can pretty much accomplish anything I used to with Excel / VBA. Sure, I don't get the same instant gratification, and true, debugging is a little more tricky, but on the plus side it's helped me to better learn the PHP language.

    (I finally forced myself off my favorite text editor, and do use Eclipse for PHP coding these days, but mainly for the project views, and code folding. Haven't really gotten into debugging with it. I actually like having to have a good grasp of the code in my head, as opposed to relying on breakpoints & instant watches...)

    I still maintain, having started - at least as far as MS platforms go - with their DOS based Professional Development System v7 back in the late 80's, the IDE they rolled out with Visual Basic was one of the best things MS has ever produced, and it was a great move on their part to port part of it to Office.

    But, they made it so easy to debug you could get lazy.

    These days, there are a couple of Excel / VBA apps I still routinely use, only because I haven't converted them to a web-based approach; but I hardly ever compile VB code through the Studio anymore. Still, I don't regret for one minute having upgraded to newer versions over the years - so long as the upgrades were actually useful.

    IMHO, the real reason MS is dropping VBA is not because the platform is past its prime, rather that they can't figure out how to secure their operating system. (Just look at their latest attempt. If Vista were a car it would be recalled before you could say "Shoddy Software").

    It's always been a two-edged sword. Yes, you could totally automate your system. Yes, you could totally obliterate someone else's system.

    Not being the destructive sort, I found the power VBA offered to greatly assist me in performing the heavy lifting you sometimes need when weeding though large amounts of data. Others have different motivations, and have used the tool accordingly.

    In any event, so long as I'm happy to stick with the older COM versions of MS apps, don't think Redmond's idiotic dismissal of a great platform will really affect my daily life. So long as Office 2003 continues to run on my 'doze box (and why shouldn't it, by the time I dump XP it'll probably be in favor of Linux anyway), VBA isn't going anywhere. I don't use it as much these days, but it's still handy to have around.

    Sometimes, upgrades are really downgrades.

  73. VBA, skill check by eggBrainWorks · · Score: 1

    So now with the looming of VBA not being supported, what's a VBA scripter to do? Move on to VSTO? C#.net? Visual Studio 2008? Honestly, VBA was one of my main skills and I helped a lot of organizations with it. Now I have a load of apps I've developed that may no longer be supported. Granted, I could still write it, but with the move, how viable is that action? If anything, this has become a wake up call to put skills in check and try to aggressively find training. Anybody else in the same boat?

  74. Changing of the Guard by PingPongBoy · · Score: 1

    As Bill Gates is leaving Microsoft, it's a good time to never look back. What kind of non-Microsoft software can be built to be backwards compatible?

    Anyways, I always found VBA brutally slow in Office so it will be a blessing to have a new language.

    --
    Know your pads. One time pad: good for cryptography. Two timing pad: where to take your mistress.
  75. Office Next will still have VBA by TonyToews · · Score: 1
    That story on Regdeveloper is wrong with respect to Office Next on the Windows platform. VBA will still be there. Yes, Office Mac is losing VBA. That part of the story is correct.

    Tony Toews, Microsoft Access MVP http://www.granite.ab.ca/access

    1. Re:Office Next will still have VBA by Anonymous Coward · · Score: 0

      Support for VBA won't go away in Office for Windows. http://blogs.msdn.com/excel/archive/2008/01/16/clarification-on-vba-support.aspx

  76. Actually, the Register's story is inaccurate.... by heffrey · · Score: 0

    ....because VBA for Office on Windows is here to stay: http://blogs.msdn.com/excel/archive/2008/01/16/clarification-on-vba-support.aspx.

    But that's not an interesting story is it since we can't bash MS anymore. Anyway, why let the truth get in the way of a good story!!

  77. The End of Heroforge? by Shadowmist · · Score: 1

    Heroforge is a famous Excel spreadsheet series for creating character sheets for D20 a macro filled creation that had grown to about 6 megabytes before data is put in. Right now it's cross platform but the end of VBA might spell the end of this gaming classic.