I'm sure you're a man of high integrity, and I know you're highly respected here in the Experts community; but opening that ftp up would compromise my own integrity with others Better to use Call, though, IMO.: One more small doubt, I have read a few tutorials on winsock programing and all of them have one point in common and that is There are individuals who overreact when caught with this scenario. Really appreciate the help! Source
Why does this happen? Advertisement snow_81us Thread Starter Joined: Jul 11, 2004 Messages: 17 Hello all I am just learning how to use Winsock in VB6. Thanx for alll the replies.. Any other ideas? http://www.vbforums.com/showthread.php?132636-Run-time-error-40006-Wrong-protocol-lt-How-this-error-occurs
If you want, you can take a look at: http://www.camcolada.com/UpdateWrapper.zip (of course, the FTP parameters have been changed) 0 LVL 29 Overall: Level 29 Visual Basic Classic 26 Programming Languages-Other Members have access to different forum appearance options, and many more functions. I will post the code, hopefully some one can tell me what I am doing wrong.The code for the server is [code]Option ExplicitPrivate Sub cmdSend_Click() Winsock.SendData txtChat.Text DoEvents txtMain.Text = txtMain.Text However...
Join our site today to ask your question. It just fires the Winsock_close event unexpectedly. But they are not before they are compiled into a setup exe. 0 LVL 29 Overall: Level 29 Visual Basic Classic 26 Programming Languages-Other 6 Message Expert Comment by:nffvrxqgrcfqvvc2005-09-28 You Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc.
JP Please remember to rate all postings. Let us take a peek on the common errors that you may encounter with your computer and the achievable ways to solve them. Guess what it, works! you could check here something else is using port 1001, or b).
It's when I install it on another computer that there is that problem. 0 LVL 29 Overall: Level 29 Visual Basic Classic 26 Programming Languages-Other 6 Message Expert Comment by:nffvrxqgrcfqvvc2005-09-28 http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_10315945.html?query=download+from+ftp&topics=93#2648444 Utilizing Inet, as opposed to Winsock, would probably be the way to go, right? 0 LVL 29 Overall: Level 29 Visual Basic Classic 26 Programming Languages-Other 6 Message Expert About SP3--I don't think there's a SP3 out for Windows XP. And I cannot figure out for the life of me, why it does this only on some of my computers but not all--they all seem to have the same components, etc.
My VB app checks if there's an update, and if there is an update available, it uses winsock to download & run the exe. When you have added an incompatible application to the computer, it can cause Runtime Error ‘40006' Wrong Protocol Or Connection State For The Requested Transaction Or Request, another reason will be DLL Files are Lost There are two causes of this Runtime Error ‘40006' Wrong Protocol Or Connection State For The Requested Transaction Or Request, it can be due to a missing you need to just add a temp Public Variable to the ActiveX.exe so open it up and add this public variable to DownloadUpdates.cls Public rDownloadUpdates As String OK.
http://www.xi0n.com Reply With Quote Mar 1st, 2002,08:37 PM #4 JaCkFr0sT View Profile View Forum Posts New Member Join Date Mar 2002 Posts 1 40006 error Sending the data when the winsock this contact form As of May 1, an ISP/EDU email is NO longer required to access the Classifieds. The result of this error commonly causes the virtual memory to run slow. Is your updated file located on an FTP server? 0 Message Author Comment by:John Account2005-09-27 Yes it is, eg1044 0 Message Author Comment by:John Account2005-09-27 So you talking about
I finally figured out that the client(only) is supposed to connect to wherever, the server doesn't need to, because it just needs to accept the request. JP Please remember to rate all postings. Short URL to this thread: https://techguy.org/334008 Log in with Facebook Log in with Twitter Log in with Google Your name or email address: Do you already have an account? have a peek here Stay logged in Sign up now!
Thank you very VERY much, egl1044. The time now is 12:31 AM. Originally Posted by jp140768 Do you need to have the following property set for the inital socket (i.e.
I would lose my integrity. I gotta run my son to a doctor's appointment. All rights reserved. Reply With Quote Jan 9th, 2002,04:59 AM #3 Eyes.Only View Profile View Forum Posts Visit Homepage Hyperactive Member Join Date Oct 2001 Location Minnesota Posts 344 yea veryjohnny is right.
Is it possible that a). Overclockers Community Newsletter -- OVC -- Default Mobile Style All times are GMT -5. Tech Support Guy is completely free -- paid for by advertisers and donations. Check This Out I don't have access to the code here, so can't give definite answers but I'm 99% certain about this.
JP Please remember to rate all postings. Access the net and download a copy of the missing file if it is the reason for the error. MyUpdates.ReadNewsFile "www. Loading...
The main cause of its error will serve as your basis on which among the 2 troubleshoot alternatives you should take into account. By the way, in this version, I removed all reference to ReadNewsFile and am simply downloading the file directly. 0 Message Author Comment by:John Account2005-09-28 It works fine on my Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Or is there a better way of doing thisThanks 0 · Share on Facebook Comments HackmanC Member Posts: 441 February 2005 If you call the SendData method in the WinSock control
Last edited by winblowzxp; April 3rd, 2007 at 10:44 AM. I will get back to you. The program works fine when I test it on my local machine but when I try to connect to a remote machine I end up with a run time error 40006.