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


ADVERTISEMENT

Use Tapi To Check A Modem Is Busy?

Mar 22, 2010

I am trying to determine if a modem is busy. I have tried using serial ports which from what i can see just tells me that something is tied to a port or not. It does not tell me if the modem is busy.

My overall question is How do can I determine if a modem is busy? For an added bonus, also is there a way to tell what device is using a particullar port?

View 1 Replies

Determine If The Modem That Is Being Used By The FaxServer Is Busy?

Mar 18, 2010

I wrote a fax program that is using Microsoft FaxServer and FaxDocument on a windows 7 machine. I want to be able to check if the modem that the FaxServer is using is busy. I maybe busy for whatever reason (in use by another program, receiving or sending faxes, whatever). What currently happens, is if the modem is busy, the fax is sent to the Windows Queue and waits for the modem to get done. I don't want that to happen. So before sending I want to check if the modem is in use. I have a couple of things I have already done. But I am having issue tying them together.

I can get a list of ports for the computer and I can get the faxserver devices. But I would like to be able to do something like... take the faxserver device it is using(Com1, Com2, Com3...Whatever) and I want to check if it is free.

[Code]...

View 1 Replies

Cannot Check If Excel Component Is Busy Throght VB

Jun 19, 2009

I am writing VB code , in which I am trying to open the excel application through GetObject. But when user trying to enter data into excel sheet simultaneously, then system error generated due to component busy. How can I detect if Excel is busy??

View 1 Replies

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

IDE :: Make The Call (outgoing) From Pc To Phone And Check The Status Of The Phone(phone Availability). Whether Its Switched Off,busy Or Not?

Oct 4, 2011

Details : I have the MultiModem (MT5656ZDX) . I wrote visual basic application for making the call using 'MakeCallAsynch(txtPhoneNumber.Text)' function. Also i have the callback event handler for get the line status and write the log. But my tapi call is not going the status except DAILING,PROCEDING,CONNECTED,DISCONNECTED and IDLE. Its not showing the line busy, phone swithed off status. Please guide me regarding this.

My event handler

Friend Sub LineProcHandler(ByVal hDevice As Long, _
ByVal dwMsg As Long, _
ByVal dwParam1 As Long, _

[code]....

View 10 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

Check On Serial Ports Is "breaking" USB Modem?

May 31, 2011

I am using the following code to enumerate through com ports to determine if the attached modems are in use.When I get to my usb modem, it returns the correct "PostIsAvailable" status, but then it kind of locks up the modem and I get the following error when I try to manually query the modem I get: "The modem failed to respond. Make sure it is properly connected and turned on. If it is an internal modem, or is connected, verify that the interupt for the port is properly set."I either have to manually requery the modem or unplug/plug it again.This code works fine on my external serial modem, but not the USB modem.

Public Function PortIsAvailable(ByVal port As String) As Boolean
Dim TempPort As New SerialPort
TempPort.PortName = port [code]......

View 5 Replies

VS 2005 How To End A Thread That's Busy

Jul 6, 2011

I have a client program I wrote that waits for TCP communications. I found that when it was waiting, the form became unusable. I did some reading and learned about threading. Now it works great. Now I came to the point where I need to stop the program.. this is basically what I have:

[code]...

I figured I'd use the quit option to set the bool to false that the thread will see then do the proper closeout. However, it doesn't seem to work. After banging my head against the code, hehe, I realized that the thread is hung waiting for a client on the "AcceptTcpClient()" line.. so it's never getting a chance to evaluate SystemRunning.Is that an accurate assumption of the problem? If so, how does one deal with it?Also, I surmised that I probably should put my "end" statement at the end of the thread to be closed rather than my quit sub. I was afraid the marker boolean for the thread would get set and then the quit sub would immediately trigger "end" before the thread had a chance to close out. Is that also correct, or doesn't it matter?

View 4 Replies

Access WebBrowser Control When It Is Busy?

Aug 17, 2009

How can I access data that WebBroswer1.navigate function is downloading from a website, while it is downloading it? If I access it once it has finished downloading it through the WebBrowser1_DocumentCompleted function, it only slows down my program, since it has to wait for the website to finish downloading to the control before I can access it.

View 2 Replies

IDE :: Microsoft Visual Studio Is Busy?

Jun 29, 2011

Windows 7; Visual Studio 2010; Visual Basic; Home UserQuite frequently during Visual Basic debugging Visual Studio hangs and requests that a notification be sent to Microsoft regarding the issue.I tried the links in response to

View 1 Replies

Suppressing Event Handling When Busy In .net?

Feb 24, 2012

I have a form with several buttons on it and when the user presses one of the buttons it begins a lengthy process (takes up to several seconds). What I want to happen is that any subsequent button presses that occur on any other button on the form are ignored until the process is complete from the initial button press. What actually happens is that subsequent button presses go into a queue and are executed in sequence as the processes for each complete. What I mean is, if each button executes a function that takes 2 seconds and I hit 5 buttons very quickly (in less than 2 seconds say) it leads to a sequence of events that takes 10 seconds.... what I want to happen is for it to lead to only the FIRST button press occurring and taking the 2 seconds that it's activated function takes.

I am writing software that interfaces with hardware through a USB to UART converter and am using virtual COM ports and timing is critical. I want something to occur ONLY when I press a button, not seconds later after being queued up and waiting for a previous operation to finish.

View 4 Replies

Busy Box / Form - Statement Takes Between 10 An 20 Seconds?

Dec 11, 2009

In my new application i have to process a SQL statement.Depending on the settings , the statement takes between 10 an 20 seconds.is there a possibility to display a second from / dialog / popup for this time?

View 5 Replies

Show Animated Gif During Busy Process Or Loading?

Feb 10, 2009

Im trying to show animated gif during busy process or loading. but it isn;t working rite. the gif stops to animate when loading instead and animates only when no loading is n progress. what i have done is to show formB from the formA. i load the gif into the picbox in formA and crete a new thread which will be opening another formB.

dim loadThread As Threading.Thread
LoadingGif()
loadThread = New Threading.Thread(AddressOf loadingForm)
loadThread.Start(formB)

but the gif doesn;t move at all unless another form is displayed.

View 3 Replies

How To Add Progress Bar In .net (2005/2008) To Show The Application Is Busy

Nov 9, 2009

I working on a project wherein i need to merge 2 or more files. but while the program is running or doing the specified descripted job. it seems to be standing still, which may confuse the user that application is not working or not responding. so i want to add a progress bar or anything related to show that the application is still running. can someone explain or tell me how to add this in my program. can you explain me with a simple program or something.

View 1 Replies

IDE :: VB Express 2010 Compiler Hangs (Showing Busy)

Dec 6, 2011

When I try to build a project, vb hangs and displays this message in the notification area
Microsoft Visual Basic Express 2010 is Busy. I have to end up using Task Manager to end the process. I have been using VB Express for about a year and have never had this problem. i have tried to re-install VB 2010 express, no joy. I even built a Hello World app, still no joy. This is really stopping all my VB work.

View 1 Replies

Implementing Timer States(Available,Busy,Away Etc) In A Chat Application ?

Nov 30, 2010

I am currently developing a chat application and am trying to include:

Various states, like MSN does, available, busy and away.If the user doesn't touch the keyboard for one minute, the state of the user isto be changed into Away.Or something similar to these.I also need the program to be able to play a sound while running.

View 1 Replies

Connection Is Busy With Results For Other Command Source: Microsoft OLE DB Provider For SQL Server

May 21, 2010

I use the following code in a webservice to fill a SQL 2008 database.

[Code]...

View 2 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

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

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

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







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