Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
| Search | Today's Posts | Mark Forums Read
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 10th, 2007, 02:49 AM
Authorized User
Join Date: Oct 2004
Location: Kuala Lumpur, Wilayah Persekutuan, Malaysia.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kiwibey
Default How to call QBasic command in VB.Net

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$(25 0);
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,

Old January 10th, 2007, 11:37 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

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.


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to call c#.net dll in vb 6.0 hkumar Beginning VB 6 3 August 21st, 2007 01:42 PM
VB.NET ExecuteNonQuery() command Lofa SQL Server 2000 1 September 20th, 2005 10:03 AM
call window dialog component with asp.net/vb.net s3ng ASP.NET 1.x and 2.0 Application Design 0 June 21st, 2005 04:54 AM
How to call a C# method from VB.Net? aliarifpk General .NET 1 February 26th, 2004 04:11 AM
How can I call a vb.net Exe from an asp.net page? jorevil Classic ASP Basics 0 October 1st, 2003 11:34 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.