Solved

A very simple question.

Posted on 2001-06-17
8
150 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…

914 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

20 Experts available now in Live!

Get 1:1 Help Now