Php :: Server Communication Between Website And Client Application?

Jun 3, 2010

How would I make a Visual Basic application talk to a web server? Someone will press something on the site and I want the application to display the information that the web site passes along to it.

View 2 Replies


ADVERTISEMENT

Communications :: Client-server Communication Program - Click On CmdListen In The Server Form And CmdConnect In The Client Form

Jul 23, 2008

The problem I have is: When I click on cmdListen in the server form and cmdConnect in the client form,both programs won't respond and they crash for some reason I don't know.

Client source code:

Code:

Imports System.Net.Sockets
Imports System.Text
Public Class Form1

[CODE]...

Code:
Imports System.Net.Sockets
Imports System.Text
Public Class Form1

[CODE]...

View 3 Replies

Client To Server Communication?

Jul 7, 2011

I made some code in vb.net which checks if a certain process is running, and returns a 1 if it is, or a 0 if it isn't. Now I want it to send a packet to my server or something which would log the IP of the client, or something similar.

View 1 Replies

Getting The Client Server Communication?

Jan 17, 2012

Im doing a little program (.net2) that need to get info from a server.For starters I just want the Client-program to send a "Hi" and receive a"Ok" from server when client-program is started.

View 4 Replies

VS 2010 Client-Server Communication On LAN?

May 12, 2011

I'm doing a small project. It works on a LAN. The working of the project is:In client side, a user would enters "username" and "password". It would sent that to the server, along with the time.The server would authenticates info on checking a db and writes some info to the db.Also, the server should be able to sent some commands or instructions to the clients.These commands on received by the client, it would invoke certain functions/subs on the client based on the command.So, would it be better to use TCP client & listener or WCF ?

View 6 Replies

Client/server - Can't Access Communication Variable?

Aug 14, 2011

I have a client/server program. There is a variable called readData that takes returndata and places it there. My question is, why can't I access this variable directly, for instance, varC = readData and then try to access a piece of it i.e. textbox1.text = varC(2), I get an error "object reference not set to instance of an object". Why is this happening? It is because the readData is a networking 'component'? How do I get around this? I can post more code from the server app if needed.

[Code]...

View 16 Replies

Named Pipes Or TCP For Client/server Communication?

Oct 4, 2011

The client/server communication will only take place in the same network.I can use TCP, but then I have to configure separate IP ports for every server instance. I can however simply use named pipes so I don't have to think about port numbers and simply use the name of the server instance.There will not be very frequent and/or large data client/server communication. It's some sort of a ERP application that will only communicate once per 30 seconds on average.

View 2 Replies

TCP Connection Code For Client And Server Communication?

Nov 5, 2011

I have a TCP connection code for client and server communication. It's not meant to be malware but it collects the clients computer information and then connects to the server.

It successfully "connects" but then immediately disconnects.Here is the code for the server:

Dim Listener As TcpListener
Dim Client As TcpClient
Dim ClientList As New List(Of ChatClient)
Dim sReader As StreamReader

[Code]...

I have port forwarding all done and it works if I run the client and server on my own machine. If I run the client on another machine though It gives me a message box saying that it connected with the clients remote IP and at the same time it tells me it disconnected. The client never sends the system information. What is the problem?

View 2 Replies

VS 2008 - Sending Data From Client To Server (No Communication)

Oct 13, 2010

I'm not sure what I have done wrong, I am trying to get my program to send data (UsernamesPasswords) from client to server, then the server says if it's right or wrong.

The error is on this line:
Dim networkStream As NetworkStream = TcpClient.GetStream()

Heres the Client:
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox1.Text = "" Then
MsgBox("You must enter UN/PW!")
[Code] .....

View 4 Replies

C# - Push Website From Server To Client Using Wifi Connection?

Jan 29, 2011

I want to make an application that can push ads (website) to client..

Here is the case : Client try to connect to internet via wifi. Once the client is connected, server send a website address to client, and a popup (website sent by server) will appear in the client's computer in default browser.

I can list all IP connected to server, but i don't know how to push the website to client

Here is the code to list all IP connected to server : (import System.Net library)

String strHostName = "";
if(args == null || args.Length == 0){
strHostName = Dns.GetHostName();

[Code]....

View 1 Replies

C# - Fetch Website Source Based On Client Computer Rather Than Server In ASP.NET?

Mar 21, 2012

I am using the following code to fetch html source website.

private string Extract_Source(string url)
{
string output = "";
System.Net.HttpWebRequest req = (System.Net.HttpWebRequest)System.Net.HttpWebRequest.Create(url);

[code]....

It can fetch source properly but the problem is it fetch website source based on server from where script executed (i mean where website hosted), but i want to fetch content based on client information (ip etc)

View 1 Replies

Server/Client - Basic Tcp Server/client Application

Mar 30, 2009

I've basically made a basic tcp server/client application. The thing is that I'm behind a router and so will be the other people that use my clients. I've had to use port-forwarding or the software "rinetd"to run quite a few applications online.

Let me explain: I'm on a lan network that connects to the internet. Whenever I want to host a server - for instance a basic ftp or http server. If I give my external IP to anyone, they won't be able to access my server. Even if I portforward, it doesnt work. I have to use rinetd here. For other applications, portforwarding works. I'm not sure how these things work at all.

Anyway, my issue now is that I have created this server/client application. I'm having serious doubts that if I run the server, I'll have to either a) portforward or use rinetd to get people to connect to my server. IF I need to portforward, that's fine. However, using rinetd would really suck... My 2nd concern is as follows: IF the person running the client is in a similar situation as me (i.e he's on a lan that has a router which connects to the net), will he have to portforward or use rinetd as well? If he portforwards that's fine. But I don't think I could get people to use rinetd.... Also, if there are more than 1 person on a lan trying to connect to my server, there is a big problem when they try to portforward: they will only be able to allocate one of their internal ip to that port, and the others won't be able to connect, right? How does this work? I mean, I use many softwares like msn/skype/(some games)/firefox that do not need portforwarding/rinetd. Yet they work. My housemates(other people on the lan) use the same softwares, and it works fine. There's no clash/probs watsoever How come these run fine?

Anyway, back to my issues. Given I have no knowledge about how the above work, I was wondering whether there was a way to host a vb .net server application on an external website (external to my house) so that I might *avoid* the above mentioned problems, and to what extent that would be a sound solution.

View 11 Replies

SQL Server 2008 Configuration For Client Server (Windows Form) Application

Apr 6, 2012

Case : I'm creating an application (desktop application) with VB.NET (actually windows form), and using SQL Server Express 2008 for its database.

[Code]...

View 1 Replies

Client Server Application - How To Make Clients On Sql Server

Sep 24, 2010

How to make clients on sql server i mean when i will install my application on clients how i will connect it with sql server?

View 6 Replies

Remote Desktop Application? Safe To Use Winsock In Creating A Client/server Application?

Jul 18, 2012

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

View 3 Replies

Build Client-server And Sql Server Application?

Oct 26, 2009

i'm newbie in this programming..i need some references or a starting guide to build an sql server and vb.net application.

View 3 Replies

Client Needs To Have Sql Server On His Machine If Application Uses Sql Server?

Jul 16, 2009

I am creating small application (desktop search engine) which uses sql server as back end. Sql server is used to store huge data using indexing (for quick search). Is it necessary that client should have sql server on his machine to run the application? I don't want to install sql server on client's machine, because my application is just a small utility.Is there any other way so that I can store huge data using indexing?

View 2 Replies

.net - Port Sqlite Application To A Server/client Application?

Jun 4, 2012

I have wrote an Application for a organisation and they had let the app run in their lan using Samba, it worked perfect. Now they want to work over the internet.The Problem is that I have written this app with Sqlite, that means its currently working so:They have a exe and the sqlite dll and the sqlite database on their samba server and they connected a network drive on their windows pc to run it. So that means every pc is writing over samba to the sqlite database.

I tried it over the internet, but like i thought sqlite is a local database and its very slow, even if the ping is under 50ms. I could create a tcp server, that handles all and writes all to the sqlite database, but I have already written around 20.000 code lines for the project, so that would be not the best option for the lazy me. I have used only one sqlite class in my client for querieng, so I thought that it could work without much work, if i would replace the sqlite database adapter with the mysql database adapter, since sqlite has nearly the same syntax then mysql.

View 2 Replies

VS 2008 TCP Server / Client - Client To Send The Server 4 Numbers - Depending On The User's Choice

May 9, 2009

how to create a client/server... But I couldn't... I don't want anything fancy. Just want the client to send the server 4 numbers, depending on the user's choice; after that, the server would turn off the pc, restart it, etc. It all depends on the number received. Is there a rather "simple" way to do it? If it's not to much trouble you could use Atheist's example. (Btw I don't understand the code and, yes, I've checked on [URL])

View 9 Replies

VS 2010 : Send Data From Client To Server (encrypted) And The String Sent From The Client Is Not The Same As Received From The Server?

Jun 27, 2011

Hey guys, I am trying to send data from client to server (encrypted) and the string sent from the client is not the same as recieved from the server. I've been killing my brain for hours to get this to work but I cant manage. Im converting everything to Base64 string.

Client:

Public Sub SendMessage(ByVal msg As String)
Try
SyncLock myclient.GetStream
sw = New IO.StreamWriter(myclient.GetStream)

[code]....

View 4 Replies

Client Server Application In .net?

Jun 4, 2011

i am creating a client server application using vb.net with odbc as my data source to sql server 2005.send me a code that will enable the application running on a client machine to connect to a remote server.the application is to run on LAN and other client machines are on same domain.

View 1 Replies

Application Is Now Running On Server Or Client?

Nov 8, 2010

I use VB.NET for a Windows application.

How can I find out if the application is now running on a server or client (programmatically)?

View 1 Replies

Build A Client Server Application?

Jun 3, 2011

i currently have a project. The application created in this project will be located in a server, and some machines can access this application at the same time. The problem is, i don't know what's needed to connect that application to several machines. I know how to build this application and run it in a single machine, but i have no idea about running this on server.

View 3 Replies

Client Server Windows Application

Oct 28, 2009

I have developed 2-3 standalone windows application using VS2008(vb.net) + Sql server (2008,2005) and quite comfortable with stand alone windows application. Now i am trying to make a windows app which will share a server database on LAN. I googled alot about this but still no success. So i decided to make that as stand alone app and i just changes the connection string to use remote server database. Everything is working fine still. All the insert, update and delete query are same as stand alone n me not getting any problem while testing through one more remote client system. But while googling i heard abt "CONCURRENCY" control.So please guide me is anything wll b wrong in future wid my this application when i will deploy this to my users? What about locks and how can i implement this to my Insert, update and delete queries to control concurrency and maintain integrity ?Please guide me step by step becoz i m new be to client/server application.

View 7 Replies

Client-server Chat Application

Jan 15, 2012

I made one client-server chat application using vb.net. I want to know how can i change the form/icon color when a client sends a message and vice versa.

for eg: like in yahoo messenger or msn messenger,etc, How i user knows when he receives an message.

View 1 Replies

Create A Server And Client Application?

Jun 7, 2009

I am trying to create a a server and client application. All that I want to do is have a client that has a picture box. The server will send an image to the picture box and the client will display it. I have looked online to find some tutorials but most of them just show how to do a connection and usually only with a console application.

View 3 Replies

Create An UDP Server/Client Application?

Jul 8, 2011

Create an UDP Server/Client Application?

View 3 Replies

Creating A Server Client Application

Jan 21, 2011

First of all, I want to say sorry if this is not a correct forum. I have built several standalone applications up until now. But now I need to create a server client application, the only database is on the server. The application itself is installed on all the client computers but not all of them are granted the same level of access to the database.

[Code]...

View 13 Replies

MultiThread In Client Server Application?

Aug 9, 2009

SERVER
Im using this code:
Imports System.Threading
Imports System.Net.Sockets

[code]....

but when i tried to run the application, it hangs even if i wait several minutes.., is there something wrong with the code..

View 1 Replies

Server Client Interface Application?

Apr 13, 2011

I want to create a server client application in which The server will communicate with the client and give them commands. I did the same in visual basic 6.0 using Winsock component.Now I want it to implement using Visual Basic 2008, how to do it and which component to use.

View 5 Replies







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