Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB 6.0 >>> VB.NET / November 2005

Tip: Looking for answers? Try searching our database.

Upgrade Issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Materialised - 30 Nov 2005 14:50 GMT
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?
Ken Halter - 30 Nov 2005 17:53 GMT
>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..


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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



©2008 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.