Are these the same?

  • Thread starter Thread starter DS
  • Start date Start date
D

DS

Are these two statements the same?
The first one is VB6
Set WinHttpReq = New WinHttpRequest
This is in VBA Access
Set WinHttpReq = CreateObject("WinHttp.WinHttpRequest.5.1")
I tried the second one because Access didn't seem to reconize the first one.
Any help is appreciated.
Thanks
DS
 
DS said:
Thanks Rick, thats good to know. Can you donthe same with other
references? Thanks
DS


I have found none that cannot be used that way.

Open a new blank MDB in the version of Access you are using and look at the
references that are checked by default. In my opinion (almost) no
application should have any additional references checked if that app is to
be shared with other users. Any other libraries that need to be utilized
can use late binding (the CreateObject() method).
 
Back
Top