Late / Early Binding - comments please and advice on .NET ?

From: Brian Elliott (bre2_at_tesco.net)
Date: 02/28/05


Date: Mon, 28 Feb 2005 18:21:15 GMT

I must first thank those that have explained what the above means in
previous postings.

My problem was when transferring VB6 [ Student Ed ] progs. using OFFICE 97
from a WIN 98 machine to a WIN XP2 machine [ and using the same software ] I
was unable to use such statements as:-

Set wbook1 = Excel1.Workbook.Open ( "c:\ etc.......") which gave an '
Open method object failure ' message. This is because I am unable to
initiate ' Early Binding ' with the compiler.

I have now tried Public excel1 as Object, Public wbook1 as Object, Public
xx as String

then Set excel1 = CreateObject ( " excel.Application ")
        Set wbook1 = GetObject (xx, "excel.Application")
                      xx = "c:\....... etc. "

which so far seems to work! [ This initiates LATE binding ].

I have [ at the moment ] one remaining problem - I need to use Internet
Transfer Controls, specifically the Active X object Inet. I now
understand [ which I half suspected ] that the Student edition of VB6 cannot
use this object - I therefore need some advice on what to buy to replace VB6
that will work with Office 97, work with WIN 98 and XP2 and allow me to use
Inet [ or its equivalent ].

I have many large VB6 programs and I am not a programmer. I have a limited
budget.

Any advice is most welcome.



Relevant Pages

  • Re: Pop up a message with a URL.
    ... Boki wrote: ... Could you advice how to: ... I remember it is called messagebox.showin VB6. ... University of Edinburgh ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: HOW TO COMPILE AND MERGE
    ... separate sources around on their machines. ... advice on how I should go about this. ... Wait, you're *new* to VB6? ...
    (comp.lang.basic.visual.misc)
  • Re: VB6 and VB.Net on Same Dev Computer?
    ... > Before I waste a lot of time trying this, can anyone tell me if I can ... > install both VB6 and VB.Net on the same computer without effecting ... > I have some legacy apps in VB6 that will not be upgraded to VB.Net but I ... by MS. That's my advice. ...
    (microsoft.public.vb.general.discussion)
  • Re: VB6 Error Handling
    ... I read the .net groups fairly regularly...and all I see is a long ... That is what .NET had reduced folks to. ... VB6 programs are too slow, then maybe it will be time to put VB6 away. ...
    (microsoft.public.vb.general.discussion)
  • Question re Migration of VB6 App to .NET
    ... written in VB6 as a rich Win32 Client/Server application. ... through an abrupt termination of the VB6 product and complete rewrite. ... that we are contemplating developing this new module in .NET. ... Thanks very much for any advice which you can provide. ...
    (microsoft.public.dotnet.framework.windowsforms)