Network Messenger Needs Improvments And Ideas Please Check It Out
Mar 10, 2011
So I have had some "free" time at work and came across a write up some where on these forums yesterday for a messenger system. I would REALLY like to give credit where credit is due because alot of the source for this was borrowed from the write up on here but I don't remember where the write up is located or who wrote it so please if you have a link to it post it. Thank you again to who ever wrote it. Any how on to this. I have expanded the origional messenger I found on d.i.c to include multi-user "chat" if you will. It is still a basic p2p messanging system because you can only talk to one person at a time but you can speak to multiple people in the same window. So far I have been able to get it to work across our LAN here at the office but am wondering if I can change the text file locations to an FTP some how and make it internet based. I am sorry for the uncommented code as I was in a rush cranking this out but it is fairly simple so you should be able to read through it with ease.[code]
View 2 Replies
ADVERTISEMENT
Feb 14, 2012
And i'm trying to start a Instant Messenger/Social Network like XFire, so I would like to know questions like,How would I get started? I know and like VB but is that too simple, i'm learning C#/C++ also Would I need to host a server?
I would like it be able to do:Instant Messanging A home screen with you to able to launch programs Be able to check if a user is offline or online and what game they are playing A buddy system
View 2 Replies
Mar 20, 2009
on my form i have 2 text boxes. One email the other password. Her eis my code
Private Sub btnLog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLog.Click
If String.IsNullOrEmpty(txtMail.Text) Then
'txtMail is empty
MessageBox.Show("Email is empty", "Error", MessageBoxButtons.OK, _
MessageBoxIcon.Error, MessageBoxDefaultButton.Button1)
[Code]...
How can i make this more efficient. So that txtMail checks for text first then @ then more text then .com or something? i,m sure you know what i mean.and textpassword is more then 2 or three chars?
View 1 Replies
May 16, 2012
As I design my system using VB.NET with SQL Server/T-SQL I'm always struck by what seems to me an obvious gap, namely VB Class Properties. Say I have a table Employee with columns: [code]In VB I might have a class like:[code]So my property SpeaksAForeignLanguage depends on two fields currently. Perhaps someday this will change and more fields or conditions might come into play. THAT'S THE WHOLE REASON for using properties.Now if I need the equivalent of my property in SQL for whatever reason there's no way to do it other than to recode some SELECT statement using the two Knows... columns.
View 1 Replies
Sep 13, 2009
new ideas for graduation project maybe on vb.net or java or any good ideas , maybe a mobile application.
View 1 Replies
Jan 17, 2012
I have a custom user control that inherits asp:Repeater and get's 'initialized' on first run - it finds the children controls (in repeater item template) and creates a SQL table based on a tablename property provided as an attribute on the control. To know not to initialize it again, I simply check for the table (this has issues).
My problem is, tablename property should not be changed after initialization, days or even weeks later.
How can I tie a readonly property and value to a particular control only after initialization?
Sounds pretty tricky, maybe impossible. Out of the box solution?
View 2 Replies
Dec 22, 2009
I'm writing an application that will be used in a mobile environment where network connectivity will be up/down regularly. How do I check to see that a specific network is available?
View 2 Replies
Feb 11, 2010
In my app I have a dialog in which the user can select a database backup location. If want to warn the user if the location he/she selected is "probably not secure".[code]...
How can I get this kind of info about a selected folder? I know about the DriveInfo class, but it only handles drive letter, not UNC
View 3 Replies
Jun 5, 2012
I can't seem to work this out... I've got a program that references a network path. The problem is that the network files are not found when I run the program from various computers. If I have the user navigate to the network path directoy and then run the program it works perfectly.
The problem is that whenever the machine is restarted I run into the same problem and have to manually navigate to that path before the program will be able to find the files.
I then tried several checks to see if the directory exists but it's not working.
Public Sub FillListBox()
If My.Computer.FileSystem.DirectoryExists("\AB eamportalShared%20DocumentsJustin%27s%20AppsFeedback") Then
[Code]....
View 1 Replies
Nov 19, 2011
This is the work of one responder for the most part, and is not indicative of the quality of most of the posts.But you can judge that for yourself.
If you are writing a program that is used to monitor the status of your network, then this thread may not be of interest.
If you are an application programmer that uses network resources to accomplish your goal, i.e. you are using SMTP, FTP, HTTP, NNTP, NTP etc., and you think that you need to check for a connection first, then read on.Follow up to this.Before getting all geeky let's take a little detour...
Five days a week I get up, eat breakfast, check my email, forums, etc., take a shower, get dressed, and then drive to school.Many of you probably have a similar routine.What is interesting about that is not what we do, but what we dont do,because of our expectations and experience.Here is what I dont do.
I dont stick my finger in the electrical socket to see if there is electricity for the coffee maker and toaster.I dont fire up the command prompt and ping some host on the internet to see if I have connectivity.I dont check the battery, tires, water level, clutch fluid level, washer fluid level, etc.,before I drive off.
All of that is based on expectation and experience.So why would you write an application that pings the internet before it did something (SMTP, FTP, HTTP, NNTP, NTP etc)???? Is your experience or expectation that the network will be down?To illustrate and hopefully convince you that, like Oblio, it is pointless, create a new form with three buttons. In the following examples I use a WebRequest / WebResponse as my 'Something'.Here is what some think is a good approach, the classic ping-then-do, what I think you shouldn't do.[code]....What is wrong with this code is that all of the network IO is being done without a Try / Catch block.
View 1 Replies
Sep 25, 2009
What solutions are available in a VBScript (XP and 2003 environment) to check the network connexion (slow/fast)?Something similar to GPO slow network detection.
The customer would like a solution that do not requires to deploy a new executable but that uses an existing object model property accessible from VBS.
View 2 Replies
Jan 1, 2010
I am developing an application, which hunts the local network for attached computers then checks for a share and a file, if found it displays it in a listbox. While testing this I have seen some strange Chinese or Japanese computer names pop up and in a few seconds go away, the names seem to always be different.
View 8 Replies
Oct 18, 2009
I use the following code to layout network drives on a system. I want to add a third column for persistence but in vb.net I do not know how to check if a drive has a persistent map or not.
For Each drive_info As DriveInfo In DriveInfo.GetDrives()
If drive_info.DriveType().ToString = "Network" Then
With maps.Items.Add(drive_info.Name)
[code]......
View 2 Replies
Mar 24, 2010
Since I had some trouble with my Windows Media Player playlists lately, after moving the music from one HDD to another, I decided to try my hand at my own playlist manager / editor. I've got a few ideas that I think may make it very useful, even if it's just for myself (I'm finally starting to worry about organizing my music as it's getting a little crowded now).
[Code]...
View 2 Replies
Nov 29, 2011
I want to execute some code when a network drive is available. Just like our application even have NetworkAvailabilityChanged. I want this to work just like our Application Events.
Private Sub MyApplication_NetworkAvailabilityChanged(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.Devices.NetworkAvailableEventArgs) Handles Me.NetworkAvailabilityChanged
End Sub
Private Sub MyApplication_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
[Code] .....
View 3 Replies
Oct 27, 2010
i need to check if my Computer is connected with an Active Directory Domain or only in a Workgroup. Is this possible?
View 4 Replies
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
Mar 19, 2012
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 ?
View 2 Replies
Mar 22, 2010
how to write such app? Or maybe knows some nice tutorial? I would like to use System.Net.PeerToPeer namespace, but everything I can find about it is MSDN which I can't read without getting mad. Or maybe using "old-school" TCP/IP would more efficient?
View 1 Replies
May 26, 2010
How to get and send messenger on windows Yahoo !
View 2 Replies
Jun 17, 2009
I'm looking to write a notification application where I'd like to provide popup notifications from the taskbar similiar to the ones in MSN Messenger or most other chat programs.
View 4 Replies
Nov 18, 2011
I have a .NET 2.0 *.dll that calls My.Computer.Network.Ping(). The *.dll is then run out of an *.exe via AppDomain.CreateDomain() and Invoke(). The problem is that this works just fine under Windows XP but under Windows 7, I get an exception saying that no network connection is available. I tried the Ping() call out of a small console application under Windows 7 and it works just fine.
[Code]....
View 6 Replies
May 10, 2012
I want to know that is there any API available for Blackberry Messenger or Whatspp for C# or VB.net??
View 1 Replies
Feb 6, 2011
Is there a way to accomplish a messenger of that style:The application has a listbox, a textbox, and a button Every user with the program on his pc can type something in the textbox, press the button and this appears on his listbox but also on every other listbox of people that have opened the program.Is there also a way to get another listbox with the nicknames of the people that are in the program?
View 11 Replies
Jul 14, 2010
i am trying to make a messenger client which will work like alerter or similar, so far i have decided to to make two applications,
1) which will send messenger,(sender)
2) which will accept msg and display a alert to user using msgbox.(receiver)
i have started coding receiver, i am using port 6000 to listen to messenger.so far i have made code to listen to port(open/bind/listen)but now i am not able to figure out how to display messages to user received on that port.
Dim RecieveSocket As Socket
Dim PortListen As Int16 = 6000
Dim address As IPAddress = IPAddress.Parse("0.0.0.0")
Dim endpoint As New IPEndPoint(address, PortListen)
[code]....
View 4 Replies
Jan 24, 2009
In this code why it aint working. This prog should send 2 nudges using windows msn messenger.using vb.net 2008
Imports MessengerAPI
Imports MessengerPrivate
Imports Messenger
Public Class Form1
Public WithEvents Msn As MessengerAPI.Messenger
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal
[CODE]...
View 9 Replies
Oct 4, 2009
how do i set my programe to use the internet for like a messenger?
View 2 Replies
Oct 7, 2009
So I'm trying to code a lan messenger in vb.net 2008, but I cannot figure out a good way to do it, i would love it if someone could work one on one with me to develop the code as I would like to learn from this and not just blindly copy code.
View 4 Replies
Jul 24, 2009
I have instant messenger that I have built its working great with the assistance of a few of you in this great forum..Now I would like to enhance it alittle more and have not been able to get it to work. So here I am asking you out there again for some help. I want each user that logs in to have a different color font for there messages. I believe it would have to go in the recieve messages from server part of the code. Can you please assist with the code and where exactly I would put it. The code below is for the client side there is also a sever side code not provided unless you need it for this project. [code]
View 3 Replies
Sep 5, 2009
Where can I download a working MSN Messenger API or something like that? I've been looking for hours, but I just can't find a download link.
View 2 Replies