Solved

A very simple question.

Posted on 2001-06-17
8
149 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
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
 
LVL 3

Expert Comment

by:hendrik999
ID: 6200247
Just work with the MsgBox to get important info on your screen.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now