Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exe calling another exe or exes
Message
From
12/07/2002 13:59:08
 
 
To
12/07/2002 13:03:55
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00677753
Message ID:
00678184
Views:
19
Well, what was coming in my mind:
1. If you are in the same room, may be sound from speaker is appropriate: try Beep statement (see MSDN for further information);
2. You can add code to call on the phone: add MS Communication control 6.0 (comOne) and CommandButton to the form. Refer MSDN for further information about MSComm control. Here is the code:
private sub cmdDial_Click()
Dim strNumber As String

  strNumber = "123456"  'Replace this with your number
  comOne.CommPort = 1
  comOne.Settings = "9600,N,8,1"
  comOne.PortOpen = True
  comOne.Output = "ATDT" & strNumber & vbCr
  [something other code]
  comOne.PortOpen = False
End Sub
3. If you have PC, office application can link to application on your PC (if there are LAN or Dial-Up connection between PCs) through WinSock control. Use TCP protocol and read MSDN article "Using the WinSock control".

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform