Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General / February 2005



Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian Elliott - 28 Feb 2005 18:21 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.
Veign - 28 Feb 2005 18:24 GMT
If you have a limited budget then buy the Professional Edition of VB6.  It
would be cheaper than DotNet and you won't have to worry about the steep
learning curve (DotNet IsNot VB6 - am I allowed to use IsNot<g>)...

Or

Use the Winsock control instead of the Inet control.  Examples can be found
at www.vbip.com

Signature

Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--

> I must first thank those that have explained what the above means in
> previous postings.
[quoted text clipped - 27 lines]
>
> Any advice is most welcome.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.