473,498 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"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 1974
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
2367
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
3329
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
1792
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
1862
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
2274
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
2625
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
4155
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
4415
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
1090
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...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7205
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4590
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.