Problem Upgrading

M

Materialised

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?
 
M

m.posseth

Hello ,

I wonder why you would use the VB6 Inet control in VB.Net
you should better abbandon it and use the far superior web methods that .Net
has standard onboard

Better ask how you can do what you want to do with VB.Net

regards

Michel Posseth [MCP]
 
M

Materialised

Thanks for your reply Michael.

To be honest, I only have a fleeting knowledge of VB.net, as a C programmer
mostly for POSIX compliant platforms, the whole concept of .Net is foreign
to me.
I have been given the task of adding certain functionality to a clients
pre-existing software. The source was available to me, which was written in
Visual Basic 6. I ran it through the Visual Studio 2003 upgrade wizard, and
that control was the only issue I was actually having.

I was hoping to retain as much of the original applications code as
possible, basically to save myself time, however if you could point me to
somewhere I can read up on .Net web methods, in perticular the file transfer
protocol and option available to me, I would be grateful.

Regards
Mick Walker


m.posseth said:
Hello ,

I wonder why you would use the VB6 Inet control in VB.Net
you should better abbandon it and use the far superior web methods that
.Net has standard onboard

Better ask how you can do what you want to do with VB.Net

regards

Michel Posseth [MCP]


Materialised said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top