Article View: alt.lang.basic
Article #217How to get fast window print in VB/DOS?
From: Peter G. Millard
Date: Sun, 08 Nov 1992 05:36
Date: Sun, 08 Nov 1992 05:36
26 lines
1726 bytes
1726 bytes
I am having some trouble w.r.t. to the screen print rate of my compiled VB/DOS programs..I was wondering if anybody had a good solution to my problem. Here is my situation I am writing a program which get data from a counter card, converts it to a usable quantity and prints it to a picture window in extra large numbers. I am using subroutines (gosub type, not CALL type) to print the numbers to the screen. These subs in-turn print the numbers by setting the currentX and currentY paramters for my picture box, then printing one of the extended characters (like chr$(201)) to that location. The problem I have is that I need the program to update the screen as fast as possible. I used the same technique (sp?) in a QB 4.5 program (using LOCATE and then PRINT CHR$()) and these method is extremely faster. I was wondering if there would be a faster method of printing my large numbers to the picture box or am I doing this the hard way or what?? Any help would be appreciated. Thanx. -- ****************************************************************************** Peter G. Millard * INTERNET: v057n5um@ubvms.cc.buffalo.edu SUNY @ Buffalo * : millard@acsu.buffalo.edu *****************************************************************************
Technical Details
Message-ID:
<BxDu9J.G2z@acsu.buffalo.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!ub!acsu.buffalo.edu!millardShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!ub!acsu.buffalo.edu!millard From: millard@acsu.buffalo.edu (Peter G. Millard) Newsgroups: alt.lang.basic Subject: How to get fast window print in VB/DOS? Message-ID: <BxDu9J.G2z@acsu.buffalo.edu> Date: 8 Nov 92 05:36:54 GMT Sender: nntp@acsu.buffalo.edu Organization: UB Lines: 26 Nntp-Posting-Host: lictor.acsu.buffalo.edu