I try to lear VB & IRtrans ethernet device.
Some questions:
C:\Program Files\IRTrans\Sourcecode\VBClient
and file: IR.vbp
How can I tell program where pioneer.rem (sample of file at the bottom of this message) file is?
What is right location of those files?
(C:\Program Files\IRTrans\remotes ? )
(I cannot use none of my .rem files with VB)
ReadRemote App.Path & "\" & "Remote.irm", cmdMode(Index).tag
What is App.Path?
In remote.irm file I put:
[MAIN]
[FRMPIX]400,300
[SEP]0,45 [END]500,45
[MOD]10,20 [SIZE]40,25[PANEL]pioneer
[END]
[pioneer]
[FRMPIX]460,280
[LBL]10,250 [SIZE]300,30[TEXT]Pioneer
[SLED]15
[POS]10,50 [SIZE]100,30[TEXT]Vol - [REMOTE]pioneer [COMMAND]vol-
[POS]120,50 [SIZE]100,30[TEXT]Vol + [REMOTE]pioneer [COMMAND]vol+
and next lesson:
C:\Program Files\IRTrans\APIs\Active-X\Sample
and file: OCXDemo.vbp
in OCXDemo.vbp there is IRTrans1_RemoteList
what I must put here?
Private Sub IRTrans1_RemoteList(count As Integer)
End Sub
Is this OK?
Private Sub cmdVolUp_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button <> 1 Then Exit Sub
DoSend "pioneer", "vol+"
End Sub
And one more:
In C:\Program Files\IRTrans\Sourcecode\VBClient there is form: frmSendFree.frm.
and one place:
Public Sub FillRemoteCombo()
Dim i As Integer
txtRemote.Clear
For i = 0 To RemoteCount - 1
txtRemote.AddItem (Trim(RemoteDB(i).name))
Next i
End Sub
Where is this Remote database? (RemoteDB)
How can I move/convert my .rem files to database?
pioneer.rem file:
[REMOTE]
[NAME]pioneer
[TIMING]
[0][N]3[1]8520 4176[2]608 440[3]608 1520[RC]131[RP]89[FREQ]38[SB][RS]
[1][N]6[1]528 472[2]632 424[3]608 1496[4]584 1592[5]8528 4176[6]600 25176[RC]1[RP]0[FREQ]38
[2][N]5[1]552 448[2]504 1624[3]600 1552[4]8512 4192[5]600 25176[RC]1[RP]0[FREQ]38
[3][N]4[1]560 448[2]608 1568[3]8520 4176[4]640 25136[RC]131[RP]178[FREQ]38
[4][N]5[1]520 456[2]616 440[3]576 1544[4]8528 4176[5]584 25144[RC]1[RP]0[FREQ]38
[COMMANDS]
[on][T]0[D]S101001010101101001011000101001110
[off][T]0[D]S101001010101101011011000001001110
[vol+][T]0[D]S101001010101101001010000101011110
[vol-][T]0[D]S101001010101101011010000001011110
[ps3-audio][T]1[D]430300203030330300003111223302330543030020303032030000300033330333054303003030303303000030003333033300
[digibox-audio][T]2[D]320200202020220202020000202022220432020020202022020202000020202222043202002020202202020200002020222100
[loudnes][T]0[D]S101001010101101000100010110111010
[systemsetup][T]3[D]21010010101011010110110010010011032101001010101101001101011100101000
[arrow-up][T]0[D]S101001010101101000000001111111100
[arrow-down][T]0[D]S101001010101101010000001011111100
[arrow-left][T]0[D]S101001010101101011000001001111100
[arrow-right][T]0[D]S101001010101101001000001101111100
[enter][T]0[D]S101001010101101000100001110111100
[mute][T]0[D]S101001010101101001001000101101110
[dimmer][T]3[D]21010010101011010011010101001010132101001010101101001100000100111110
.......
Thanks for your response