Subject: How to call QBasic command in VB.Net
Posted By: kiwibey Post Date: 1/10/2007 1:49:07 AM
dear all programmer,

i'm doing a POS system for my client,
i had facing a very complicated problem is my client request me to make the cash drawer automatic open while the receipt print.
i had refer to the cash drawer vendor, they just provide me code as below in QBasic:
Use Command Line: PRINT receive#1,CHR$(&H1B);"p";CHR$(0);CHR$(100);CHR$(250);
can i know how to call QBasic command in VB.Net.
what i have to do to solve this problem.
please advice...
Thank you very much!!!

Best Regards,
bey

Reply By: planoie Reply Date: 1/10/2007 10:37:34 AM
If this is just a standard command prompt command then you can call it with a standard .NET process execution.  While I haven't done this myself, I believe you use the System.Diagnostics.Process class to achieve this.

-Peter

Go to topic 54660

Return to index page 68
Return to index page 67
Return to index page 66
Return to index page 65
Return to index page 64
Return to index page 63
Return to index page 62
Return to index page 61
Return to index page 60
Return to index page 59