Sending Messages Between Client Machines On A Network?

Mar 15, 2012

i have several clients on a LAN network, these clients all have access to a particular sql server. i want to write an application that allows any client on the network to send one or more messages to another client on the network providing that both clients have access to the specified sql server.

View 1 Replies


ADVERTISEMENT

.net - Formatting And Sending Client Messages, Use Of XxxService Classes?

Jun 21, 2011

Need some advice on class design. I've just started to use xxxService classes, so not really sure when and how to use them. A number of (identical) client applications connect to this program with socket TcpClient. Different type of messages needs to be sent from several different classes. Should I call a service class, with static methods, whenever I need to send some message (like code below suggests), or should I rather raise an event, and have some class registered to those events, that will format and send the messages.

That would kind of hide that sequence of events from these classes, but on the other hand, it would be a centralized class where one can see easily all events that trigger a message send. Which feels like a benefit. Would like to hear some advice on this. And if my last suggestion makes sense, what could such class be called, and would it be considered a ..Service class?

Example: (code is a bit "rough")
Class UserConnection
tcpClient As TcpClient
Public Sub SendMsg(msg as String)

[code]....

View 1 Replies

Connect Client Machines With Sql Server Machines?

Dec 7, 2011

How to connect client machines with sql server machines ?Vb.Net as front end.

View 8 Replies

Deploying On Client Machines / Particularly .NET Component

Oct 1, 2009

This question is about deploying a VB6 application that uses an interop component created in VB.NET, specifically, a .NET dll.Using Regasm.exe, I was able to create a .tlb and use it on the dev machine to add a reference to the VB6 project, but how do I go about deploying on client machines, particularly the .NET component?

View 6 Replies

Run On Client Machines From Central Server

Jun 11, 2011

I have created an application using ODBC data sources.it runs on a local machine well. but i want it to run on client machines from central server. the following is the code that i use:[code]where cleaners is a data source i have manually created in ODBC data sources.and then uses the connection for inserting,deleting and so on.can somebody help me with a code that can enable it access the remote machine.

View 1 Replies

Connect To Oracle 10g Server From Client Machines?

Mar 9, 2010

I have installed Oracle 10g in one of my office's computer. I want to keep this as database server. I am developing a .net project which will communicate with the database server from client machine and from the server machine. I success to communicate with oracle from server machine but not from client machine using the .net project. The connection code is as follows:

Public OraConn As ADODB.Connection
OraConn = New ADODB.Connection
OraConn.Provider = "OraOLEDB.Oracle"

[code].....

View 1 Replies

Dll - In .net Application AxWindowsMediaPlayer Does Not Work On Client Machines?

Jan 23, 2011

I have added COM control AxWindowsMediaPlayer to form in vb.net.and just have following code

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
WMPlayerVideo.URL = "abase.mp4"
End Sub
End Class

abase.mp4 file is kept in directory where exe is there. Every thing runs fine on dev m/c but on client machine application is not lauached.When Interop.WMPLib.dll and Interop.WMPLib.dll are copied to the exe file directory then application is lauched at least but file is not played automatically and even on pressing play button its not played.Is some dll registration required to make it work? or some references needed in project?or some changes on user machine?

View 1 Replies

Error In Some Client Machines With Microsoft.mshtml

Jun 7, 2009

I have a .NET application which is using the Microsoft.mshtml PIA. It frequently experienced exceptions with a message saying that the Microsoft.mshtml assembly or one of its dependencies is missing. Weirdly enough, this happens on some machines, but works fine on others! (actually, it works fine on the majority of machines)

[Code]...

View 1 Replies

Design A Report Request From Client Machines To Be Run On An Available Server?

Sep 29, 2009

I have a vb.net 2.0 winforms project that is full of all kinds of business reports (generated with Excel interop calls) that can be run "on-demand". Some of these reports filter through lots of data and take a long time to run - especially on our older machines around the office.I'd like to have a system where a report request can be made from the client machines, some listener sees it, locates a server with low-load, runs the report on that server, and emails the result to the user that requested it

View 2 Replies

Deploying Winforms Application To Client Machines Failing On Start

May 5, 2012

This is a VB .NET 4.0 WinForms application. There is a mysql data-source involved with this project. The target CPU is set to any. Problem: When running this application on any computer that has VS 2010 installed along with the mysql connector it runs flawlessly. When installing on a virgin system(ie. No developer environment installed) but that machine does have .net framework 4.0 installed and a mysql server without the connector installed the application falls immediately. So to fix the issue I install the mysql connector MSI.

This immediately fixes the issue on the client system and it runs. The problems is that as you can see below from my Installer setup that the 2 needed DLL files for MYSQL are actually included in the installation package so should not need to be installed separately. So Why is it that using that installer from the images do I need to install the mysql connector? Any Ideas?

Below is a screen shot of the References the program uses and from what I believe I do not need to deploy any of those DLL files with my application other than the 2 MYSQL DLL files. So why is this failing? Below are images showing the project references as well as the Installer Files that are being installed in the application folder. As shown in the image the 2 mysql dll files are to be put in the application folder. There is also a screen shot showing each dll's properties for in application folder.

View 1 Replies

Sending Messages From 1 Computer To Another?

Dec 9, 2011

I am trying to add functionality to an existing program that can send a message from a Windows XP and Windows 7 computer to a group of computers that are running XP and Windows 7. Previously I was doing this with Net Send but as we are no purchasing
Windows 7 machines when we need to replace old computers, that is no longer an option.

I would prefer to have the message appear as a popup on the receiving computers as this is for calling for assistance from a supervisor or the QC department and they will not have to send a response.

View 3 Replies

Sending Messages Through The MSN Protocol?

Apr 18, 2009

I'm working on a program that detects any keyboard or mouse activity, and sends a message through the MSN (or Windows Live Messenger) protocol. The mouse and keyboard thing should be fine, but I don't know how to send messages through the MSN protocol.

View 3 Replies

Sending Messages To Other Computers?

Mar 14, 2009

I was Wondering How Would I I Make A Program or a port That will connect with my friends computer...and I can send Him Like message box and stuff..

View 1 Replies

Sending Multiple SMS Messages?

Jan 5, 2009

I have made a app that allows me to keep track of when bills are due, it allows 8 bills and dates to be entered and once the time hits a specified time of day and the day that the bill is due it sends a text message to my phone, it works fine if only one of them are enable but if 2 are due the same day it seems to only send the first on that completes the if statement i made heres my code, the timer is set for ever 1 second tick (otherwise it sends multiple texts of the same bill due) This is the first 2 of the bills but the other 6 are the same

Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Dim mto As String

[Code].....

View 2 Replies

Sending SMS Messages Via Email

Sep 5, 2011

A little while back, someone asked the question "How can I send an SMS text message via a VB program?", and it's not the first time that I've seen this asked. I thought, as a little side project (mainly just to get my head away from 'real work' for a while). Of course there are several ways this can be done, including the use of a GSM modem, but this only focuses on one aspect: Sending an SMS message via e-mail.
Rather than clogging this forum with a lot of code and screenshots, I've put it all together on my site.

View 4 Replies

Communications :: Sending Messages In VB 2008?

Jan 15, 2009

I'm in a programming class, and I need to make a game. Is there an easy way I can send messages, like "w" or "down", between 2 computers so I can have a multiplayer game?

View 1 Replies

Communications :: Sending Messages To Lan Computers

Aug 22, 2008

I was woundering if it is possible to send messages over network to a lan computer . if it is possible does anyone have the code to make this possible

View 2 Replies

IDE :: Sending Messages To Other Applications On The Same Computer

Dec 5, 2009

I was looking for an easy way to send Messages to other Applications on the same computer. Something simple like "SendMessage("MySecondApplication",WMI_USERS,"MESSAGE").

View 1 Replies

Networking - Sending Messages With TCPClient

Oct 29, 2011

I'm realizing a .NET chat application but i still have that error: I can send only a message per connection. For example. With the code below, i can send only one message that can be received correctly by the other peer, but if i send another message message, on the same connection,it won't be received by the remote PC. Here is the code:

[Code]...

View 1 Replies

Sending /receiving SMS Messages From Vb2008?

Mar 11, 2009

All,I am trying to implement something so that my VB can be able to send/receive SMS messages to cell phone(modem). I tried researching a bit and found out that we can use MsComm control to do this but it is not available in Visual Basic express 2008 edition. Can we use serial port class to do this? If yes, how could we implement this?

View 2 Replies

Only Messages Can Be Sent From Server To Client

Oct 7, 2011

I want to develop an application on below conditions.

1) I will have the database of all the systems on the network.

2) Only messages can be sent from Server to client.

3) When a message is received on client it should give a poup like our antivirus/ tool tip like thing.

4) This application should run on all the systems in background and in task-bar with an icon. PBL

View 2 Replies

Chat Room - Sending Messages To Specific Clients?

Nov 19, 2009

How would I create a multi-tcp chat room. Im having trouble handling them. I know you can store the connections as arrays or store then in hash tables. Is there a better way to data to a specific connected client. My way was to just broadcast the message to all the connected with the clients name (EX: Client1||MessageHere) || is the split. The client reads the message and sees if client name matches if it does then it will display it other then that it will not. I found out that my server was sending out useless data with this method. So is there a better way to handle/Send messages to a specific client?

View 2 Replies

Forms :: Sending Bulk Messages To Yahoo Answers?

Jun 28, 2010

I'd like to create one as I am an affiliate marketer who wants to reach customers based on key words. I don't regard this as spamming since I'm not randomly sending out links its based on key words like I said. Y!A might regard this as spamming anyways but so what. In Yahoo Answers you click the question you want to answer, type in the answer, it takes you to a preview screen, and then you click submit. I suppose the script/program could involve automating this task.

Its not that I need everything to be done when I'm away from the computer, I don't mind working the program at all each time I send a mass amount of messages. Someone created a program a while back that was *supposed* to send bulk messages as they stated in the description but as it turned out this was not an option you could only comment on resolved questions. When I did send mass comments to questions which related to my key words, I clicked the link to confirm my comments went through and they did not! This program was a waste of my time and energy but that's life.

View 1 Replies

Sample Code For Sending Text Messages To Pagers In C#?

Mar 4, 2010

I'm looking for some sample .NET code that would show how to send text messages to pagers. I have no problem with sending text messages to cell phones, but could not find how to do the same for pagers.

View 1 Replies

Sending Text Messages Using 2005 With A Mail Server?

Apr 15, 2009

I've been working on this personal project of mine and this has me stumped. I told my friend what i was trying to do and hes going to let me use his mail server that he uses at work. I have already looked on google for a sample application, but the only one i could find is not the one im looking for. Ive never worked with System.Net.Mail before so this is new to me. Im sure it would be something like this:

Imports System.Net.Mail
Dim toPhoneNumber As String = "DestinationPhoneNumber";
Dim login As String =

[code].....

View 2 Replies

OP3 Client To Connect To Gmail And Download Messages

May 10, 2012

I am using Peter Huber's POP3 client to connect to gmail and download messages.The inboxes being accessed are transactional inboxes used only for code-access. That is, a message comes in with a order file attached, code will process it and then delete the message. One stipulation of the code though was a DEBUG flag, which if set would prevent the code from deleting the message so that you can run the program again later without the debug flag and reprocess the message. So, in my code I have If Not Arguments.Debug Then pop.DeleteEmail(eid)

This works fine. Problem is, even when not deleting the message, running the program a second time will not re-retrieve the message, even though if I login to gmail and look at the inbox, it is still there. The only way I can get the program to see the message again is to forward the message back to the same inbox. But in Peter's code I do not see anywhere where he is keeping track of seen messages between sessions.

Is this something that is done on gmail's end? Refusing to deliver a message to the same client a second time? If so, is there any way I can change my gmail account so that it will always show all messages in the inbox to a client when retrieving the list of messages, even ones already "seen"? I don't see anything in the gmail settings screen.adding a method to send a RSET command to the server, as per this comment on the codeproject page.

View 1 Replies

Updateable String - Make It Read All The Messages That The Server Is Sending?

Dec 14, 2010

Quote:

Dim conReader As New StreamReader(con.GetStream)
Dim conCont As String = conReader.ReadLine

It just reads the first line of the server I'm trying to connect to, I want to make it read all the messages that the server is sending. btw, con is: Dim con As New TcpClient

View 8 Replies

Deploying Winforms Application To Client Machines Application Failing On Start?

Jul 2, 2009

Deploying Winforms Application to Client Machines Application Failing on start

View 8 Replies

Make A LAN IM Client Using The Net Send Command - Intercept Messages From Windows Messenger Service

Jun 5, 2009

I'm trying to make a LAN IM client using the net send command and I was wondering if there is any way to capture the text of the messages received through net send and display them in a label.

View 6 Replies

Sending Data To Another Form In A Network ?

Jul 30, 2010

How i can send data from one form to another form through a network? i'm not asking for the codes, i just want to know what i should do to accomplish this task. i'm conceptualizing a game with the following details:

1.) there are two players, connected through a network
2.) they take turns looking for words from a puzzle of randomized letters
3.) after the given time has elapsed their words are checked and if both players has the same word, the word is removed
4.) the score is tallied

My question is, how do i get the words from the other form? specifically, how can the server form get the words from the client form? is it possible if i use xml? or can the server form access the variables of the client form? (i don't think it can, though)

View 4 Replies







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