Connect Two Programs Using Winsock?
Mar 4, 2010I'm trying to connect two programs using winsock, I connected it, but I want to send to the server to do some thing like open the camera . or do any thing .
View 1 RepliesI'm trying to connect two programs using winsock, I connected it, but I want to send to the server to do some thing like open the camera . or do any thing .
View 1 Repliesif i create a chat program and use winsock to connect me and my friend would my friend have to download MSWINSCK.OCX to run the application?
View 2 RepliesI am facing a situation with winsock. My application successfully connects to any computer that is connected on my router but i can't connect to any online computers (using port 7771). It simply doesn't connect without any kind errors. Any ideas? I am using port 7771 as local and remote port.
View 9 Repliesfor example, if i want to create a program that that takes the result of the calculator ( i mean the default calc of the windows ), or the result of any program, and keep these results in my created vb program, or to manipulte these results, is it possible?
View 3 Replies2 VB programs connect to the same ms access database, if 2 programs are open then in the 1st program u add data , i want that data will show on the list view of the another program
View 3 RepliesI am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).
View 4 RepliesI started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..
View 1 RepliesWhen you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.
Sorry for not explaining it very well the first time.
How can I use winsock in VS 2008? I can't figure it out..
View 1 RepliesI am doing my project in vs 2008 for WIFI transfer . We have to use winsock control to do this but in vs2008 there is no win sock control.Later we found that it is available in vb6.So i am trying to do in vb6.Can u assist me to develop coding to transfer data from one PC to another through WIFI?
View 1 RepliesHow do I properly add a Winsock Control in WPF for purpose of LAN applications? I tried adding the Winsock control dynamically but then the event functions are not available then.
View 1 RepliesIs this possible and how?Is it hard code or can i learn it?
View 1 Repliesi kinda need one.. i know how to make it work in vb10 by upgrading it from vb08, but i need to put it in a allread existing vb10 existing vb10 project, whit multitrheading.. so i cant use .net 2.0
View 9 RepliesI have project it use Winsock component if i take Open and Send Data in the same place it error
[Code]...
How can I add winsock Control in my toolbox?
View 1 RepliesHow to add winsock listener in Vb 2008
View 1 RepliesI'm in college and I want to show my friend how to use winsock but for some reason, I can't add the Winsock control through references. Is there any way to load it through code?
View 3 RepliesI'm working on a server/client chat program in vb 2008 using winsock. I have a connection and can send data, but for some reason I can't receive data. [Code]
View 2 Repliesi have a problem with my console in vb 2010 ! in windows form applications
we can use this event for winsock control:
i have added 2 winsock controls on form at server side and client side and used 2 different ports 1001,1002both winsocks gets connected i used condition winsock2.state=sckconnected and it shows that connectedi want that at certain time winsock2 will send data the timer gets activatedi put breakpoint on winsock2.senddata() in timer_tick() event the line gets executedbut at client side on winsock2_dataarrival() i put a msgbox() but it never popup
Server side-
vb.net
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)
[code]....
Recently I was handling a TCP/IP server-client window-based program in VB.NET. But in VB.NET. after I include the winsock on it, it cannot check the state. Normally, in VB6, to check the state is as below: If
[Code]...
I am making a chat program.
I use
Private Function winsock1() As Object
Throw New NotImplementedException
[code].....
I'm trying to put a winsock control into my app using VB 2008 but I'm reluctant to find it. Is there one in this version?
View 2 RepliesActually i want to add a "Refresh button" at the client side such that when it is pressed some specific lines should be executed at the server side.(e.g. when the "refresh button" is pressed at the client side, the server should evaluate some variable "data" and executes this line "winsock.sendData(data)" ) OR Can i set my server to refresh every 30 seconds or so to evaluate some variable and then execute the line "winsock.SendData( )"? is there a way to accomplish any of the above?
View 1 Repliesmy client/server desktop application that i created in vb.net.....
(1)Actually i want to add a "Refresh button" at the client side such that when it is pressed some specific lines should be executed at the server side.(e.g. when the "refresh button" is pressed at the client side, the server should evaluate some variable "data" and executes this line "winsock.sendData(data)" )
OR
(2)Can i set my server to refresh every 30 seconds or so to evaluate some variable and then execute the line "winsock.SendData( )"??
how to send file using winsock in vb.net and i don't found
View 4 RepliesI cannot get WinSock running. I am running XP Pro, with VS2008. I have downloaded mswinsck.ocx and installed in the c:windowssystem32 and syswow64 directories and ran regsvr32 C:windowsSystem32MSWINSCK.OCX and regsvr32 C:windowsSysWOW64MSWINSCK.OCX. I have added it to my tools panel. Once I add the control to my form, the form will not run. I get the error below. It I cannot even run other winsock examples.
[Code]....
Ive been trying to get this tcp server to work it uses winsock, I can connect to the server fine but as soon as i send a messege It errors with this messege Unable to determine size of incomming packet. It's possible you may need to use Legacy SupportWinsock_Orcas.AsyncSocket.ReceiveCallbackWhat does this mean?note: vb isnt making this error the program itself is, a link to the project is:I think error might be the cause of all the failures of Tcp servers i have tried how it would only recieve
View 3 RepliesI've had a problem which Mike has kindly helped me with here: url..I now ahve a problem when disconnecting then trying to connect again. The app works fine once, but throws the exception again if you try to connect the client a second time.
View 4 Repliesi have winsock for vb 2008 and for vb 6 but in 2008 not all commands working like Winsock1.Accept RequestID or more you dont know why ? u know i like more working in vb 2008 this is why im asking if im no have old winsock ? for vb 2008 i have there kollman koding and normal microsoft corporation COM?
View 6 Replies