473,382 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

"Print" to Screen in Console app

Hi everyone,

One of the things that really interested me about VS.net was that I can now
create a console based app using VB. I have a number of QuickBASIC 4.5 apps
which we are still using and for which I still have source code. I would
love to port these to VB.net but can't figure out how to print to the
screen. I suddenly realized it has been a long time since I have done
anything like this (most of my apps are web-based with a MS-SQL backend) and
I can't figure out how to create a UI in a console based app in VB.net. How
do I go about doing this? Is there some kind of "best practices" I should
be aware of?

Another huge advantage to these apps it that they will be accessible via the
Windows 2000 Server telnet service.

Cheers,

Ken.
Jul 21 '05 #1
4 1968
Interesting idea, I would also be interested in this.

I would imagine that you would really need to create/buy some sort of
console textual screen designer. Or you could simply use the Console
methods to create a menuing system, but they you are limited to on input per
screen.

Dan
"Ken VdB" <pu****************@nospam.floridus.com> wrote in message
news:eo**************@TK2MSFTNGP11.phx.gbl...
Hi everyone,

One of the things that really interested me about VS.net was that I can now create a console based app using VB. I have a number of QuickBASIC 4.5 apps which we are still using and for which I still have source code. I would
love to port these to VB.net but can't figure out how to print to the
screen. I suddenly realized it has been a long time since I have done
anything like this (most of my apps are web-based with a MS-SQL backend) and I can't figure out how to create a UI in a console based app in VB.net. How do I go about doing this? Is there some kind of "best practices" I should
be aware of?

Another huge advantage to these apps it that they will be accessible via the Windows 2000 Server telnet service.

Cheers,

Ken.

Jul 21 '05 #2
One problem is that the console does not support X,Y positioning or clear
screen. This apparently will come with Whidbey.

Regards - OHM#
solex wrote:
Interesting idea, I would also be interested in this.

I would imagine that you would really need to create/buy some sort of
console textual screen designer. Or you could simply use the Console
methods to create a menuing system, but they you are limited to on
input per screen.

Dan
"Ken VdB" <pu****************@nospam.floridus.com> wrote in message
news:eo**************@TK2MSFTNGP11.phx.gbl...
Hi everyone,

One of the things that really interested me about VS.net was that I
can now create a console based app using VB. I have a number of
QuickBASIC 4.5 apps which we are still using and for which I still
have source code. I would love to port these to VB.net but can't
figure out how to print to the screen. I suddenly realized it has
been a long time since I have done anything like this (most of my
apps are web-based with a MS-SQL backend) and I can't figure out how
to create a UI in a console based app in VB.net. How do I go about
doing this? Is there some kind of "best practices" I should be
aware of?

Another huge advantage to these apps it that they will be accessible
via the Windows 2000 Server telnet service.

Cheers,

Ken.


Regards - OHM# On**********@BTInternet.com
Jul 21 '05 #3
Ken,

There is a similar discussion on this board right now. Do a search for the
thread with the subject WriteConsoleOutput. There is a bunch of source code
included with the posts.

-- Doug

"Ken VdB" <pu****************@nospam.floridus.com> wrote in message
news:eo**************@TK2MSFTNGP11.phx.gbl...
Hi everyone,

One of the things that really interested me about VS.net was that I can now create a console based app using VB. I have a number of QuickBASIC 4.5 apps which we are still using and for which I still have source code. I would
love to port these to VB.net but can't figure out how to print to the
screen. I suddenly realized it has been a long time since I have done
anything like this (most of my apps are web-based with a MS-SQL backend) and I can't figure out how to create a UI in a console based app in VB.net. How do I go about doing this? Is there some kind of "best practices" I should
be aware of?

Another huge advantage to these apps it that they will be accessible via the Windows 2000 Server telnet service.

Cheers,

Ken.

Jul 21 '05 #4
What is interesting about this is that we are heading back full circle
(again) to the days of the mainframe dumb terminal. I love it... 8-)
"One Handed Man [ OHM# ]" <On**********@BTInternet.com> wrote in message
news:ul*************@tk2msftngp13.phx.gbl...
One problem is that the console does not support X,Y positioning or clear
screen. This apparently will come with Whidbey.

Regards - OHM#
solex wrote:
Interesting idea, I would also be interested in this.

I would imagine that you would really need to create/buy some sort of
console textual screen designer. Or you could simply use the Console
methods to create a menuing system, but they you are limited to on
input per screen.

Dan
"Ken VdB" <pu****************@nospam.floridus.com> wrote in message
news:eo**************@TK2MSFTNGP11.phx.gbl...
Hi everyone,

One of the things that really interested me about VS.net was that I
can now create a console based app using VB. I have a number of
QuickBASIC 4.5 apps which we are still using and for which I still
have source code. I would love to port these to VB.net but can't
figure out how to print to the screen. I suddenly realized it has
been a long time since I have done anything like this (most of my
apps are web-based with a MS-SQL backend) and I can't figure out how
to create a UI in a console based app in VB.net. How do I go about
doing this? Is there some kind of "best practices" I should be
aware of?

Another huge advantage to these apps it that they will be accessible
via the Windows 2000 Server telnet service.

Cheers,

Ken.


Regards - OHM# On**********@BTInternet.com

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Geoff Cox | last post by:
Hello, I am trying to have 1. web pages in large font 2. web pages with smaller font for printing I am using <link rel="stylesheet" media="print" type="text/css"
8
by: Tony | last post by:
Hello I am learning C# and encountered the following problem when I tried to figure out how to print the string {0} in a Console window The following piece of codes complied OK. But when I...
0
by: Matthew Belk | last post by:
I am trying to print some 2x6 labels on a SATO CL408e thermal label printer. The 2x6 labels are arranged in "landscape" mode with 2 labels per "sheet." When I attempt to print "x" copies of a 1...
5
by: Paul Sullivan | last post by:
We are a state agency that views protected medical information via our intranet. The screens even have privacy shields. Alarmingly, uses can "Print" and "Save As" which destroys the protection of...
1
by: BELIUS | last post by:
Hi all, I am implementing a "Print this Page" function in my ASP.NET application. This function should print a part of the page and I would like to use an MSDN Style "Print this Page". I'm...
4
by: Ken VdB | last post by:
Hi everyone, One of the things that really interested me about VS.net was that I can now create a console based app using VB. I have a number of QuickBASIC 4.5 apps which we are still using and...
16
by: saurabhnsit2001 | last post by:
The following program doesn't "seem" to print "hello-out". (Try executing it) #include <stdio.h> #include <unistd.h> int main() { while(1) { fprintf(stdout,"hello-out");
1
by: fischermx | last post by:
My software should take snapshots from the current screen from an icon in the try area. I need to programmatically emulate what the "print-screen" keyword does. How do I do that ? Thanks in...
0
by: thiago777 | last post by:
Hello all, I need to show the PrintDialog screen so that client can choose/select a specif printer to use after viewing the print preview. In other words, after the printPreview is completely...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.