Chat / IM

Instant messaging (IM) is a type of online chat that offers real-time text transmission over the Internet. A LAN messenger operates in a similar way over a local area network. More advanced instant messaging can add file transfer, clickable hyperlinks, Voice over IP, or video chat. Non-IM types of chat include multicast transmission, usually referred to as "chat rooms". Depending on the IM protocol, the technical architecture can be peer-to-peer (direct point-to-point transmission) or client-server (a central server retransmits messages from the sender to the communication device).

Share tech news, updates, or what's on your mind.

Sign up to Post

I am trying to build a small web application in ASP.net that texts our employees when we have an urgent message that we need to distribute.  My idea is that someone with the authority to send one of these messages will login, create a message, and send it.  I have been able to send messages successfully if name a single mobile number to a variable, or even when I assign multiple numbers to an array.  Of course I don't want to go to the code to add/remove numbers, so I have a database with the numbers in it.

This is the part that is frustrating me is that I don't know how to get my data from SQL into my application.  The closest I have gotten appears to assign the current location to my array, I am not even sure how that is happening.

[EDIT: the data I am trying to get from SQL is a single column of integers representing phone numbers.]

Here is my code asking SQL for data:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

namespace ProjectASPudemy.Pages
{


    public partial class Comms : Page
    {
        private const string cs = "Data Source=ElRando\\SQLE;Initial Catalog=Inventory;Integrated Security=True";
        private const string sql = "SELECT CellPhone, LastName FROM Employees WHERE CellPhone IS NOT NULL AND CurrentEmployee = 1";
        private const int V = 0;

        protected void Page_Load(object sender, 

Open in new window

0
Introduction to R
LVL 19
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Is there a way to set Microsoft Teams to automatically delete instant messages every 30 days?

Thanks,
cja
0
Hi
I would like to be sending some short messages system (SMS) from Ms Access App to my colleagues for any urgent issue at hand from my laptop, for the URL I have to organize from a service provider for a fee. Now instead of using a modem, I want use REST API, I have to get URL from the service provider. Below is my scant VBA code which I intend to use, also help to complete !

SMS CODE

Private Sub CmdSmsLines_Click()
Dim strURL As String
  Dim neMb As String
  Dim msGe As String
  Dim appIE As Object
  
    Set appIE = CreateObject("InternetExplorer.Application")
    neMb = Me.txtneMb.Value
    msGe = Me.txtmsGe.Value
    
    
    strURL = "http://bhashsms.com/api/XXXXX=success&pass=RRRRR&sender=ZZZZZ=" & neMb & "text=" & msGe & "priority=ndnd&stype = normal"
       
         
   With appIE
        .Navigate strURL
        ' uncomment the line below if you want to watch the code execute, or for debugging
        '.Visible = True
       
    End With
    ' loop until the page finishes loading
    Do While appIE.busy
        DoEvents
    Loop

    appIE.Quit
End Sub

Open in new window

I intend to use two controls as in memo form see below:
cellNumber:
SMSMessages:

Suppose I want to send the message to 4 people at one go, how do I type in the phone numbers in the memo control box SMSMessages: or msGe
0
I am a relatively new user of Facebook Messenger and have some questions about the implications of various options.  I recently had a conversation with a 3rd party (who is not a friend on Facebook) that I would like to permanently delete from both his and my message history.  From what I understand, it is only technically possible to delete messages sent within 10 minutes of the time the message was sent.  This conversation thread lasted several days and is a few days old so this option is not available.  I understand the reason FB limits the time frame to delete messages on both sides - so that there is proof in case of cyber-bullying.  I can assure you that none of the messages are abusive in any way.  There is the potential that the other party could use the messages in an abusive way in the future, which is why I wish to erase it on both sides.  I realize that the other guy could have taken screen shots or other copies of the message string that I would have no control over.  

I found the following posted online and wanted to hear from experienced Messenger users whether or not this would work and what the other guy would see if I followed these steps:

Step 1. Mark all the message I sent him as "Spam" or "Abuse" (leaning towards SPAM).
Step 2. Delete all these messages on Facebook from my side manually.
Step 3. Deactivate my Facebook account through general settings.
Step 4. Reactivate my account after few hours.

Q1) Would this delete the messages I sent from …
0
When a few users from Gmail send messages from my domain they get the attached bounce back, has anyone seen this before?gmail-bounce-back.docx
0
We are having loads of trouble configuring a Site2Site VPN with a pair of Watchguard T35 firewalls.
Neither is configured pretty much outside of the initial setup wizard.
The current site 2 site vpn is stock from the vpn configuration guide from Watchguard.

We tried a number of different configs, but have currently deleted them to restart fresh.
Also we are trying to set the connection to initiate from SiteB to SiteA just to limit randomness, but can set bidirection or SiteA to SiteB as initiator.  Doesn't really matter to us

My theories may be off, so I'll just throw out the logs from each to see what you may think is happening.

Thank you in advance.


Site A
*** WG Diagnostic Report for Gateway "AA-to-TC-Gateway" ***
Created On: Tue Oct 29 09:22:49 2019

[Conclusion]
	Error Messages for Gateway Endpoint #1(name "AA-to-TC-Gateway")
		        Oct 29 09:22:35 2019 ERROR  0x02030015 Message retry timeout. Check the connection between local and remote gateway endpoints.


[Gateway Summary]
	Gateway "AA-to-TC-Gateway" contains "1" gateway endpoint(s). IKE Version is IKEv1.
	  Gateway Endpoint #1 (name "AA-to-TC-Gateway") Enabled
		Mode: Main
		PFS: Disabled 	AlwaysUp: Disabled
		DPD: Enabled 	Keepalive: Disabled
		Local ID<->Remote ID: {IP_ADDR(A.A.A.A) <-> IP_ADDR(B.B.B.B)}
		Local GW_IP<->Remote GW_IP: {A.A.A.A <-> B.B.B.B}
		Outgoing Interface: eth0 (ifIndex=4)
			ifMark=0x10000
			linkStatus=0 (0:unknown, 1:down, 2:up)
		Stored user messages:
		        

Open in new window

0
Hi I have following Error Messages. Any idea what to do?

Install-Module -Name SharePointPnPPowerShellOnline -RequiredVersion 2.4.1605.0
PackageManagement\Install-Package : A Microsoft-signed module named 'SharePointPnPPowerShellOnline' with
version '3.14.1910.1' that was previously installed conflicts with the new module
'SharePointPnPPowerShellOnline' from publisher 'CN=thawte Primary Root CA, OU="(c) 2006 thawte, Inc. - For
authorized use only", OU=Certification Services Division, O="thawte, Inc.", C=US' with version '2.4.1605.0'.
Installing the new module may result in system instability. If you still want to install or update, use
-SkipPublisherCheck parameter.
At C:\Program Files (x86)\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
+ ...          $null = PackageManagement\Install-Package @PSBoundParameters
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-
   Package], Exception
    + FullyQualifiedErrorId : PublishersMismatch,Validate-ModuleAuthenticodeSignature,Microsoft.PowerShell.P
   ackageManagement.Cmdlets.InstallPackage
0
Hi All;

Im having the same error messages when sending data and receiving Json string using RS 232, before I start working on the gadget I want a second eye to  take a look on the code below, please  note the following :

9600 baud is converted to 64 bytes

All the  two codes for sending & receiving as well as for converting received data are called from the main code that has the data for sending since once the data is received by the gadget then the gadget is supposed to send a signature back instantly.

Receiving code


Private Sub CmdTaxReceive_Click()
Dim strData As String
Dim lngStatus As Long
Dim strError As String
Dim intPortID As Integer
' Read maximum of 64 bytes from serial port.
    lngStatus = CommRead(intPortID, strData, 64)

If lngStatus > 0 Then
        ' Process data.
 ElseIf lngStatus < 0 Then
      lngStatus = CommGetError(strError)
      MsgBox "COM Error: " & strError
      Stop
    End If
    
    lngStatus = CommFlush(intPortID)
    
    If lngStatus <> 0 Then
      lngStatus = CommGetError(strError)
      MsgBox "COM Error: " & strError
      Stop
    End If
' Reset modem control lines.
    lngStatus = CommSetLine(intPortID, LINE_RTS, False)
    lngStatus = CommSetLine(intPortID, LINE_DTR, False)
 ' Close communications.
    Call CommClose(intPortID)

End Sub

Open in new window

Sending code


Private Sub CmdSendTax_Click()
Dim intPortID As Integer ' Ex. 1, 2, 3, 4 for COM1 - COM4
    Dim lngStatus As Long
    Dim strError  As String
    Dim strData   As String
    Dim lngSize As Long

    ' Initialize Communications
    lngStatus = CommOpen(intPortID, "COM" & CStr(intPortID), _
        "baud=9600 parity=N data=8 stop=1")
    
    If lngStatus <> 0 Then
    ' Handle error.
        lngStatus = CommGetError(strError)
    MsgBox "COM Error: " & strError
    End If
 
    ' Set modem control lines.
    lngStatus = CommSetLine(intPortID, LINE_RTS, True)
    lngStatus = CommSetLine(intPortID, LINE_DTR, True)

    ' Write data to serial port.
    lngSize = Len(strData)
    lngStatus = CommWrite(intPortID, strData)
    If lngStatus <> lngSize Then
    ' Handle error.
    End If
End Sub

Open in new window



Calling them on the same form but on the main code


Call CmdTaxReceive_Click
Call CmdSendTax_Click
Call CmdEmp_Click

Open in new window



Where do I go wrong????



Auditing-tools.png


Blank-Invoices-Details.png
0
I have a VB.NET 2015 program that has a Tcp socket Listener and client applications to send messages to workers by their ip address.
I need to be able to pick up a file from a directory and send the text files data to a client machine connected to the listener. The file name is the ip address. When the file gets put into the directory is when the listener will pickup the file and send it to the appropriate ip address. I can pickup the file but the message gets sent to all clients connected to the listener.  My code is below.

Imports System.IO
Imports System.Net
Imports System.Net.Sockets
Imports System.Drawing.Size
Imports System.Net.IPAddress
Imports Microsoft.VisualBasic.FileSystem
Imports System.Windows.Forms
Imports System.ComponentModel




Public Class Form1
    Public watchfolder As FileSystemWatcher
    Dim ServerStatus As Boolean = False
    Dim ServerTrying = False
    Dim Server As TcpListener
    Dim Clients As New List(Of TcpClient)

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        CheckForIllegalCrossThreadCalls = False

    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        StartServer()
        'Dim CN_GetData2015 As New CN_GetData2015
        'CN_GetData2015.Show()
        Button3.PerformClick()

    End Sub

    Function StartServer()
        If ServerStatus = False Then
            ServerTrying = True
            Try
                Server = New 

Open in new window

0
A friend sent me a hoax warning not to accept Facebook friend requests from Andrea Wilson. That it could cause trouble:

"Please tell all the contacts in your messenger list not to accept friendship request from Andrea Wilson . She is a hacker and has the system connected to your Facebook account. If one of your contacts accepts it, you will also be hacked, so make sure that all your friends know it. Thanks."


However, two other friends told me it was a hoax and I found two links that SEEM to indicate they're correct:
https://www.hoax-slayer.net/andrea-wilson-friendship-request-hacker-hoax/?fbclid=IwAR0Oyj4C-_VPi5vfOu-2J7-Xy0rzE1439NtB4fzPeZ3FXo6uFIhuHdTk6n0

https://www.snopes.com/fact-check/social-media-hacker-warning/?fbclid=IwAR0UZDeV6OipD7eb2ykB2-Td5wV2SoMYQ4kCGsvbzx_NNt8jEnuNw5lOp5U
(Search on "Andrea")

Based on the below can I rest assured the original msg I received is a hoax? Thanks.
0
Build an E-Commerce Site with Angular 5
LVL 19
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

A friend had a medical event last week and the pastor sent a text message to me and 6 others. I never got the original text asking us to pray for the guy. I only got the reply message sent to the pastor by three of the 6 others. When I go to the message it gives me the pastors phone number and half the phone number of one of the others. I'm not finding a way to see who the others are since if I reply they all will get my messages. i'd like to know who the others are. It's a ZTE phone. There are very tiny icons for each of the 6 people but no access I see to their phone number or name. I don't want to send text to a group of 6 when I don't know who they all are. Any ideas without having to ask who the other 6 are? Because the pastor won't reveal that. We all are in his address book or contact list and he sends out messages that are of interest to all of us. Thanks.
0
We have

)table   in Azure Database
We need
 1) .Net Application which   adds records   to the table
 2) when record is added , the message should be put in  Azure  Queue
3)  .Net application which takes messages from Azure Queue

how to do it the most optimal way ?
 l
0
Hi Experts,

I am running on Windows 10.

I have various Xbox Game Bar popups happening with messages like "Quickly adjust your audio".

How can I stop them?

Regards,
Leigh
0
When I send an email with the following text:

"Individual federal and state income tax returns are generally due by April 15th of the year following the one in which the income was earned. However, partnership (including LLC) and S-corporation returns are due by March 15th"

and open the email in Outlook on my desktop computer, the text appears as above.

When I open the email message on my Apple IPhone 7, the same text appears BUT the words "due by April 15th" and "due by March 15th" appear as hyperlinks.

I do not want any text to appear with a hyperlink.  How can I prevent the Apple IPhone from reformatting the body of the text of my email messages?
0
I have to allow remote connections to this database so their web guy can setup a link into the database to display specific data on their website. I must also add I'm not overly familiar with dealing with SQL databases.

I can remotely connect to the database internally but I have been unable to get this to work externally. Their Firewall is configured to block all SQL connections except those from specific static addresses. I have applied all necessary rules to allow the connection to happen.

When I attempt to connect to the database remotely I seem to get 2 varying error messages, when connecting to just the IP address it says "Login failed for user. (Microsoft SQL Server, Error 18456)" and when connecting to IP\DBname it says "Instance failed (System Data)". Searching online hasn't yielded any results. As far as I can tell all the SQL settings are set to allow remote connections and given they work internally I believe this is correct.

I also receive the following error "A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted) (Microsoft SQL Server)". I can get around that error by going into Options and ticking "Trust server certificate". So I'm not sure whether this error has any relevance to my issue.

I have tried logging in using AD credentials and an SQL user both with full admin rights without …
0
I have a customer that uses MS Outlook for Macs 2011. He has several email accounts that he configured. One of them is a Gmail account, Recently he began getting duplicates of his Gmail messages in Outlook. There are no duplicates at mail.google.com everything looks good there. There is only one Gmail account setup in Outlook. He is not forwarding his messages. Any ideas of where to look for this issue?
0
Experts,

I have a single domain (lets say domain.com) in my O365 tenant. A new web server with the name tools.domain.com has been created. All working well so far.

Now a requirement exists that this webserver that will send unmonitored email (for registrations and mailshots) and it must come from no-reply@tools.domain.com

How can I relay messages through O365 with this subdomain address?

Thanks
0
How do I display my registered user posts from the database using an inner join?

The users table has an id column that in an auto-increment table   - a progressive number each time a person is registered as a user.

The "notices" table has an upload_id incremental column for each notice posted and a "users_id column that holds the id number that corresponds to the registered user.

if (array_key_exists("id",$_POST)) $id = mysqli_real_escape_string($db,$_POST['id']);

$q = "SELECT notices.users_id, notices.description, notices.amount, notices.currency, notices.location, users.email FROM notices INNER JOIN users ON notices.users_id = id WHERE notices.upload_id=$id" ;
    
$r = mysqli_query ($db, $q);

//if (mysqli_num_rows($r) > 0) {

if (mysqli_num_rows($r) == 1) { // Valid user ID, show the form.

	// Get the user's information:
	$row = mysqli_fetch_array ($r, MYSQLI_NUM);
}

// Create the form:
echo '<form action="ContactPoster.php" method="post">

<p>Description: ' . $row[5] . '</p>

<p>Amount: ' . $row[6] . '</p>

<p>Currency: ' . $row[7] . '</p>

<p>Location: ' . $row[8] . '</p>

<input type="hidden" name="toemail" value="'.$row[9].' " >';

?>

 
    <p><strong>Your Name:</strong></p> <p><input type="text" name="name" size="30" maxlength="60" value="<?php if (isset($_POST['name'])) echo $_POST['name']; ?>" /></p>
	
    <p><strong>Your Email Address:</strong> </p> <p><input type="text" name="email" size="30" maxlength="80" value="<?php if 

Open in new window

0
I am looking to form a local group that gets together to have lunch and otherwise interact, on a daily basis.
I am in search of the right tool to facilitate this type of local communication.

My thoughts so far are in this sheet.

https://docs.google.com/spreadsheets/d/14OH97o7dSVa5eC4WXjwHKdzmsJEinQLrVldaqOF-MwE/edit#gid=0

Additional options and your thoughts are greatly appreciated.
0
Python 3 Fundamentals
LVL 19
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

I use an iPhone, but I think this applies to anyone who texts.  I am new to the world of texting, and I find it so annoying when someone sends out a text-blast to a dozen or more "friends" ... then everyone on the text starts responding, and before I know it my phone is buzzing with new (and largely irrelevant) text messages.   I've tried to get off these large text threads, but was told that unless everyone had the same device (I think it's an iPhone, but I'm not sure) there's no way to "leave the conversation".  I would happily buy a third party application to get out of unwanted text streams ... does something like that exist?  Or can the originator of the original text take me off after it's begun?  Or do I just need to live with the annoyance?

Thanks,

Phil
0
Network Inventory getting error messages on computers which are logged in. These errors messages are stating error 996 overlapped i/o event or the service did not respond and can not be audited how would I resolve this issue. The software that I'm using is Alloy Navigator express
0
Hi Experts!

I need your help again;

I have created a form which is now supposed to be displaying the message on behalf of the main form as a modal in place of the traditional Ms Access messages in order to afford an opportunity for the elderly people to see from a distance . The modal form is called frmPosPriceChanges and has a control which is supposed to display the actual change (cash) to be paid back to the customer , now I want this control called txtKwacha from  frmPosPriceChanges to reference the main form control called frmPOSStocksSold!txtAuditedCash so that whatever is on this control called frmPOSStocksSold!txtAuditedCash must be shown also on the floating form (Modal) control called frmPosPriceChanges!txtKwacha. I tried the called below but it is failing :

Private Sub Form_Load()
Screen.ActiveForm!txtKwacha = frmPOSStocksSold!txtAuditedCash
End Sub

Open in new window



The modal form opens automatically through a VBA code whenever there is need to give back some change to the customer. I decided to use this modal form because it gives me room to control the font size and I can also make the content lager in order to accommodate those with poor sight especially those above 60 years.

Your help will be highly appreciated


Regards

Chris
0
I want the messages on the main form to appear on a much bigger form so that I can easily make them bigger than on the current VBA which has small messages which makes difficult for those old people who are using a point of sales software to read. See a sample pop up form.


I will be opening the pop up form by this method DoCmd.OpenForm “frmMessage” through the save button


MessageForm.png
Any idea I want to put may a label on the pop up form call lblMessage

Below is my code which should supply the action message

Private Sub CashReceived_BeforeUpdate(Cancel As Integer)
If Me.CashChange > 0 Then
Beep
MsgBox "Please check you have not received enough cash for the quantities you have sold", vbOKOnly, "Internal Audit Manager"
Cancel = True
Exit Sub
ElseIf Me.txtAuditedCash < 0 Then
Beep
Eval ("MsgBox ('Please note too much collected," & _
"give back the change of " & Format (Me.txtAuditedCash, "Currency") & "." & "Do not forget.@Check again.@@',0,' Internal Audit Manager')")
End If
End Sub

Open in new window

0
0
0

Chat / IM

Instant messaging (IM) is a type of online chat that offers real-time text transmission over the Internet. A LAN messenger operates in a similar way over a local area network. More advanced instant messaging can add file transfer, clickable hyperlinks, Voice over IP, or video chat. Non-IM types of chat include multicast transmission, usually referred to as "chat rooms". Depending on the IM protocol, the technical architecture can be peer-to-peer (direct point-to-point transmission) or client-server (a central server retransmits messages from the sender to the communication device).