Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Configuring serial port with Mode
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01112815
Message ID:
01112883
Views:
10
>Does it work with COM1 or COM2? I would also try to launch the DOS program from a batch (.CMD) file and put MODE command in it.
>
>>
>>Im configuring serial com4 using mode command at autoexec.nt to initialize MS Dos environment for a legacy application but its seems not working.
>>
>>Mode com4:4800,n,8,1
>>
>>Is this correct when invoking the mode command?
>>I had tried also to insert the command below on autoexec.nt but no luck.
>>
>>mode com4:baud=48 parity=n data=8 stop=1
>>
>>
>>Is this correct or im missing something?
>>
>>Thanks.

I haven't try at customer site, but I had tried at our office and still doesn't work. I had compiled a dos executable and send output to a pole display. I had also created a batch file to invoke the mode command before executing the executable.

Any ideas?
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform