VS 2008 Does Winsock Control In Work Over Internet

Apr 11, 2010

I 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 Replies


ADVERTISEMENT

Using Windows Vista Ultimate With A 64 Bit Processor And The Winsock Control Won't Work?

Jun 12, 2010

Alright 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 Replies

VS 2008 Cannot Get Winsock To Work

Dec 8, 2010

I 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]....

View 7 Replies

[2008] Winsock For Some Reason Does Not Work With Windows Vista 64Bit

Jan 25, 2009

Winsock for some reason does not work with Windows Vista 64Bit? Is there another way that is as simple as that? If so what and how?

View 1 Replies

VS 2008 Error In Winsock Control?

Jul 27, 2011

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)

View 1 Replies

VS 2008 : Control App Via Internet?

Sep 21, 2009

I have a app that sends me a text message to my cell when my pc starts up. i want to be able to send that app a "packet" or "signal" via the internet to control somesort of action like run a program or pop up a pre defined message or even shut the pc down. im not sure how to send packets or recieve them if its even possible, i know there will be some port forwarding needed on my routers end and i can do that part.

View 15 Replies

IDE :: How To Use Winsock Control

Aug 22, 2011

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 Replies

Using Winsock Control In WPF

Jun 12, 2011

How 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 Replies

Add Winsock Control In My Toolbox?

Dec 20, 2010

How can I add winsock Control in my toolbox?

View 1 Replies

Can't Add The Winsock Control Through References

Jan 6, 2009

I'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 Replies

Put A Winsock Control Into Application?

Nov 4, 2009

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 Replies

Communications :: Register The Winsock Control

Jul 13, 2008

How do I register the control?

View 4 Replies

Loading A Winsock Control At Runtime?

Mar 4, 2011

i 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]....

View 7 Replies

Adding A File Transfer Through A Winsock Control In App?

Jul 21, 2009

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]...

View 1 Replies

Default Encoding For Microsoft Winsock Control 6.0 In VB 6

Jun 13, 2009

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 Replies

Where Is Winsock Control In Visual Studio 2005

Aug 15, 2006

im doing a project in Visual Studio 2005, how do i add the Winsock control?

View 12 Replies

VS 2010 MS Winsock Control 6.0 - Data Retrieval Comes Out As Numbers?

Feb 8, 2011

Iv 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?

View 5 Replies

How To Work With Internet Explorer And SHDocVw

May 27, 2010

I am facing trouble in my application. What I need is when I press search button a URL should be passed to IE. Irrespective of how many times I press Search. Every time it should open in same windows instead of opening in a new internet explorer. I have used shdocvw.dll for the same. Here is my code: I have decleared following as global decleration:

[Code]...

View 1 Replies

Cyberproj - Connections From Multiple Clients To A Server Having Winsock Control

May 17, 2010

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 Replies

Making ActiveX Exe Work Inside Internet Explorer?

Mar 4, 2010

I have an ActiveX exe that works on word document. I want to make the ActiveX exe to work inside internet explorer. For Ex: if there is a link in a web page pointing to word document, clicking that link should open the word document in my application but inside the internet explorer itself. What i am able achieve till now is i am able to open the word document in my application but in my application window using MIME.

View 3 Replies

How To Use Winsock In VS 2008

Jan 19, 2010

How can I use winsock in VS 2008? I can't figure it out..

View 1 Replies

VS 2008 Tcp Winsock Error?

Nov 2, 2009

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 Replies

VS 2008 Winsock Can't Keep Connection Alive

Jan 3, 2010

I am trying to make a basic server/client program but I ran in a problem.

[Code]....

When I click connect in the GUI the first state of sock.ctlstate is 6 , connecting then the connected event is triggered and after that the sock.ctlstate is 8 , "Peer is closing the connection". But I dont understand why it does this. I should keep the connection alive to communicate.

View 1 Replies

Is There Winsock Controls InVB 2008 Express Edition

Jun 24, 2009

I need to put in some winsock controls in one of my applications but I can't find them anywhere in Visual Basic 2008 Express Edition. If there aren't any could someone give me the download link to Visual Basic 2006?

View 4 Replies

VS 2008 : Making A Chat Client And Server With Winsock?

Feb 10, 2010

Make a Chat Server and Client using winsock:I want to have a Login forum and Be able to ban user and Give them ranks I would like it to Use INI files.

View 2 Replies

VS 2008 TCP Client Responding To The Main Thread Like Winsock?

Apr 15, 2010

I have a user app written in VB which up till now has relied on winsock to connect to another device we have. The user app logs onto the device and then send / receives status reports from it which are used to set the controls on the apps forms.

This has all worked well for a long time but I'm now looking to move away from Winsock as I know it's not 'the right way' to do things and I also need to be able to send non ascii characters between the app and the device it's connected to (implementing multi language support).

The issue is with Winsock it would simply throw the DataArrival event when a message was received and I could then process the message and act upon it. When using a TcpClient socket connection I'm running into problems as all responses are on the socket thread which means I can't simply change controls on the main form without using the Invoke check.

What I want to be able to do is have the thread running the TcpClient simply alert the main form thread when it receives data and make that data available to the main thread so it can start processing it and triggering all the other functions etc required (these also interact with the Form). Whilst this is happening the TcpClient monitors any further messages and sends response messages as requested from the main thread.

View 9 Replies

Control Ip Relay Device From Internet

Apr 25, 2012

i wrote some code to control an ip device, i made in windows forms application , silverlight and asp.net, they all work on the local network , but won't work from internet web server, i have the router forwarding to local device ip and port,

i get this error:

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 226.45.306.158:4999

here's the code used

Private Function SendRelayCommandTest(ByVal e As String) As String
'SendTextToIP("setstate,1:" & thePort & "," & TheState)
'Dim IPHostCC1 As String = "192.168.1.105"

[Code]....

View 1 Replies

Internet Cafe Server Control

Nov 3, 2011

I want to create a simple client server with GUI to control my little internet cafe in my house.My Question :

1. Where I can get some tutorial to control another computer with my server application

2. Where I can get some tutorial to control bandwidth usage (if can or available)

Honestly, for number one question, I want to block or control user for opening Porn site or Download with download manager that take too much bandwidth so it's affect another user connect too slowlyJust it for billing timing, pricing or another like that I can to program it, but for controling I still didn't understand.

View 2 Replies

WebBrowser Control When Not Connected To The Internet?

Sep 29, 2011

I have a WebBrowser control on one of my forms to provide information to users when they use my program. If the user is connected to the Internet it works fine.But if they are not connected to the internet, it shows the Internet Explorer message saying that there are connection problems.

View 5 Replies

WebBrowser Without Internet Explorer Control?

Apr 3, 2010

Any way to make a web browser without the Internet Explorer control.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved