Hi. Can somebody tell me whats wrong with the following line:
VB doesnt like CTypes presence, but I cant refer to btn(2) without casting FMsg.
I tried putting brackets around all of CType(FMsg, frmMsg).btn(2).Move but VB underlined the opening bracket and said "identifier expected" in the task list.
Thanks in advance.
Code:
RaiseEvent CType(FMsg, frmMsg).btn(2).Move
VB doesnt like CTypes presence, but I cant refer to btn(2) without casting FMsg.
I tried putting brackets around all of CType(FMsg, frmMsg).btn(2).Move but VB underlined the opening bracket and said "identifier expected" in the task list.
Thanks in advance.