Use Multiple Winsocks To Let Program Communicate Over A Network?

Mar 1, 2010

How can i use Multiple winsocks to let my program communicate over a network? if i use more than one. only one of them works?

View 7 Replies


ADVERTISEMENT

Make Two PCs Communicate Via Network Using Server / Client

Jun 22, 2010

I use Microsoft Visual Basic 2008 Express Edition and I am begginer in computer networks. I want to make two PCs communicate via network using server/client I followed the example from this site: [URL] (VB.NET TCP Client/Server Socket Commmunications) When I run the applications server and client in one computer then is possible the client to connect with server.

[Code]...

View 2 Replies

Communicate From Client To Server From Multiple Clients On Multiple Requests In Socket Programming?

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

WPF + Communicate Between Multiple Application Instances?

Mar 20, 2010

I need to grab information between two instances of my WPF app (the contents of a public collection, to be precise).

View 2 Replies

[VS 2005] Service Control Manager Privileges - Communicate With A Windows Service On A Remote Machine On The Network

Jul 23, 2009

I am trying to communicate with a Windows service on a remote machine on the network but i keep getting an exception saying the following: "System.InvalidOperationException: Cannot open Service Control Manager on computer 'machine001'. This operation might require other priviledges. ---> System.ComponentModel.Win32Exception: Access is denied.

[Code]...

View 4 Replies

Communications :: Write A Server That Can Communicate With Multiple Clients Through Tcp/ip?

Feb 10, 2010

I'm new to network programming and i'm trying to write a server that can communicate with multiple clients through tcp/ip, the clients need to communicate with the server to and with the other clients. Currently i've got a client server program that works fine for only one client:

[Code]...

I'll guess to accept multiple clients i have to create some clienthandler class at server side, but i have no idea which code it has to contain, i've already spend hours searching on google but didn't find anything usefull. Can somebody help me with this ?

View 1 Replies

Communicate To Telnet In Program?

Jan 27, 2010

How to send commands to a telnet session and then read the output from the telnet session?

I can easily create a Telnet session using something like this[code]...

View 2 Replies

VB 8 Program To Communicate With RS232?

Aug 31, 2009

I chose Visual Basic 8 as a computer interface to communicate through RS232 (serial) to my microcontroller, which in turn will do its own thing to transmit data it receives from the VB GUI through wireless

I have used VB before but it's been a long time. I looked at some of the settings and it looks like it has a SerialPort com component I can use. Will it suffice for this project?Might be a simple question, but just want some tips from experienced developers.

View 11 Replies

Communicate Between Command Prompt And Program?

Jan 2, 2010

I wanted to make a vb.net version of this trick used to hide files in pictures: [URL]

In my mind I have to use an open file dialog box to do this.

View 3 Replies

Communicate With Another Program / Process On The PC Without Using Files?

Jun 21, 2010

I was wondering about something: is there a way to communicate with another program/process on the PC without using files? What would this look like? Is there a search term I can use to get more info? This is not a vb.net question per se, but a general software question.

View 3 Replies

Wireless Barcode Terminal Program - Communicate

Nov 28, 2009

I have a wireless handheld Barcode terminal that is running Windows CE 4,1 .net
And i use a Program that is called Mamut Enterprise E4. I am also using VB 2008 to try to code in. how to communicate?

View 9 Replies

Html5 - Make Web Browser Control Communicate With Program

May 29, 2012

What I am looking for here is a way to possibly click a button inside a web browser control and have it call a sub from inside the program or have the program react to something on the page. I am trying to make a HTML5 GUI for my application. I don't really want use any 3rd party API's to handle commands from a HTML5 interface but if I can find another alternative that would be good. But if there is no other way I would be content with using a 3rd party API.

View 1 Replies

VS 2010 Windows Service Communicate With Independent Program

Mar 2, 2011

I have created a Windows service that acts as a server for my app on a mobile platform. Whenever a user sends a message to my app I process it . Now i Would like to send the message that the user sent to my server to an application. Something like SendMessage would be absolutely perfect But how do you fit a whole class into the Wparam and Lparam 's of a window message ?

View 1 Replies

VS 2008 Network App - Send Message Or Network Package To Some Of The Clients In The Network

Aug 18, 2009

Here is my idea so far: I have a bunch of computers connected in a local network. One of them is a MySQL server, one will have a vb.NET program wich will act as a "second server" and the rest will be different clients. What I want to do is that the "second server" will send out some kind of message or network package to some of the clients in the network, and they will execute a code based on what message it is, or what kind of package it is. I'll give you a simple example:

[Code]...

View 6 Replies

Access 2003 Network With Multiple Users

Apr 30, 2012

I know my Question was asked maybe 10000 times before, but i really did not take the chance to search the forum coz i really short of time.
I have *.mdb DataBase with 20 tables each table have more than 10 fields, i'm trying to automate the MDB file from a network like that 5 PCS + One vb.net exe program (5 users) working on the same time on the exe that is connected to the database , my questions are :

1) How much risk is it to put the database into one (shared) folder and connect it to the program ?

2) What is the best way to establish this method ?

3) Is there any alternatives ?

View 4 Replies

C# - Disable Multiple Network Connections, Only Allow One Simultaneously?

Feb 17, 2011

We are looking to design a security application that does the following on laptops:If the ethernet adapter is used (cable plugged in) disable/block all other network connections (wireless WIFI, mobile broadband (PPP), virtual VPN adapters etc)When ethernet adapter is not being used again, all connections allowed.We have looked in the WMI a lot but there are no good ways of doing this. Only disabling the network connection is not secure enough because most mobile broadband applications try to re-establish the connection. This should be an application that works on all laptop vendors without any user interaction (such as choosing interfaces etc..).

View 3 Replies

Possible To Have An Access Back-end Database Available For Multiple Users On The Same Network?

Nov 5, 2011

I am developing a Visual Basic .NET application to be used by the staff of a small training centre nearby. The front-end (UI, menus, etc.) will all be in VB .NET, and there will be a back-end database for storing all of the required data, such as student records and meeting information. What I would like to know is if it's possible to use a Microsoft Access database for this purpose, and have it accessible by all the staff in the centre (on the same network) at the same time. For example, would I be able to put the database in a shared network folder, and have a copy of the VB application on each PC that would all be able to read/edit/add to the database?

View 2 Replies

Is It Alright For Multiple People Running .net App That Is Stored Under Same Network Directory

May 4, 2012

There is a .Net executable (with a group of DLL's etc) that up to 100 people will be using simulatiously during the course of the day. Is it still acceptable/good practice to have all the users just have a shortcut to the network path for this executable? Or would it be better to copy the .exe, .dll's, etc locally to each users machine?

View 2 Replies

Convert Single Instance Program To Network "Multi-Seat" Program

Apr 26, 2012

I have developed some programs for processing and issue-coding electronic documents. I am teaching myself how to work with SQL Server because I want these programs to work with electronic documents imported into SQL Server as opposed to messing around in a folder stuck on the desktop, for example. From there I want to expand on the program so that it is a network enabled program.

[Code]...

View 1 Replies

Run A Program From A Network?

Apr 9, 2010

I have my program that runs from a workstation and the SQL DB is on the SERVER.I am having a lot of problem with it as the VB.NET program wont refresh the dataset.I would like to test the same by putting the SQL DB on a network drive, and run the program from another workstation.Just to narrow down the problem.My Question is this. I install the SQL DB on machine A and then install my program on Machine B?

What should I do to get Machine B to access the SQL DB on Machine A.Will sharing the SQL FOLDER be good enough for my program to access the DB of course, I have to modify the connection string on my program, but other that is there anything more to be done.

View 2 Replies

Deployment :: Vb Dot Net Program Can Not Run From Network?

Oct 16, 2009

My Vb Dot Net Program Can Not Run From Network. When i try to register my program to GAC,it said my assembly dont have strong key,

i cannot put strong key, because i put component vb6 to my program..

View 2 Replies

Share A Program On Network?

Sep 8, 2009

I have written small a software. I want to install it on a server and and make it accessible for all the other users on network.

How can I retrieve the server name (the computer program installed) with .NET?

Also, sharing the "Program Files" folder doesn't look like a smart idea for making the program accessible from the other computers.

View 2 Replies

Connect Program Via Network To Database

Feb 7, 2010

I make my Program to Connect via Network to Database..[code]

View 5 Replies

Deployment :: Allow Dot Net Program To Run From Network Without Strong Key?

Nov 1, 2009

how to allow dot net program to run from network without strong key ? since i have program put on network, ussually i put strong key on that assembly, and it can work and run from network this program.. but there is some component com object that make me to cannot compile if i put my stong key, so i compile it without stong key, but it came i cannot run this program from my network..

View 5 Replies

Detect Network Failure In Program?

Sep 29, 2009

How to handle the Network failure error message,and how to simulate it?

View 3 Replies

Disable Network Adapter Using Program?

Jul 12, 2011

How can i do about disabling a network adapter using VB.NET.

View 1 Replies

Getting A Local Network Chat Program?

Aug 26, 2011

I need a program that can send and receive msgs to everyone that's on that program and on that network, then is there a way to add chat rooms to the program 2. I looked all around the Internet and MSDN and found a lot of results but non worked property.

View 6 Replies

How To Make A Network Monitoring Program

Jun 6, 2010

I'm sorry if this is in the wrong section but I don't know where else to post.I am new to vb.net and would like to tackle it head on.I would like to know how to make a network moitoring tool thatwould check who is on the network. I cant find any tutorials.

View 2 Replies

Program To Talk To A Network Switch?

Dec 21, 2011

I am not new to programming but have little experience and am trying to learn VB 2010.
We have HP Procurve network switches and I know that with a telnet application I can login to the switch and it will tell me which MAC address is connected to which switch port. Im trying to write a computer inventory program to track my computers and it would be really cool if I could figure out how to determine which computer is plugged into which port on the switch. Problem is that I have no idea how to go about doing that.

Is this anything anyone has tried before or does anyone know how to go about doing it?
Ive been hunting on line but havent found anything useful so far and thought Id ask here in the off chance someone knows what Im talking about.

View 4 Replies

Communications :: Program Stalling On Network Reading?

Oct 8, 2008

I am playing with network sockets as I need to work on a client-server application. So I have tried this simple code from VS help:

Code:
Dim tcpClient As New TcpClient()

'The following line do not belongs to original code 'But I needed to add it as debugger told me that 'I couldnt getStream from closed sockets

tcpClient.Connect("127.0.0.1", 8000)
Dim netStream As NetworkStream = tcpClient.GetStream()
If netStream.CanWrite Then

[code]....

So, I supposed that the code above would write the message to the loopback IP (127.0.0.1), it would be kept in the network buffer and would be spited out when it readed the same loopback IP. However, when it gets the line whre it should read the stream, the program just stalls and keep reading it forever. I have tested the stream with as if it was just awaiting for something to read. I have tested the stream with getStream.DataAvailable and it returned me False, what makes me guess that the data is NOT being properly written to the IP.

Firstly I thought that it could be something with the loopback IP, then I tried to provide the machine local IP (192.168.2.25) but I got the same behavior: code stalls...

View 5 Replies







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