Solved

A very simple question.

Posted on 2001-06-17
8
151 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Link a textbox in excel to a cell with more than 255 characters. 5 85
bit defender blocks good applications 2 93
Determine Range to Select 5 48
How does CurrentUser work? 10 37
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 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…

776 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