Socket : UnAble To Communicate Through Internet?
Sep 26, 2009
I have started socket programming since last few days. I'm able to communicate when the server and client programs are run on the same computer (by specifying IP as 127.0.0.1) or on different computer which are on LAN(192.168.x.x .... etc.). But the problem is that i'm not able to communicate through internet when i provide Internet IP Address (assigned by my ISP) of computer on which server program is running.
Here's my code :
Server :
Imports System.Net.Sockets
[code].....
View 7 Replies
ADVERTISEMENT
Apr 1, 2009
I would like to know can we use a socket connection on vb to communicate with PC without using GSM modem and SIM card.for example, like sendin a simple text msg to the PC and it will reply back the result back to me the result.
View 1 Replies
Apr 17, 2009
I have a problem I have a project that needs to have a communication of asp .net to vb .net my project is i want to access or control(like a remote control) the vb .net application(server) using asp .net(client side) asp .net is like a remote control and the vb .net is the application that needs to control i need to use internet to do that.
View 1 Replies
Aug 2, 2009
am using vb2008, and i was wondering how to to get the content in an input field in a webpage displayed in Internet Explorer, so when i hit a button for example, i get the content of the input field(usually texbox) in a textbox inside my app. note that am not talking about using the web browser component, but a running instance of ie
View 1 Replies
Mar 24, 2012
Can WCF be used communicate through the internet? All the examples I have found show it being used on a local network.
View 10 Replies
Sep 7, 2010
In VB .NET, how can I have two copies of an executable communicate with each other over the internet? For example... similar to how and instant messenger might work.
View 1 Replies
Dec 4, 2010
Is there a way for 2 programs to communicate over the internet instantly. I have one program were the use enters their email address and when they press submit that email will show up in another programs textbox on a new line.
View 5 Replies
May 28, 2009
how to communicate remote system using win sock control through internet. this is possiple give example or any idea in vb.net 2005
View 1 Replies
Jun 11, 2009
Does anybody know what site has independant ASP.Net consultants that are for hire on an hourly rate and can communicate via the internet? I only need this consultant for a couple hours. I cannot recall the site that I used previously where I would ask questions for a price and get the solutions.
View 2 Replies
Jan 8, 2010
I have been struggling to find a solution for this problem. What I need to do is build a server application that accepts tcp client requests from different clients running on same port say:1003. I experimented by using asynchronous mode call backs etc. but it disconnects once connection is established and does not respond for further requests from the same client.
View 1 Replies
Aug 2, 2009
i have made a console based socket program in vb.net, all it does 2 things:
1- server shows a msgbox when the command msg is sent from the client
2- the server opens the cd try when the command open is sent form the client
when i run it , i type the command open and works just fine , the cd tray opens , but if i type open again or msg it simply wont do anything(this also applies for the command msg, if type it a msg is shown, but if i type it agine or open , it wont respond. so its like one command per session.i tried to put the code in a while loop , but didnt work
here is the code for the server:
Imports System.IO
Imports System.Net.Sockets
Module Module1
[code]....
View 1 Replies
Sep 30, 2009
I get the error "35750 unable to open internet handle" from a server running a Visual Basic 6 program using the Inet control to access a site. It used to work but now it stopped. What is causing this and how do I fix it?
View 2 Replies
Dec 18, 2010
I have one sample project to automate Internet explorer in VB 6.0. The same thing when I am trying to do with .Net its just hangs my Internet explorer document. I am not able to type or click on any control on the page.
Here is the sample code block.
Imports SHDocVw
Imports mshtml
Public Class FrmRecorder
[Code]...
View 16 Replies
May 21, 2011
I wrote a Socket Client which will send the Socket Server some data and get some response from Server. This process will be running once in every 2 seconds.
Now what I need to know is How we can identify the connection lost between Server and Client?
I need this to be implemented in the Client side. If there is no connection then Client should automatically close the connection. Once the connection with the server is available in the next attempt it should connect automatically.
View 1 Replies
Oct 15, 2011
Below is my code, but when i send the message thru client socket i receive Specified argument was out of the range of valid values. Parameter name: size
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim serverStream As NetworkStream = clientSocket.GetStream()
Dim outStream As Byte() = _
System.Text.Encoding.ASCII.GetBytes("0800822000000000000004000000000000000920092126012345001")
[CODE]...
View 1 Replies
Jan 31, 2011
I've been looking for a way to do this for like two days now, and no luck.
What I want to do is get into the temporary internet files, find a certain file....
(^^^ I can do that just fine (using specialfolders, etc) ^^^)
and get the internet address associated with it.
See the attachment if you don't get my meaning.
View 1 Replies
Oct 15, 2011
we have our system running but our system needs to be modified because we did something wrong...we are doing an "Internet monitoring System" in our school library where the user can only access the internet 1hr a day, and he/she cannot use the internet within that day if he couldn't buy a time on a serve...every students should only have 20hrs time usage per semester...our problem is every day their 20hrs is being reduced in 1hr.. the rule is the time per semester which is 20hrs that is given to the students was reduced 1hr only if he uses the internet..but our system is reducing their 1hr every day.
View 1 Replies
May 31, 2012
I wish to communicate over usb in vb.net i realize i might need to use openfile windows api or createfile windows api but im doing a generic mouse driver which should be miles simpler to do since microsoft and usb.org already have the report descriptors available so all i want to do is just send data to the device directly using my program.
[Code]...
View 7 Replies
Mar 15, 2010
I'm working on a little app which needs to recieve information from a script on a web server. I tried to have the vb.net app pole a php web page for a command every half of a second. This worked but, the app is streaming video and every time the app needs to pole the webpage the video stutter stops. I tried setting the pole timer to 5 seconds and still every 5 seconds the video stutters. I thought that maybe sockets would be the answer, so I looked for examples of vb.net socket servers and php socket clients. I tried implementing a solution but the php cannot seem to connect to the vb.net server. I googled around and saw that maybe php cannot communicate with a vb.net application.
View 1 Replies
Apr 10, 2010
If I control both applications, what is the best way to communicate between 2 exe's written in VB.Net. For example, I want to drop an XML file from one app, and pick it up with the other, but I do not want poll for the file. I've heard of named pipes, but I found it was complicated. What's the most effecient way to do this?
View 4 Replies
Jan 14, 2010
I'd like to know what the best way to communicate between two applications via a LAN would be? ..and would it work over multiple versions of Windows (XP, Vista, NT etc..)?
I am setup with Visual Basic Express 2008.
View 1 Replies
Jul 9, 2010
I am a novice with programming and really need to get a device communicate with PC through COM3.
how to send and receive data via COM3 in VB.
View 2 Replies
May 12, 2011
I have a Digi Modem connect to a device. How could I sent the code through the IP address what the Modem create to get communicate with my device? how to defined the IP, 2) make the communication 3) sent the code?
View 4 Replies
Mar 4, 2009
I am trying to send and receive packets over the LAN (i.e. NIC port) using VB.NET. I found some code that uses Socket wrench, but problem with such solutions is that users will need to install extra drivers and all which I do not want. I am looking to use drivers native to the .NET environment to send and receive packets through the LAN port. My windows forms application is in VB.NETneil
View 1 Replies
Feb 22, 2009
I am looking to send and receive packets from the LAN port using some kind of WIndows Native object so that the user of my Windows Forms control does not have to install any third party software.[For example, for Serial port I use MSComm, i want to know what I can use for LAN port?]
View 1 Replies
Apr 29, 2010
I`m working on a project where i have connected a FPGA chip to the PCI bus but now i am trying to figure out how to communicate in VB to that device? Normally the device has memory assigned to it in XP (address h00000200 to h0000037F) but i don`t know how to read/Write to that memory directly in VB...
View 2 Replies
May 8, 2009
I have a library that interacts with our phone system, ie, Hey phone, call this number for me. This library is used in one of our in house products. I would like to put this instead in a service, so that any of our in house products can send the service a message to place a phone call. So basically I want to communicate from a program built in .Net 3.5 with a service running on the same machine also built in the 3.5 framework. I have done some work with WCF and was considering using this but thought I would ask what others have done or would do.
View 4 Replies
May 26, 2012
Recently, I Developed an Experiment Application with VB.net(in Windows platform), When the application collected the data,I want to use R to Analysis the data, But I don't know how to Communicate with R (In other word, I want to send R script to R in my own application).
View 1 Replies
Jan 14, 2009
I have a program that opens the command prompt and sends commands. I need to leave the first CMD open, open ANOTHER cmd and send more commands to the second one.
Then I do some processing and can close them both. How can I open more than one, and how do I refer to the first or second one?
View 3 Replies
Jan 26, 2011
I'm coding a restaurant program where every table, server and guest is a different object - Is there a right way of getting objects to communicate with each other?For example, one server might have 5 table objects, each table might have 2 guest objects. Is there a way to neatly tie all this information together. If a guest moves to a different table I have to change a large number of variables (number of guests served by server, table set to empty, new table sat...etc etc.)?
View 2 Replies