15,884,099 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Doug- VisualBasic VB.NET (Top 4 by date)
Doug- VisualBasic VB.NET
7-Jun-22 23:24pm
View
Have you tried to refresh your datagrid after you have added or deleted data?
Doug- VisualBasic VB.NET
27-Jan-20 0:19am
View
I would suggest checking any routers, or the mail server to make sure the IP address from this computers is not being blocked on these ports. I know our network security has done this at times.
Doug- VisualBasic VB.NET
7-Aug-18 12:41pm
View
If I understand you Question, you are working on a peer to peer chat. A centralized system would be easier, however, the way to do this, would be to add, (I have mine prior) a message type code to your data string between clients.
EXAMPLE: if you are current using something like TCP.send("chat message") you would have to add a routine to add and inspect on arrival a code.
dim MSG as string = "Chat Message"
DIM TYP as string = "1"= chat message --- "2" = status request --- 21 = status availible -- 22 = status do not disturb
On a status request, the MSG could be "" on both the request and response.
Dim Payload as string = TYP + "|" + MSG
TCP.SEND (PAYLOAD)
Assign the incoming data to an array using split
check the TYP if status request send back code for current status
if chat message display in local client
The values I have used are only examples, it can be coded with letters or any numbers you want. As long as each client understands all the codes to send and recieve (and what to do with them.
So when a user enters an IP address, the system would send the status request code and receive back the current status.
Using a centralized server (any pc would do) you could have it do real time status.
For the communication I use, I based it on the Winsock_Orcas (available on this site)
There is a good chat server and client example with it, only need to build out the status codeing.
Let me know if you need further clarification.
Doug- VisualBasic VB.NET
7-Aug-18 1:51am
View
In your description field, while you have many spaces, are you positional locations the same? The number of spaces between each of the primary pieces of information?
first space end of Name? 3rd space end of Dimension? Other after that ?
What is the same about every Description field? Anything? Find the commons and find your solution.