dog_peace
asked on
Transfer a character via modem by mscomm
Hi
I want to write a programm in VB that send several character for example("ali") via modem
in Binary mode(inputmode=Binary) and receive this charrecter in other Pc.
How can send data in Binary modewith mscomm.
please send me source code.
thanks.
I want to write a programm in VB that send several character for example("ali") via modem
in Binary mode(inputmode=Binary) and receive this charrecter in other Pc.
How can send data in Binary modewith mscomm.
please send me source code.
thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
to define a byte array
Dim mybyte(1 To 3) As Byte
now transmit it as
mscomm1.output mybyte
Dim mybyte(1 To 3) As Byte
now transmit it as
mscomm1.output mybyte
ASKER
I don't know how can define a byte Array and assign the byte array. I define a String variable
and send for example "a" to another pc and my variable in other pc(Receiver) is string .but I don' receive "a" .I receive this character "?" . my Inputmode=Binary.
If possible for you send me example that how can define a byte Array variable and take it in mscomm1.output.
when I want send a file how can this work?
Good Luck