Joke Collection Website - Blessing messages - Who can help me talk about the basic principle of vb programming to realize computer short message?

Who can help me talk about the basic principle of vb programming to realize computer short message?

There are two ways:

1, use VB to send data packets to mobile through the network, and mobile will send text messages.

2. Call SMS sending equipment (such as mobile phone or conventional SMS sending equipment) with VB to send SMS.

The first method is standard network programming, and there is nothing to say.

The second method:

With COM commands, each mobile phone supports at least one COM command, and the specific command formats supported can be searched on the mobile phone website (but seriously, these are basically not found on the mobile phone website now, so we can only look for relevant information everywhere, but fortunately, some commands are common to the same brand models). In the past, all the connecting devices were connected through COM ports (COM 1, COM2, etc.). ), and there are specific COM commands to control after the connection. Now there are new connection methods such as infrared, so some programs that support infrared actually convert commands into COM commands and send them to mobile phones.

I haven't seen these for a long time, so I don't have any relevant information (I did before, but it was moldy long ago). Go to Yahoo and find them.

In addition, VB has a special COM programming control, which is the way to select "VB Enterprise Control" when creating a project. This is one of the most controls, and the control named "MSComm" is used for COM communication. You need to learn this control.