Click here to Skip to main content
11,796,393 members (70,656 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VB8.0 VB.NET

How can i Include Utilities.FTP in project.

Imports utilities.FTP gives me a warning below.

Namespace or type specified in the Imports 'Utilities.FTP' doesn't contain any public member or cannot be found.
Make sure the namespace or the type is defined and contains at least one public member.
Make sure the imported element name doesn't use any aliases.

Utilities.FTP is a Class.

Got the codes from here by Mr.Howard Richards
Posted 13-Mar-12 19:53pm
Edited 13-Mar-12 20:01pm
SAKryukov at 14-Mar-12 2:12am
How could it be?!

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If Utilities.FTP was a full name of the class, you would need to use its full name as is, and "import Utilities.FTP" would be wrong, as you would need to write "Import Utilities". However, I suspect "Utilitied.FTP" is not a class but a namespace, as I can see from Google search. In this case, you would really could use "import Utilities.FTP" and some type(s) in this namespace. So, what could be wrong? Check up if you have referenced the assembly itself ("FTPClient.DLL"?).

Alan Tuscano at 14-Mar-12 3:02am
Hi SA,
Thank You, got it running. Its a namespace, I add the FTPClient to the reference.

Thank you.
SAKryukov at 14-Mar-12 3:36am
Oh, great, thank you for reporting it back so soon.
You are welcome, of course.
Good luck, call again.
Alan Tuscano at 14-Mar-12 4:04am
Yes, I will!
Thanks again SA. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 570
1 Abhinav S 392
2 OriginalGriff 340
3 CPallini 269
4 KrunalRohit 249
0 OriginalGriff 2,012
1 Maciej Los 1,615
2 KrunalRohit 1,310
3 CPallini 1,015
4 Richard MacCutchan 828

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 14 Mar 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100