VS 2010 Cllient Server Program?
Apr 16, 2012
I am trying to build a client/server program but not knowing where to start. Someone told me i need to use winsock.1. What is winsock?2. How do i get it? can i have a link to download it? or is it already in vs?
View 6 Replies
ADVERTISEMENT
May 24, 2012
I'm trying to make a Client that will automatically run a .DLL that I have created and send information over port 80 to my Server program that will take that data and import it into a database for me. Problem is, I don't know where to start as I have never done this before. I want to do this in VB .NET as this is the programming language that I know. What are methods of doing this? Is there sample code out there for something like this? My google searches are failing me.
A better layout of what I'm trying to do:1. Client Runs .DLL, retrieving information from an Excel file.2. Client takes these properties with the data it contains and sends it to a program outside of the local network through port 80, my boss refuses to let me use any other port.3. Server accepts the data and builds its own properties to be imported into my Access Database.4. Repeat over, and over, and over, and over.
I plan for the server application to be a console application, and the client to be a windows form.
View 1 Replies
Jun 9, 2012
Is it possible to open up Server Explorer from within a compiled program. I would like to give certain users the ability to open up the database tables and view and possibly even amend data within them.
View 3 Replies
Aug 10, 2009
Multi-User Chat Program (Server & Client) with Main Server?
View 1 Replies
Oct 26, 2011
I made a simple TCP server (I've found the example on the web) in VB to receive data from about 40 TCP clients.The clients are not synchronized but sends data about every 18 minutes; the problem is sometimes several clients sends data at the same moment, so I can't receive data.I also made a second program that reads the data (server program writes data on a file, read from the second program) scheduled.
My question is this: I've seen on the web examples about Multithreaded Server Socket Program, so I suppose this could manage my 40 clients (but now the clients are syncronized and send data at the same time in client mode) or is better get data (I have a central client that asks data to all 40 devices in server mode)?
Second question: can I make a single program where I run both TCP client and TCP server at the same time?
View 1 Replies
Aug 18, 2010
I am creating a very simple Voting System, that will be use on electing new set of officer in a teacher cooperative...
So I have to create two separate program, a Server Program that will manage all the information in the election and a Client Program where voters will vote their selected candidate...
The election officers wanted that the Server Program will display the Voting Results at real time... So when the Voter finished voting, The Voting Result displayed by the Server Program will also be updated every time the Client Program Insert the data to Database....
An action listener in Server Program that will execute if new data is inserted in a Table in the Database made by the Client Program...
View 11 Replies
May 5, 2012
is it possible by 1 program to save settings to another program without running the program that is being edited?
View 6 Replies
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
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
Apr 20, 2012
With a Windows form that I would like to be a DDE server. I know that DDE is not natively supported in VS 2010/11 so I'm using the NDde.dll to add DDE functionality to this program.
Objective: Create a windows form to act as a Pop-up notification that has a textbox field. This textbox field must be selectable in order for users to copy a text string to the clipboard and paste into another program that does not support DDE.
Overview: A phone system has an on-screen agent program that triggers a pop-up form, the DDE Server, when an incomming call is presented. When the agent accepts the call the agent program, acting as a DDE Client, registers a DDE session, Application=phnserver and Topic=callerid. Then communicates an "OnExecute" command to the DDE Server followed by a number string. This string should be presented on the pop-up form in a text box. Once the call is completed the agent application will issue a command to close the pop-up form.
Below is my current code.
CODE:
View 2 Replies
Dec 5, 2010
posted again but this time its regarding both the webclient and the web reuqest giving me this error :S
View 1 Replies
Jun 6, 2012
I wrote this VB program to be able to throw a device we developed into programming mode where we use an ATMEL Flip installer to upload new firmware. I can program one device after another running the application off of Visual Studio Express 2010 or Visual Studio 2010, but when I go to publish this file and run it on another machine, it becomes unstable and crashes after each upload. On those same computers if I run the raw unpackaged program under Visual Studio Express, the system does not crash, and I can program devices repeatedly.
View 5 Replies
Sep 26, 2011
I've been working on a program that generates a batch file, then when you press a button, it executes that batch file. There are multiple batch files attached to each item in the list box.
[code]...
The only thing that it does when I press the button, is starts the batch file, then goes to function searchtitle, which executes the batch file again when it finds out it didn't work properly.The button text doesn't change, none of the items are being added to my first list box, and I can't do anything to the window after pressing the button. It constantly opens the batch file every 5 seconds or so.
View 2 Replies
Aug 9, 2011
I have recently found some code online for a chat application that allows multiple users to connect and talk to one another using a basic server, however I want to build on that and make an IRC like program that will allow me to have multiple channels (eg.Sports, Music, Gaming) etc. I was wondering if anyone could give me a hand because I have been playing with this for about two weeks now and I still havnt been able to figure it out.
The server code is:
Imports System.Net.Sockets
Imports System.Text
Module Module1
[code]....
View 2 Replies
Apr 14, 2011
The program allows users to insert Documents along with a bunch of their attributes into the program. The documents are stored in a relational database. One of the required functionalities is allowing the user to look for such documents. The User normally search directly for the obvious attributes of the document, like a unique ID, or it's Title. The problem is that from the search parameters is not allways known which ones will the user fill. For example the user inserts the name and version of the deocument, another time the user enters part of the Title and the person that delivered the document, or might just enter the document number and nothing else. Some of the data might even be incomplete, like title, name of the person who created the document and so on. The idea from the person who designed the system (I'm only reimplementing it) was to allow easier searches for the user, and allowing the user to search for more parameters tod with the idea that "the more parameters, the more specific results", since the results are always group of documents instead of single documents.
View 14 Replies
Jan 28, 2009
My program will need to store some settings for when the program gets closed then opened again. I would then like to reload the settings?
- Flat file
- Database
- Registry
- Other
View 1 Replies
May 18, 2010
I'm trying to connect to a SQL server from VB. The SQL server is across the network uses my windows login for authentication.[code]...
View 5 Replies
Apr 23, 2010
How we can delete any row in vb.net through sql server
View 2 Replies
Oct 16, 2009
When I try to run a program I've written from a network drive on a windows server 2008 machine it always gives me: Open File - Security Warning The publisher could not be verified. Are you sure you want to run this software? Unknown Publisher This file does not have a valid digital signature that verifies it's publisher.... I need this message gone.
View 2 Replies
Jun 8, 2011
i want to learn this kind of program.. and this are my problems:
1. i dont know how to connect my vb.net program to sql server?? can you help me.
2. how can i call my fingerprint scanner to my vb.net program.
3. how can i input the time eveytime the employee's touch the scanner ( log-=in and log out)
View 11 Replies
Dec 25, 2010
I'm a starting programmer, and for school I need to make a project.We need to make mastermind in VB.net.I already have one part of the task, (make it work singleplayer)but, we must make it possible to run the program with a sort of server, so 2 people can play witch each-other.I've worked hard on my multiplayer game, but if I want to startup my multiplayer I receive some strange message:url...The zip contains the server(we got that from our teachers), and my project.
View 2 Replies
Jan 31, 2012
I do have a program that uses MS SQL Server as database. The problem is that when the fire wall of the server is on, I can't connect on the server. But when i turn it off, it works! This is the connection string I'm using:
myCN.ConnectionString = "Integrated Security=SSPI; Persist Security Info=False; Initial Catalog=BIOMETRICS; Data Source=SERVER"
myCN is a SQLConnection...Please if can help me with regards on this problem.
View 1 Replies
Mar 11, 2009
I have copied some code from the MS website which should run a DTS. The code runs without error and the event messages are as expected. But the DTS does not actually run. I can return information from the DTS such as the description and step name, but the exeution is not actioned.[code]...
View 2 Replies
Jan 2, 2010
I have been working on a server and client tcp/ip program and am having some issues. I start the server and then start the client, and the connection always fails. I don't know what's going wrong. Here's the
Server:
Imports System.Net
Imports System.Net.Sockets
Imports System.IO
[Code]...
View 2 Replies
Dec 20, 2009
Im writing a program that does some general network stuff
i need to set a dns server for the program/current sub "not for the current host pc"
something along the lines of
system.net.dns.setdnsserver = (myspecifiedip)
View 3 Replies
Jan 23, 2012
Back up my entire database using vb.net. I'm using SQL Server 2008 R2 for my DB.
View 39 Replies
Jan 17, 2010
I am using this connection string to connect to my database and still it won't connect[code]....
View 3 Replies
Dec 16, 2010
I am trying to write a program that has a server/listener program and then 2 client programs, the 2 client programs are supposed to be able to chat with each other. Can anyone point me in the right direction on this?
View 4 Replies
Apr 16, 2011
how can i make claint/server program without winsocet
View 1 Replies
Mar 15, 2009
How to create a Screen server Program...i also want to update the information on the same time also..
View 2 Replies