Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2012 > BOOK: Visual Basic 2012 Programmer's Reference
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Visual Basic 2012 Programmer's Reference
This is the forum to discuss the Wrox book Visual Basic 2012 Programmer's Reference by Rod Stephens; ISBN: 978-1-1183-1407-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Visual Basic 2012 Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 25th, 2013, 11:33 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Old DOS "terminal" emulation using VB2012

I had given up on Microsoft and Visual Studio although I sought to engage each iteration of the language with an emphasis on Visual Basic.

It seemed that all I wanted to do was cross the river in a row boat and Microsoft was forcing me to command my own StartShip Enterprise, complete with Warp controls.

So I was elated to learn that the Desktop version of VB2012 could operate as a stand-alone work environment and I have become quite comfortable with the new version although I still run up against some as yet "undocumented aliens" that need to be included in your books and on-line tutorials.

But my immediate problem is the need to emulate the old DOS Terminal program to communicate with a laboratory instrument, a Gamma Counter actually. It involves simple two-way communication and the conversation is initiated with the good ole "^C" being sent to the instrument. However, I haven't found a way to send this command and although my datalogging and file update skills are more than sufficient, would someone please direct me to where I can learn more about the transmission side of the application?

Please don't tell me I have to embrace the new VB 2012 Async concepts. I've spent some time there and unless told otherwise would like to learn if a more direct and simple approach is possible for my application.

At your mercy. . .

Robert Gabardy, San Diego, CA
Reply With Quote
  #2 (permalink)  
Old July 25th, 2013, 03:39 PM
Rod Stephens's Avatar
Wrox Author
Points: 3,145, Level: 23
Points: 3,145, Level: 23 Points: 3,145, Level: 23 Points: 3,145, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 641
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Quote:
It seemed that all I wanted to do was cross the river in a row boat and Microsoft was forcing me to command my own StartShip Enterprise, complete with Warp controls.
You got that right!

First I would check with the vendor that wrote the gamma counter software to see if they have any suggestions. They may not but if their product is popular, there's a chance someone else already needed this. If they have a high-level solution, like a .NET library, things will be much easier for you.

If you really have to work through a command interface, take a look at this:
Run a DOS application and capture its output in VB .NET
The general idea in .NET is to redirect stdin and stdout so you can communicate with the program running in the console window.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
not like the book in "Chaper 11"-"Ex11_01" Louaih83 BOOK: Ivor Horton's Beginning Visual C++ 2010 0 April 2nd, 2012 09:38 PM
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 04:02 PM
Difficulties with "web.config" and "ASPNETDB" CFRham BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 2 July 3rd, 2010 10:19 AM
How to theme the "Browse" button of "FileUpload" control? varunbwj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 October 14th, 2009 01:22 AM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM



All times are GMT -4. The time now is 10:21 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.