Idle Banter For non SV and non bike related chat (and the odd bit of humour - but if any post isn't suitable it'll get deleted real quick).![]() |
![]() |
|
Thread Tools |
![]() |
#1 |
The Sick Man
Mega Poster
Join Date: Nov 2004
Location: Peckham.SE.LDN
Posts: 4,768
|
![]()
Has anyone done any work with VB6 + Skype.
I am trying to attach the Skype4COM API but its not working. Any ideas. Im not brill at VB6, just trying to make a dinky app.
__________________
OTR: KTM 690 Duke R 2015 Full Akro SIDELINE: Kwak ZX636 A1P 2002, Red, R&G's, Yoshi, Double Bubble Screen GONE: Kwak ZX-7R P1, Full Akro, Undertray, Screen GONE: SV650S K2 Very Bruised & Without Fairing, Motovation Frame Sliders, R&G Ally Sprocket Toe Protector, HEL 2 Line Setup, GSXR K1 600 RWU Forks, Barnett Clutch & Springs, Penske 8981 Shock, Gilles Ti Rearsets, Steel Barends, Scottoiler, AFAM Chain & Sprockets, Twin FIAMM Horns, Skidmarx Bellypan, Full Micron Zeta Steel System, Cut down undertay. Forum Problems & Information / Site Suggestions |
![]() |
![]() |
![]() |
#2 | ||
The Sick Man
Mega Poster
Join Date: Nov 2004
Location: Peckham.SE.LDN
Posts: 4,768
|
![]() Quote:
__________________
OTR: KTM 690 Duke R 2015 Full Akro SIDELINE: Kwak ZX636 A1P 2002, Red, R&G's, Yoshi, Double Bubble Screen GONE: Kwak ZX-7R P1, Full Akro, Undertray, Screen GONE: SV650S K2 Very Bruised & Without Fairing, Motovation Frame Sliders, R&G Ally Sprocket Toe Protector, HEL 2 Line Setup, GSXR K1 600 RWU Forks, Barnett Clutch & Springs, Penske 8981 Shock, Gilles Ti Rearsets, Steel Barends, Scottoiler, AFAM Chain & Sprockets, Twin FIAMM Horns, Skidmarx Bellypan, Full Micron Zeta Steel System, Cut down undertay. Forum Problems & Information / Site Suggestions |
||
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
![]()
VB6 is ****. It's very old.
|
![]() |
![]() |
#4 |
The Sick Man
Mega Poster
Join Date: Nov 2004
Location: Peckham.SE.LDN
Posts: 4,768
|
![]()
Yeh we have old apps that i alone cant convert.
__________________
OTR: KTM 690 Duke R 2015 Full Akro SIDELINE: Kwak ZX636 A1P 2002, Red, R&G's, Yoshi, Double Bubble Screen GONE: Kwak ZX-7R P1, Full Akro, Undertray, Screen GONE: SV650S K2 Very Bruised & Without Fairing, Motovation Frame Sliders, R&G Ally Sprocket Toe Protector, HEL 2 Line Setup, GSXR K1 600 RWU Forks, Barnett Clutch & Springs, Penske 8981 Shock, Gilles Ti Rearsets, Steel Barends, Scottoiler, AFAM Chain & Sprockets, Twin FIAMM Horns, Skidmarx Bellypan, Full Micron Zeta Steel System, Cut down undertay. Forum Problems & Information / Site Suggestions |
![]() |
![]() |
![]() |
#5 |
Guest
Posts: n/a
|
![]()
Not sure if you ONLY want to attach, but I figure if you're wanting to attach, you'll be wanting to do other stuff later. Apologies if I'm showing you how to suck an egg. Attach() happens in Form_Load below:
Code:
Public WithEvents Skype1 As SKYPE4COMLib.Skype Public SkypeCall As SKYPE4COMLib.Call Public CommandId As Integer Private Sub CallButton_Click() Set SkypeCall = Skype1.PlaceCall("echo123") End Sub Private Sub Form_Load() Set Skype1 = New SKYPE4COMLib.Skype Skype1.Attach (5) CommandId = 1 End Sub Private Sub StartRecordingButton_Click() CommandId = CommandId + 1 Dim CommandText As String CommandText = "ALTER CALL " & SkypeCall.Id & " SET_OUTPUT FILE=" & Chr$(34) & "C:\skype.wav" & Chr$(34) Dim CommandObj Set CommandObj = Skype1.Command(CommandId, CommandText) Skype1.SendCommand (CommandObj) End Sub Private Sub StopRecordingButton_Click() CommandId = CommandId + 1 Dim CommandText As String CommandText = "ALTER CALL " & SkypeCall.Id & " SET_OUTPUT" Dim CommandObj Set CommandObj = Skype1.Command(CommandId, CommandText) Skype1.SendCommand (CommandObj) End Sub Private Sub Skype1_Command(ByVal pCommand As SKYPE4COMLib.ICommand) Debug.Print "C>" & pCommand.Command End Sub Private Sub Skype1_Reply(ByVal pCommand As SKYPE4COMLib.ICommand) Debug.Print "R>" & pCommand.Reply End Sub HTH |
![]() |
![]() |
#6 |
The Sick Man
Mega Poster
Join Date: Nov 2004
Location: Peckham.SE.LDN
Posts: 4,768
|
![]()
Cool all done now.
I could not get the recording part of your code to work but would have been brill if it did, anyway what i needed to work is now working.
__________________
OTR: KTM 690 Duke R 2015 Full Akro SIDELINE: Kwak ZX636 A1P 2002, Red, R&G's, Yoshi, Double Bubble Screen GONE: Kwak ZX-7R P1, Full Akro, Undertray, Screen GONE: SV650S K2 Very Bruised & Without Fairing, Motovation Frame Sliders, R&G Ally Sprocket Toe Protector, HEL 2 Line Setup, GSXR K1 600 RWU Forks, Barnett Clutch & Springs, Penske 8981 Shock, Gilles Ti Rearsets, Steel Barends, Scottoiler, AFAM Chain & Sprockets, Twin FIAMM Horns, Skidmarx Bellypan, Full Micron Zeta Steel System, Cut down undertay. Forum Problems & Information / Site Suggestions |
![]() |
![]() |
![]() |
#7 | ||
Guest
Posts: n/a
|
![]() Quote:
that said, we're still using it for one part of our system, time/cost/imminent large changes to our system mean upgrading isn't worthwhile... |
||
![]() |
![]() |
#8 | |
Guest
Posts: n/a
|
![]() Quote:
![]() |
|
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Skype help... | plowsie | Idle Banter | 5 | 21-02-08 08:40 PM |
Skype do you have it or an equivalent? | Stig | Idle Banter | 13 | 04-02-08 11:45 AM |
Skype | gettin2dizzy | Idle Banter | 0 | 31-10-07 03:35 PM |
Anyone using Skype? | Nekkid | Idle Banter | 4 | 18-08-07 03:51 PM |
Skype who has it? | Stig | Idle Banter | 16 | 01-07-05 10:16 AM |