How To Talk To A Modem

Jan 26, 2009

I'm a novice and after toying with some basic ideas on how to talk to a modem with VB.net, I think there may be much more to it than I realize. (?) I know my modem is fine, I can use hyperterminal to call out on it with no problem.So, how involved is it to talk to a modem? My initial thinking was that I could simply talk to it via a serial port using AT commands sent and rcvd as a string.(?)My modem is set up with COM2 9600 8n1.I've setup a serial port with the same parameters in my code.

View 13 Replies


ADVERTISEMENT

Call A Remote Modem Using A Local Modem Connected Via USB?

Oct 12, 2011

I am attempting to call a remote modem using a local modem connected via USB. Programming language is VB.NET and I am using the SerialPort control to talk to the modem.

Communication is as follows:

I send: ATZ0[CR]

Modem responds: ATZ0[CR][CR][LF]OK[CR][LF]

I then try to dial a number:

I send: ATDTnnnnnnnnnn[CR] where nnnnnnnnnn is a valid number

The modem responds with:ATDTnnnnnnnnnn[CR][CR][LF]ERROR[CR][LF]

All other commands seem to work without any issues

For info the modem is a MultiTech MT5634ZBA-USB-V92

If I use hyperterminal and type the same commands in it works as expected and dials the number, so it must be something I am doing in my code, possible some setup in the SerialPort control

View 5 Replies

Streaming Video Through Modem To Modem?

Oct 27, 2009

(from scratch as I've not done this before) how I can stream live through modem-to-modem connection. The modem here refers to dial-up modem (PSTN modem), there is no internet/lan involved.It will be 2 programs, the first is to transmit real-time video from webcam, and the second is to remote video from the first.

View 5 Replies

Create A 2 Applications That Can Talk To Each Other?

Feb 17, 2012

Im needing to create a 2 applications that can talk to each other. One wil run on a server as the server application and others will run on workstations as clients. I want them to connect to the server app much like a chat program would work. I want to be able to send commands from the server to the workstations such as reboot, open this file, things like that. I also would like to be able to send the commands backwards to the server if needed as well. i think a chat program could be modified to do this by "watching" the message and if the word "reboot" comes through then the server/workstation would convert that to a command.

View 9 Replies

Make Two Applications Talk To Each Other?

Jan 18, 2010

I use several different applications for analysis of pupil data. Each of these applications require similar or identical data but because they don't draw their information from the same sources there is often a need to enter this data more than once which obviously is a waste of time. Some of the data is accessed through the intranet via IE, other applications are standard Windows apps. I would like to create some sort of bridging application to allow data to be automatically shifted from one location to another but have no idea how to use one application to control another

With regard to getting data from the intranet, I have managed to write an application that can retrieve some (but not all) data off a particular page of HTML. It does this by searching the source HTML but some of the data that appears on the page isn't present in the source file. This is very frustrating because I can see it in the browser but can't seem to access it through my application.

View 4 Replies

VS 2008 VB Apps Talk To Each Other?

Aug 22, 2009

What I want to produce is a form with about 20 text box's on it that are linked to a timer. That is easy, what isn't easy for me is how to get the data in a loaded form from access to another VB app. (timer form will be limited to one instance)

I have an access database which copies a string to clipboard and then opens a vb app. I have a button on that app which captures the clipboard text and moves it to an empty field starting a timer (lots of fields, keeps searching till it finds an empty field).What I want to know is: can access talk to a vb form that is already loaded and start a function?ORIf access can't talk directly to a vb app, can vb apps talk to each other and swap data (not just keystroke macros eithre)?

I can get access to copy text to the clipboard, launch a VB program that grabs the text in the clipboard and starts a timer, but can I get that VB app to talk to a second application?EDIT: I should add that VB doesn't need to talk to any tables in access, just what is in the clipboard.

EDIT: Tried to make 2 instances of the same app talk to each other using my.settings but it didn't work.
Could I make them talk to each other through a file other than my.settings file OR make the my.settings file absolute regardless of how many instances?

View 4 Replies

Program To Talk To A Network Switch?

Dec 21, 2011

I am not new to programming but have little experience and am trying to learn VB 2010.
We have HP Procurve network switches and I know that with a telnet application I can login to the switch and it will tell me which MAC address is connected to which switch port. Im trying to write a computer inventory program to track my computers and it would be really cool if I could figure out how to determine which computer is plugged into which port on the switch. Problem is that I have no idea how to go about doing that.

Is this anything anyone has tried before or does anyone know how to go about doing it?
Ive been hunting on line but havent found anything useful so far and thought Id ask here in the off chance someone knows what Im talking about.

View 4 Replies

Talk To USB HID Device Using 2010 In A 64bit App

Jun 28, 2011

I have a USB HID temperature sensor. I am trying to communicate with it using VB.NET 2010 in a 64bit app I am writting. I had some code mcHID.dll that works, but it is a 32bit app and I don't want to change my whole app just for this dll.

View 7 Replies

Use A Web Service To Talk To An Active Directory?

Mar 6, 2009

Alright, I'm currently trying to use a Web Service to talk to an Active Directory. I've spent hours scourging the net and can't find a solution to this.The current password is Testing1234

And I want to change it to Complete9876 But I get this error message:

System.Runtime.InteropServices.COMException (0x800708C5): The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. (Exception from HRESULT: 0x800708C5) obviously, this makes little sense, since the password does indeed meet the requirements. Here's the

[Code]...

View 7 Replies

VS 2008 Using PrincipalContext To Talk To AD For Un/pw Validation?

Jan 12, 2012

This code works perfectly on my users WEB SERVER - which is in the domain of that system...

Dim domainContext As PrincipalContext _
= New PrincipalContext(ContextType.Domain, "domainname", "DC=domainname; DC=morexxx; DC=moreyyy")

[code].....

View 3 Replies

[2008] Talk To Practicount With OLE Access

Feb 22, 2009

I've downloaded this word counting application that says I can use it from my own app Here's some of the doc PractiCount and Invoice Enterprise OLE Automation Interface Top Previous Next Programmer's Guide to PractiCount and Invoice Enterprise OLE Automation Interface PractiCount and Invoice Enterprise Edition includes OLE Automation interface to access its internal objects and structures and to control counting and report generation from your programs.

[Code]...

View 2 Replies

Talk To A Byte-type Named Pipe Server?

May 22, 2011

I am writing a VB.net client to write to and read from a named pipe in byte transmission mode.I learned from the MSDN article that CallNamedPipe() only works for message-type named pipes.

So do I have other choices, or do I have to change the pipe server code to message type.

View 1 Replies

Call Using GSM Modem?

Mar 28, 2009

I am developing Sms Project in vb.net.I can Send and receive Sms Easily. I can attented Incoming call and dial. but not hearing and talk. I connected with com Port. This is possible or not for talking and hearing

View 2 Replies

Comunication With Fax Modem?

Dec 20, 2010

where can I find an information/learn how to comunicate with fax modem to create something very simple for fax sending?

View 1 Replies

Name Of Port Associated With Modem?

May 11, 2011

I am using a 3rd party communication component and it is able to tell me the names of installed modems. Given the modem name, I need the com port associated with that modem (so that I can set the modem baud rate directly through the serial port). I also need a way to determine if that port is already in use.

View 4 Replies

Receive Msg From GSM Modem?

Nov 5, 2009

Imports System
Imports System.IO.Ports
Public Class Form1

[code].....

View 3 Replies

Receive SMS Using GSM Modem?

Sep 15, 2009

I am working on a program to poll SMSes automatically, i am using the serialPort_DataReceived event to detect any SMSes coming through the serialPort

Private Sub serialPort_DataReceived( _
ByVal sender As Object, _
ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) _
Handles serialPort.DataReceived

but the message i received does not contains the full information, may i know that if there is any other received data event that can be used to receive data coming through the serial port which can better receive data from a gsm modem?

View 13 Replies

Send SMS Using Modem?

May 11, 2012

I am trying to implement automated sms(Short Msg ) system.I implemented sms receiving part.but I could't send a sms as reply.

View 5 Replies

Sending Sms Using Gsm Modem?

Mar 12, 2009

i,ve been searching for sending sms code using gsm modem,but i still coudn't find..is there anybody can give me the code or suitable link for me to get sample code?hope got reply as soon as possible because my due date for my project is 2 weeks to go.

View 4 Replies

Usb Modem Controlled By VB

Jan 26, 2012

We are having problem regarding on controlling the broadband with the use of visual basic. We need to transfer data from gsm to usb modem, and the usb modem will read the said data, and transfer it to a data base. Can the visual basic help us regarding our problem?

View 1 Replies

Check If A Modem Is Busy?

Mar 9, 2010

I have created a program using FaxServer and FaxDocument. I want to know if there is a way to determine programically if the modem is busy? Busy in terms of it could be sending/receiving a fax or another program is using it. I just need to know if its in use.

View 5 Replies

Dialing A Voice Modem?

Oct 2, 2010

I need to develop a simple application. That is, with a click of a button, it will call a telephone number through a voice modem.I'm using MS Visual Basic 2010 Express Edition.I refer to this link : [URL]I tried it, by changing phone number and my COM port. I added System as reference too.Unfortunately, it's not doing any good.

View 7 Replies

How To Parse Sms Message From Gsm Modem

Feb 13, 2012

im having a problem parsing this message from textbox, this is actually sms message from sim i read it from textbox

ex. "+CMGR: "REC UNREAD","SMARTLoa",,"12/02/13,17:13:22+32"
13Feb 17:22: 09212363053 Load Wallet Balance: P1055.57. Ref:540018216951"

i want to parse this message and put in the mysql table,

sender = field 1
SMARTLoa
message = field 2
13Feb 17:22: 09212363053 Load Wallet Balance: P1055.57. Ref:540018216951
time/date = field 3
12/02/13,17:13:22+32

View 2 Replies

Make Modem Communication?

Aug 22, 2009

Our project requires machine A to communicate to machine B using modem. For example, machine A will call machine B, issue commands and machine B sends the results back. Also we want machine B to transfer files to machine A if there is something to send.

View 14 Replies

Manage GSM Modem Response?

Aug 10, 2011

I'm creating a small program in Visual Basic, using Visual Studio 2010, which communicates with a GSM modem via serial port.The connection works, I can even communicate properly with the modem and I can also send sms and mms .. But I can not handle the modem answers ... I'll explain:If I send a command like AT + CSQ modem replies with + CSQ 22.0. This command gives me the value of the signal as a response on a scale of 0-30 ... I can see on the screen (in a dedicated console) but I would like to manage the response in the sense that I would do something like that

IF (answer.text = "+CSQ 22,0") Then
label1.text = "Good"
ELSE
label1.text = "Bad"
END IF

View 1 Replies

Read Result Of GSM Modem?

Jul 21, 2009

Read Result Of GSM Modem?[code]....

View 1 Replies

Send Sms Via GPRS Modem With .net?

Jul 7, 2009

I need to send sms via GPRS Modem with vb.net

View 2 Replies

Send SMS Via GSM Modem From .net Application?

Jan 6, 2011

I want to send SMS Via GSM Modem from vb.net application I write code But it is not working .

Here is Code below :

Public Class Form1
Private SMSEngine As SMSCOMMS
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[code].....

View 1 Replies

Sends AT Commands To Modem And VB

Feb 9, 2011

i use Telit Ez 10 ( GM862 ) GSM modem. I tried to write simple program that sends AT Commands to modem and see the responds to these commnads. But it does not work. tp correct the VB code.

M[Code]...

View 2 Replies

Using .net To Connect To Gsm Modem Via Serialport?

Apr 7, 2011

I am doing a sms project using VB .net to connect to my gsm modem via serialport. All the connection and everything was working great and I can send and receive sms. Then here come a problem, I need to send long sms more than 160 chars. I read and did some research and I know that I need to use the pdu and udh. I managed to understand slightly of the pdu packet but is still quite confuse on that part.

Anyone can briefly explain the exact way to do the concatented sms (long sms)?Another problem is how can I use vb to encode the data into pdu gsm 7bit data? Is there any built in functions or do i need to write them myself?

View 1 Replies







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