Re: A Novice Question

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

From: Duane Bozarth (dp_bozarth_at_swko.dot.net)
Date: 05/20/04


Date: Thu, 20 May 2004 08:07:01 -0500

Evan Stone wrote:
>
> > 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
>
> Hope this helps!

Depends on whether the new message is to replace the old or whether it
is to be added...I chose replace.

If I were to suggest for duplicating his debug output, I'd have said
just Print directly to the form... :)



Relevant Pages

  • Re: A Novice Question
    ... >> I created a form with a command button which ... >> from the basic code with status information as it runs through its ... >> What do I put in the code to write to this window. ... Rick - MVP ...
    (microsoft.public.vb.general.discussion)
  • Re: A Novice Question
    ... > 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. ... but with one little correction: ...
    (microsoft.public.vb.general.discussion)
  • Re: Great SWT Program
    ... mostly solve the blind-typing problem that I definitely recall emacs ... Except of course that you need to know some arcane command language ... Hitting tab should insert a tab ... one-line "window" in which the rest of what I type appears, ...
    (comp.lang.java.programmer)
  • Re: Printer Control and Print/Preview Problems
    ... to be appended to the report print stream. ... or "Print" with the DoCmd.OpenReport command, ... still open preview window. ... > following that with an OpenReport using acNormal. ...
    (microsoft.public.access.reports)
  • Re: Dim RetVal
    ... "Jay Freedman" wrote in message ... The reason is that without the quotes, the command processor sees the ... In the command window, first type ... This *should* have exactly the same effect as the macro. ...
    (microsoft.public.word.vba.beginners)