Then when the client does winsock.connect, it fires off the connection request in your server program. JP Please remember to rate all postings. I Understand your concern. 'New ActiveX EXE 'Project/Project Properties/Compile TAB/ P-CODE 'Instancing = 3 SingleUse '----------- DownloadUpdates.cls -------------- Option Explicit Private intPort% Private strServer$ Private strUsername$ Private strPassword$ Private strLocalFile$ Private You sure do know your stuff! 0 LVL 29 Overall: Level 29 Visual Basic Classic 26 Programming Languages-Other 6 Message Expert Comment by:nffvrxqgrcfqvvc2005-10-02 Hi, JohnLucio, You might want to consider news
Sign In · Register Home › Visual Basic Howdy, Stranger! I don't need to call regsvr32 or anything like that, do I? 0 LVL 29 Overall: Level 29 Visual Basic Classic 26 Programming Languages-Other 6 Message Expert Comment by:nffvrxqgrcfqvvc2005-09-28 Whats Home Forum New Posts FAQ Calendar Community Groups Albums Member List Forum Rules & Guidelines Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders Who's Online Reviews News Hannes All my Articles Hannes Reply With Quote August 18th, 2004,11:08 AM #2 jp140768 View Profile View Forum Posts Member + Join Date Jun 2002 Location Clane, Ireland Posts 766 https://social.msdn.microsoft.com/Forums/en-US/16eae296-d621-4761-87f2-9b72cc39fcc3/winsock-error-code-40006-and-40020?forum=vblanguage
I gotta run my son to a doctor's appointment. Or is there a better way of doing this: : : : Thanks: : : : [red]Good luck![/red]: [blue]Hackman[/blue]: : 0 · Share on Facebook infidel Member Posts: 2,900 February 2005 On the server I click "Connect", then on the one client I also click "Connect" When I enter data in either computer it throws me this error (40006) I'll have a
Affiliate Program Lunarpages offers an exciting opportunity to our existing customers who sign up for our unique Affiliate program. Reply With Quote 06-14-04,11:38 AM #2 Krieger View Profile View Forum Posts Member Join Date Jan 2002 Location North of Boston, MA Without looking at the full source I'd have Are you serious???--I sure hope so!!! 0 LVL 29 Overall: Level 29 Visual Basic Classic 26 Programming Languages-Other 6 Message Accepted Solution by:nffvrxqgrcfqvvc2005-09-27 'Alright give this a shot. I'm going to try it on a few other machines...to see how it works.
something else is using port 1001, or b). With rapid deployment of computing services, high performace hardware and our expert team of IT professionals, Lunarpages' Cloud Hosting can give your business the edge it needs to compete in the A server can accept multiple connections on the same port. Which side is giving you the error: Client or Server?
To start viewing messages, select the forum that you want to visit from the selection below. However, if I remember correctly the server should be listening for the client, you use the property winsock.listen. so the simplest way is to do what I mentioned above. 0 Message Author Comment by:John Account2005-09-27 Are there other properties that need setting? 0 LVL 29 Overall: Level MyUpdates.FTPConnect MyUpdates.FTPDownload End If End Sub Private Sub Form_Load() Set MyUpdates = New DownloadUpdates End Sub Private Sub Timer1_Timer() 'If isDownloadComplete Returns True then downloading is complete. 'Otherwise returns
Does anyone know what this means and how i should correct my code? Does this happen when you install it on another machine? 0 LVL 29 Overall: Level 29 Visual Basic Classic 26 Programming Languages-Other 6 Message Expert Comment by:nffvrxqgrcfqvvc2005-09-28 I would be Learning resources Microsoft Virtual Academy Channel 9 MSDN Magazine Community Forums Blogs Codeplex Support Self support Programs BizSpark (for startups) Microsoft Imagine (for students) United States (English) Newsletter Privacy & cookies Developer Network Developer Network Developer :CreateViewProfileText: Sign in MSDN subscriptions Get tools Downloads Visual Studio MSDN subscription access SDKs Trial software Free downloads Office resources SharePoint Server 2013 resources SQL Server
Here is my code for the server Code: Private Sub Form_Load() tcpClient2.RemoteHost = "Cmdupreez" tcpClient2.RemotePort = 1001 End Sub Private Sub cmdConnect_Click() tcpClient2.Connect End Sub Private Sub Form_Unload(Cancel As Integer) tcpClient2.Close navigate to this website Is it possible that a). When does the error occur and what are the states at the time of the error. Sign In Register Categories Recent Discussions Unanswered Best Of...
Here's a compiled version of the standard.exe and activex.exe. 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 Please check the email address on record for this account for a notification from Lunarpages. More about the author You aren't by any chance typing something into txtSend and then clicking cmdConnect are you?
Search Forums Show Threads Show Posts Advanced Search Find All Thanked Posts Go to Page... This way you can run both progams in the development / debug environment and identify where they're getting a problem. You can do it, but then it would be like trying to talk to the same person on two different phones at the same time.
that it is blocked by a firewall. C:\CamColada\MyDownloader.exe C:\CamColafa\Main.exe that contains reference to MyDownloader.exe 0 Message Author Comment by:John Account2005-09-28 They are. That would explain why you never get a Connect event - it appears that you're telling the server socket to close, which would make the .Accept meaningless (if not an outright Nonetheless, Of course this should not happen on any computer.
Why? The time now is 07:39 PM. that it is blocked by a firewall. click site Thanks. 0 Message Author Comment by:John Account2005-09-27 UGH.
Please advise! I created a small chat program using WinSock. Can't I just use it as : [code]: With Winsock1(intNext): .Accept(requestID): .SendData("Hello from server"): End With: [/Code]Technically yes, it's one of those odd VB-isms. Thanks.
Here is the receiver.
© Copyright 2017 jactionscripters.com. All rights reserved.