Casio IT-2000W Technical Reference Manual page 242

Casio pda technical reference manual
Table of Contents

Advertisement

Example
This is an example of using the DoFlinkForVB function to transmit the "C:
file on the source side so that it overwrites the "C:
side .
/* Code in VB */
Dim sht As Integer
Dim hWnd1 As Long
Dim hInst As Long
ReDim Strz(3) As String
hInst = GetModuleHandle("flink.exe")
sht = InitFLink(Form1.hWnd, hInst)
Strz(0) = "fl"
Strz(1) = "/s"
Strz(2) = "c:
Strz(3) = "c:
sht = DoFLinkForVB(4, Strz())
Commands and options specified by the input parameters
The following is a list of commands to be passed to the DoFLink function as parameters. Basically,
only one command can be sent at a time. However, any command can be added with the IrDA or
RS-232C communication parameters.
File transmission
File reception
File append
File deletion
File move
Idle start
IrDA communication setup
RS-232C communication setup
Example
Input parameter setup examples

File transmission
int
char*

File append
int
char*


test
temp.c"


check
"
Command
/L={,,,,,,}
/Y={,,,,,,}
argc
= 4;
argv[] = { "fl", "/sr", "c:
argc
= 4;
argv[] = {"fl", "/ao", "c:
242


check
" directory on the destination
Options that can be specified
/S
O, R, Q, H, D
/R
O, R, Q, H, D
/A
Q, S, H, D
/D
------------------------------------
/N
-----------------------------------
None
-----------------------------------
-----------------------------------
-----------------------------------

src1.dat", "c:

src.dat",

"c:


test
temp.c"


dstn_dir

dstn_dir
dstn.dat" }
" }

Advertisement

Table of Contents
loading

Table of Contents