Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 15th, 2007, 08:04 AM
Registered User
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to DAIKOSK
Default send a file via TCP,UDP connection

Hello
This my first post here
I am working my final project and i am making an aplication (VB6) IN order to send a hole file (not simple TXT messages) via a TCP or UDP connection. I managed to enstamplise the connection and send simple messages but i don't khow how to send a file. I tried to open it as binary file and sent it as txt parts but i can't make the parts at the recieving application a hole file.
Pleese help me. I'm running of time.
Sorry for my English

 
Old December 15th, 2007, 02:08 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

well.. Idon't know how are you sending the file, but first probably you have to know the name of the file (or at least the type) and the len of it...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Send file(<1MB) through tcp connection yukijocelyn C# 2005 6 July 3rd, 2008 11:02 AM
getting client ip in service using tcp connection RevengerPT .NET Web Services 5 March 31st, 2008 05:36 AM
TCP Send / Receive example Bodonn BOOK: Professional C#, 2nd and 3rd Editions 0 July 27th, 2006 04:55 PM
Underlying connection close problem - HTTP Send vivjohar Biztalk 0 August 22nd, 2005 11:47 AM
asynchronous UDP socket Roland Wrox Book Feedback 0 June 26th, 2003 10:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.