Documente Academic
Documente Profesional
Documente Cultură
ABSTRACT : VB6 CODE TO OPEN ALL SMS FROM GSM MOBILE TO A GRID
COMPONENT : lynxgrid control ,logiccode sms component(trial)
Option Explicit
Global port1 As String
Global brate1 As String
Global dbit1 As String
Global par1 As String
Global stp1 As String
Global flo1 As Integer
Global tm As Double
Global objSMS As lcgsmSMS.GSMSMS
Global datapath1 As String
Option Explicit
Global port1 As String
Global brate1 As String
Global dbit1 As String
Global par1 As String
Global stp1 As String
Global flo1 As Integer
Global tm As Double
Global objSMS As lcgsmSMS.GSMSMS
Global datapath1 As String
With LynxGrid1
.EditTrigger = lgEnterKey Or lgMouseClick
.Redraw = False
.AddColumn "SL.", 800, lgAlignLeftCenter
.AddColumn "Message", 5000, lgAlignLeftCenter, , , , True
.AddColumn "time", 1700, lgAlignLeftCenter
.AddColumn "SMSC", 1600, lgAlignLeftCenter
.Redraw = True
End With
For i = 0 To 9
LynxGrid1.AddItem
LynxGrid1.Redraw = False
LynxGrid1.CellText(i, 0) = "" & i + 1
LynxGrid1.CellText(i, 1) = "" & objSMS.InboxMessage(i + 1)
LynxGrid1.CellText(i, 2) = "" & objSMS.InboxTime(i + 1)
LynxGrid1.CellText(i, 3) = "" & objSMS.InboxSMSC(i + 1)
LynxGrid1.Redraw = True
Next i