?
Solved

A very simple question.

Posted on 2001-06-17
8
Medium Priority
?
157 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 40 total points
ID: 6199917
"Writing console-mode applications in visual basic"
http://www.vbworld.com/articles/console/

try that
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

770 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