Link to home
Start Free TrialLog in
Avatar of AndrewLindsay
AndrewLindsay

asked on

writefile API

How do I send a file to a comm port using the writefile() API in VB4?
Avatar of Mirkwood
Mirkwood

Sorry not possible in VB4.
You need a 32 bit development platform like VB5 to use writefile


Avatar of AndrewLindsay

ASKER

VB4 32 Bit, as far as I can tell, is a 32Bit environment, and can use the 32Bit API.
Hmm, I always thought that it was 16bit. My mistake.
VB4 Has both a 16Bit and 32Bit environment.  The 32Bit API calls are valid for the 32Bit environment.
Out of curiosity: why to use WriteFile, when you can use Print or any other VB function to write to COMM ports, or even to use the COMM control for that?
MikeP,

The reason is that I not really programming in VB, I am using PowerBasic for a DLL in VB to give a bit of qa speed increase.
ASKER CERTIFIED SOLUTION
Avatar of MikeP090797
MikeP090797

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial