VB Network Transfer

Discussion in 'Programming General' started by Ryan, Aug 20, 2010.

VB Network Transfer
  1. Unread #1 - Aug 20, 2010 at 10:43 PM
  2. Ryan
    Joined:
    Mar 14, 2006
    Posts:
    2,946
    Referrals:
    31
    Sythe Gold:
    56

    Ryan Hopeless Romantic
    Banned

    VB Network Transfer

    So, I want to have a go at making a file transfer program for a LAN.

    At the moment I have the code to grab all the nodes on the network and throw them into a listbox. Just wondering how I'd go about have it generate a section/panel for each node on the network that will allow files to be dragged and dropped into, hence starting a transfer?

    Can this even be done?
     
  3. Unread #2 - Aug 21, 2010 at 1:08 AM
  4. syth4
    Joined:
    Jan 28, 2007
    Posts:
    173
    Referrals:
    1
    Sythe Gold:
    1

    syth4 Active Member

    VB Network Transfer

    You'll need a server running on the other end of all the clients, have you made one yet?
    I'll help you make one if you didn't :noworry:
     
  5. Unread #3 - Aug 21, 2010 at 12:40 PM
  6. Leur Cenihcam
    Joined:
    Aug 21, 2010
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0

    Leur Cenihcam Newcomer
    Banned

    VB Network Transfer

    This is a matter of Windows networking. File.Copy() is applicable even for shared network folders. But how you set up shared network folders differs slightly depending on the version of Windows. Google has that answer easily.
     
  7. Unread #4 - Sep 2, 2010 at 12:43 AM
  8. chrisadam12
    Joined:
    Sep 2, 2010
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0

    chrisadam12 Newcomer

    VB Network Transfer

    Network programming in .NET is a new release from Elsevier Digital Press, and is available now at all good computer bookshops. The book is a complete introduction to developing network programs in both C# and VB.NET. It includes chapters on the fundamentals of network programming, TCP and UDP sockets, multicasting, HTTP and SMTP, Remoting, and Web services. Not only that, but it also covers rare, and hard-to-find practical information on Telephony, Packet capture, MSMQ, and IPv6. Whether you’re a professional network programmer, or just want to see what’s possible, you’ll find that .NET Network Programming is a complete guide to the capabilities of networking in the .NET framework.

    What you’ll learn from this book:

    Network programming fundamentals, TCP & UDP.
    Enabling you to send and receive files and messages over IP. Using either of the two main Internet protocols, TCP (Transmission control Protocol) or UDP (User datagram protocol). Source code is given to implement file transfer applications, along with rudimentary Instant-Messenger style applications. Examples are given in both C# and vb.net, and provide both socket level and TcpClient / TcpListener (and UdpClient) level options for implementation.
    An in-depth look at HTTP clients & servers. Taking a hands-on approach to HTTP, this chapter provides examples on how to request data from web servers programmatically, using native .NET classes such as HttpWebRequest and HttpWebResponse. The examples provide information on including POST headers, Cookies, referrers etc., into your HTTP requests to retrieve data from dynamic pages on remote webservers. The chapter also provides a wealth of information in embedding Internet Explorer in your .NET applications, which can be used to provide greatly simplified HTML extraction through direct access to Internet Explorers' DOM (document object model) using the HTMLDocument interface. Also included in the chapter is an example of a multithreaded web server, with support for Mime types, expandable to support ASP.NET pages with the "System.Web.Hosting" namespaces' CreateApplicationHost and HttpWorkerRequest classes.
    How to send and receive email, via SMTP, POP3, and the MAPI.
    In Chapter 5, The SMTP (RFC 821) protocol and POP3 (RFC 1939) protocol are detailed, and socket level implementations are given. However, higher level descriptions are also provided, such as those using the "System.Web.Mail" namespace's MailMessage class. This class leverages Microsoft's CDOSYS architecture, to provide added performance, and functionality, such as attachments and inline images. The high-level alternative to POP3 is the MAPI, (Office automation), this automates the operation of Microsoft Outlook, exposing the full functionality of the product, including utilities such as the address book etc. Also included in the chapter is a description of the IMAP (used for email, but quite rare) and NNTP (news / usenet). Included in a later chapter is a description on how to implement DNS MX (Mail exchange) which enables you to determine the associated SMTP/POP3 server of any given email address, providing a means to automatically discover the outgoing SMTP server address, or bypass a local SMTP server




    _______________________________________________



    Want to get-on Google's first page and loads of traffic to your website? Hire a SEO specialist from Ocean Groups seo specialist
     
  9. Unread #5 - Sep 2, 2010 at 4:01 AM
  10. Harlem9191
    Joined:
    Mar 10, 2009
    Posts:
    81
    Referrals:
    0
    Sythe Gold:
    0

    Harlem9191 Member

    VB Network Transfer

    I know this can be done in VB.Net but I don't really know much about VB6 so I don't know how to do it with that.
     
< [Help] | auto typer >

Users viewing this thread
1 guest


 
 
Adblock breaks this site