hello guys, can any1 help with this error? i searh through all the website and i still cannot find a cure to it.
i have a picture and this is a form_load of it
Private Sub Form_Load()
Picture1.FillColor = Form1.BackColor
Picture1.FillStyle = 0
prevX = 0
End Sub
and a RFID form_load
Private Sub Form_Load()
With MSComm1
'make sure the serial port is not open (by this program)
If .PortOpen Then .PortOpen = False
'set the active serial port
.CommPort = 3
'set the badurate,parity,databits,stopbits for the connection
.Settings = "9600,N,8,1"
'set the DRT and RTS flags
.DTREnable = True
.RTSEnable = True
'enable the oncomm event for every reveived character
.RThreshold = 1
'disable the oncomm event for send characters
.SThreshold = 0
'open the serial port
.PortOpen = True
End With 'MSComm1
With Text12
'set the properties for the displaying textbox
.BackColor = &HFFFF00
.Locked = True
.Text = ""
End With 'Text12
With Text13
'set the properties for the 'send' textbox
.BackColor = &HFFFF00
.TabIndex = 0
.Text = ""
End With 'Text13
With Command3
'set the properties for the 'send' command button
.Caption = "&Send"
.Default = True
.TabIndex = 1
End With 'Command1
End Sub
how can i let this 2 form load work together ? is there anyway to fix or combine it together ?
please help me guys!
Thanks !!