Re: VBA/VB6 vs VB.net



You cannot use VB.Net instead of VBA in Access. However, can you not create
an ActiveX COM object out of your VB.Net application and use it in VBA? You
could have done the same in VB6, so that you wouldn't have had to import the
code into Access at all: you'd simply have had a reference to your VB6 EXE
or DLL.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"GPO" <GPO@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DE10CBE1-2651-452A-9D62-A2F895D8722F@xxxxxxxxxxxxxxxx
>A few years ago my mate and I developed a neato little program in VBA/VB6
> that could run either as a MS Access 2000 (or later) mdb application, or
> as a
> VB exe that linked to a SQL Server database.
> The bulk of the code in either case was common. We just exported the
> relevant modules from VB6 and imported them into Access. We even had an
> SQL
> parser that would convert tSQL into an SQL dialect that access could run.
> All
> up it meant you could maintain the two as if thery were a single app,
> making
> changes in one place to update both.
>
> Now the people who manage the corporate direction of programming in our
> organisation have said that all VB6 apps have to be converted to vb.NET.
> That
> on it's own is bad enough, but my question is this: Does Microsoft offer
> the
> same seamless integration between an Office scripting language and VB.net
> as
> it did with VBA/VB6? If we cannot keep common, the code that should be
> common, then we essentially now have two apps to maintain, and all the
> problems that go along with that.
>
> Has anyone else dealt with this before?


.



Relevant Pages

  • Re: VAB Confusion
    ... >> learn VB and can get VB for Apps from my employer. ... >> common language to manipulate MS apps, ... VBA uses a subset ... The syntax for the last 2 versions of VB produced by Microsoft ...
    (microsoft.public.office.developer.vba)
  • Re: Was going to.........
    ... in VB6 ??? ... many MS apps are written in Cobol or QBasic because as far as MS are ... VBA in favor of some apple scripting language or somehting like that. ...
    (microsoft.public.vb.general.discussion)
  • Re: Conversion Problem
    ... were creating web apps, or even apps for a mobile device, I surely wouldn't ... but for desktop apps I surely wouldn't want to use dotNet. ... VB6 sixes help sucks rocks. ... don't have to be a control array and they don't have to be the same type. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Alternatives
    ... These Apps don't deliver larger performance (there were ... those are hacks to work around the limitations in the ... problem in VB6 whilst using WinAPIs - I'm using the WinAPI ... How 'bout the console api? ...
    (microsoft.public.vb.general.discussion)
  • Re: Microsoft and trust
    ... DotNet certainly meets the criteria WE ALL ASKED FOR. ... your VB6 apps were pretty darn crude. ... were a little too slavish to the needs of the CLR but not to do so would ...
    (microsoft.public.vb.general.discussion)

Loading