Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I change a windows setting with code or script?

Status
Not open for further replies.

tedsmith

Programmer
Nov 23, 2000
1,762
AU
Does anyone know how to, in Visual basic code or a script thingy, do the same action as clicking on the tick boxes that sets either "No caller access" or "Allow caller access" in the Windows Dial-Up Server dialog box in My Computer, Dial up Networking, Connections.
I have a remote computer at an information kiosk that normally has "allow caller access" so that I can update info from a remote head office. It is normally 'listening'.
When someone touches the screen I want him to be able to use the modem and line to dial out and talk to a real person on the end of a telephone via the audio feature of the modem using a small loudspeaker phone and normal AT commands.
It all works either as one or the other but the VB coms says the port is in use unless I switch the allow caller access off manually before using the telephone.
I want to be able to change this function in code or by some other method.
Is there some sort of script language like an old dos.bat that could be run from a shell or an API that would do it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top