Re: A Novice Question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Rick Rothstein (rickNOSPAMnews_at_NOSPAMcomcast.net)
Date: 05/20/04


Date: Thu, 20 May 2004 13:36:31 -0400


> > I created a form with a command button which
> > will run the software. How do I create a window that I can just
write to
> > from the basic code with status information as it runs through its
job?
> > What do I put in the code to write to this window.
>
> Add a text box to your form (which we'll call Text1) and then do just
like
> Duane says, but with one little correction:
>
> Text1.Text = Text1.Text & "Your next message goes here." & vbCrlf

Better yet would be...

Text1.SelStart = Len(Text1.Text)
Text1.SelText = "Your next message goes here." & vbCrlf

Note, no concatenation and the TextBox doesn't replace its entire
contents for a simple append operation.

Rick - MVP



Relevant Pages

  • Re: Upgrade your Eclipse Editor for Unidata/Universe
    ... Today we are announcing an outline feature for your basic code. ... All of your labels in your basic code show up in the outline ... it in the outline window and the editor takes you to the code. ...
    (comp.databases.pick)
  • Re: Showing a dialog box before showing main window.
    ... Saint Atique wrote: ... # Check command line arguments ... then show the main window to perform some tasks ... Visual C++ MVP ...
    (microsoft.public.vc.mfc)
  • Re: Detecting application main window display state?
    ... > the command: ... > Now i want to detect in my program the window has moved from that state. ... Scott McPhillips [VC++ MVP] ...
    (microsoft.public.vc.mfc)
  • Re: Using Error Msg box on website
    ... output and display a generic error page depending on what exactly you have ... I would start by having a global error handler (see global.asax in the ... language and want to bring up a sort of error message window as part of my ... basic code to output a window or a form with the error message from a try ...
    (microsoft.public.dotnet.general)
  • Re: A Novice Question
    ... Evan Stone wrote: ... >> I created a form with a command button which ... >> from the basic code with status information as it runs through its job? ... >> What do I put in the code to write to this window. ...
    (microsoft.public.vb.general.discussion)