Solved

A very simple question.

Posted on 2001-06-17
8
154 Views
Last Modified: 2010-05-02
Just how can I print into prompt ?
I mean something like printf() in C.

I need it urgently...
Thanks
0
Comment
Question by:Maximka2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 3

Expert Comment

by:wpsjr1
ID: 6199860
Debug.Print myvar or Debug.Print "foo"
0
 

Author Comment

by:Maximka2000
ID: 6199872
this is not right , it prints strings in Imidiate window, but I need it in prompt ( exactly like printf)
0
 
LVL 6

Accepted Solution

by:
JonFish85 earned 10 total points
ID: 6199917
"Writing console-mode applications in visual basic"
http://www.vbworld.com/articles/console/

try that
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 3

Expert Comment

by:hendrik999
ID: 6200247
Just work with the MsgBox to get important info on your screen.
0
 
LVL 8

Expert Comment

by:stefanx
ID: 6200253
How about Form1.Print "Hello World" ?
0
 

Expert Comment

by:netster403
ID: 6200618
here is a document that explains how to interact with a dos window... is this what you wanted?

http://web.missouri.edu/~finaidtk/supshell.htm
0
 
LVL 6

Expert Comment

by:JonFish85
ID: 6200627
netster403, since you appear to be new here, I figure you should know that most experts choose to comment rather than proposing as an answer which locks the question and moved it from the main section of questions.
0
 

Author Comment

by:Maximka2000
ID: 6201216
I didn't think that it is so hard to printf() in VB , but it seems to me the only one way to built Console App in VB.
Thank You very much JonFish85!
Max.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question