I need a code that will let me send string or text to the same application running on a different computer ? im completely new to sending and recieving information in an application.
i have a task to create a TCP Server (a program that is listening on its network card interfaces for incoming data stream).I have search on the internet and i found that i can use two methods : Socket or TCPListener class.I have created an example for Socket class, but i wondering how could i test it? I need to check that if another computer in the network send some string data to the listener computer , then this message should be displayed.Here is the example from microsoft that i am using for TCP Server using Socket:
Public Shared Sub Main() ' Data buffer for incoming data. Dim data = nothingc[code]....
But it does not work because of the PORT setting.If in the TCP Server i have "Dim localEndPoint As New IPEndPoint(ipAddress, 0)" the client crashes, but if i change the port from any (0) to 11000 for example,the client works fine.Do you know why?
Later edit2:Maybe i should have started with this question:Which method is recommended for my scope?asynchronous or synchronous method ?
Are there any good books out there that will show someone how to set up a form using Visual basic that will take information and send it to the server and then send a recipient an Email?
Well, more specifically, is there a way to return the amount of memory that an End User's Graphics Card has using Windows API's?I need it for bug reporting purposes in my program which uses several different themes that might require a certain level of graphics card.
How do I retrieve the computer model information?For example, I have a dell inspiron 1545. How do I retrieve that information in a label? I search a lot of WMI information but can't seem to find it. It SAYS 1545 on my system properties
I'm working on a tcp/ip project for the company i working for, with another company, we are building the server side and they're building the client side. while can send thousands of tcp/ip request over the net from one computer to another and my server can handle them very easily, from some reason when the company we are work with send a single tcp/ip request to my server with their client application, my server do get the request correctly and handle it very well BUT, after one request my server takes 25% of the cpu usage, after 3-4 requests the server takes 100% of the cpu usage,
make a application where I can store a lot of account information in a file on my computer. This is how it works so far.I have a class called "AccountInfo" with some properties such as Account Name, Password, etc... This is bound to a DataGridView via a Bindingsource. So basicaly what I'm asking, is how can I save/load all these accounts in my computer easily in a file or something?
I have an asp.net webpage that only contains a textbox and a button. The user submits their email address using this webpage.What I am trying to do now is take the information submitted by the user and go to another website. Where my "website/program" gives the different website the entered email address, and clicks the submit button.
If I where to physically go to the different website, there would be a textbox to enter the email. But since I am accessing the website from my page "behind the scenes" I cant manually enter their email address.Is it possible to do this, if so how? Also, my code behind is in VB.
I'm wanting to transfer data between two programs. Basically, I have one program which is the "monitor" program. It opens another program and will fill a textbox in said program and then click a button on the program. When everything is done after clicking the button, the program will need to send something back to the monitor to tell it to close the program and open up another one to start the process over again.
I am building a customized login form so a worker can access a certain network drive on the network.
PLEASE DON'T SAY USE THE DEFAULT WINDOWS ONE BECAUSE I WANT TO CUSTOMISE THE LOGON INFORMATION.
What I want is to have the user enter their username, password and other information, click on a button and then pass the information in the fields to a batch file as a variable so it can do it's thing from there.
I am trying to send information to an mdb. I have already retrieved data from the database. I have preformed changes to the data, they are all still integers and there is the same number of results as there are samples. How do I get the new results back into a MS Access database?
Output Dim dr As DataRow dr = DS1.Tables(0).NewRow()
[Code]....
Would it be better to create a new row or to access an existing row?
i've been wanting to do this for a few years now and it amazes me that no one can come up with a solution.i want to write a program (preferably in vb.net) that can send a message to another computer (or device) that is connected to the same network as me. I want the message to appear on the other computer (or device) in a popup message box. Also, it would be ideal if this could be done through some sort of bluetooth connection, if not then local ip connection will do. I don't know how i would go about doing this but i know it's possible because i've seen some programs do it... in fact i've seen a program called blackrain that without any additional software installed, can display messages on an ipod touch screen to instruct the yser what to do, and then display the results from their input on the computer screen, almost instantly. I would like to know how that works as well if anyone has any thoughts please feel free to share them!
to do a program that can send a message in other computerthru LaN or Computer NetworkExample im in Server and i will send it is \PC-01here is the picture i design it but i don't know the code
i am trying to ping some terminals and all i could find for code is this
If My.Computer.Network.Ping(IPaddress, 1000) Then MsgBox(IPaddress & " pinged successfully.") Else MsgBox(IPaddress & " request timed out.") End If
it keeps comming up request timed out message. and i got this from microsoft. instead of a message box i am going to return the response to a listview control but i have to get a successful message first.
I wrote program that will send keystrokes to a computer if a button is pressed. The button is wired to a db9 connector and plugged into the pc. The program works, except I can not figure out how to detect if the cable gets unplugged. I am monitoring the CD pin change event to send keystrokes, but if the cable is not plugged in then I need it to send a messagebox.
Is it possible to send window messages from one computer to another through Dot Net 2008.suppose i have 2 computers on a domain, now i want to send message from one computer to another.
how can i send the content of any form to specify email address on submit button. For example if anyone fill the contact form the on submission all the form data will be send to particular email address which we can specify in coding.
I have an application that connected to a database (SQL Server 2000) .Is there any way to send an information and Report made by Crystal reports by mail so customers can check it from his email?
What I am wanting to do is pass some information from my app to a new DLL project I have created. In the DLL I have 2 test forms (frm123, frm456). What I need to do is send 2 parameters over to the DLL, when the DLL recieves the info it would then determine which form to open. In the DLL I have in the Main Module ' I will use arg(0) later
I want to create a program that will send data across my network to another computer. The data will be taken and used as sort of a command for the computer to load a webpage, or whatever I decide to do with it. I was familiar with the winsock control in Vb6.