Put A Winsock Control Into Application?
Nov 4, 2009I'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 RepliesI'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 RepliesIm planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.
Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?
I 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 RepliesHow can I add winsock Control in my toolbox?
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 RepliesHow do I register the control?
View 4 Repliesi can load a winsock control at runtime... but i can't figure out how to get its events to pop up.
AddHandler S.Connect, AddressOf SocketConnectEvent
this gives me an error....
Public Class Form1
Dim S As MSWinsockLib.Winsock
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]....
I am working with LAN connection in visual basic where in SERVER AND CLIENT PC's are transmitting data back and fort with the SQL database . when i click the program says like this (look at the picture below .. picture1)
in debugging the MSWINSOCK in visual basic (picture2)
Im adding a file transfer through a winsock control in my app. But the connection to it seems to be wrong
clientside Private Sub cmdConnect_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdConnect.Click
[Code]...
I am developing a Door Access Control System which talks the hardware's firmware via TCP/IP. The first version was a success and done using VB6 Winsock Control 6.0. Currently, I am doing the second version in VB.NET and the pain is with the socket. Winsock Control 6.0 is such a blessing (finally admitted) Does anyone know the default encoding of Winsock Control 6.0 in VB6 so that I can set it exactly to the encoding for socket in VB.NET. ANSI (VB.NET) seems to work (but not fully tested with the hardware), but is there something more specific?
View 8 RepliesI have been looking at a lot of examples an have tried a lot of them but it seems that it only works on a lan and not the internet. If you want me to show you the code I've been using I can show you it.Also, does the winsock control in VB6 work over the internet?
View 6 Repliesim doing a project in Visual Studio 2005, how do i add the Winsock control?
View 12 RepliesIv just started using a winsock control in VS 2010.
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
sckListen.Listen()
sckConnect.Connect(sckListen.LocalIP, sckListen.LocalPort)
[code]....
On data retrieval, it comes out as number instead of text. Im guessing ASCII?Why is it doing this? Do I need to convert each ASCII number into a character?
I am developing project on cyber cafe using vb .net 2005 and winsock i don't know how to accept connections from multiple clients to a server having winsock control
View 2 RepliesAlright so I'm using Windows Vista Ultimate with a 64 bit processor and the winsock control won't work.Originally Microsoft Visual Basic 2008 didn't have the winsock control, so I downloaded it and registered it correctly and it still wont work. I have no idea what to do,
View 3 Repliesi m a vb.6.0 developer and now turned in vb.net. so i m new in vb.net.My problem is given below.i opened the word documents in webbrowser control and it is just showing a document page with rular. But my main problem is that i want to open whole word documents with tool &menu bar in webcontrol. i used the following code which is given below.
WebBrowser1.Navigate("C:dharmchandBlank.doc")i wrote this code in form_load events and when i run my application then it is showing just a page with rular. But not showing Menu bar & Standard or Formatting toolbar.
How can I use winsock in VS 2008? I can't figure it out..
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 to add winsock listener in Vb 2008
View 1 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'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 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].....
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 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( )"??