I am upgrading a VB 6 project to VB.net.
The VB 6 project uses the Inet control, I have installed the registry update
that came with VS.net to allow me to use VB6 controls within my projects.
However after the upgrade compleates I get the following error, with this
line of code:
Inet.Execute(Inet.URL, "Get " & RemoteFileName & " " & LocalFileName)
Overload resolution failed because no accessible 'Execute' accepts this
number of arguments.
Does anyone know why this is?
>I am upgrading a VB 6 project to VB.net.
> The VB 6 project uses the Inet control, I have installed the registry
[quoted text clipped - 9 lines]
>
> Does anyone know why this is?
Not me.... the only thing I can figure is that .Net's having problems
resolving this specific control's optional parameters. Syntax for the
Execute method is.....
object.Execute [url], [operation], [data], [requestHeaders]
...I've never tried anything with that control (except to see what the
wizard does) but..... I guess, try passing empty strings for those extra
optionals.

Signature
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..