Why Print function appears in yellow background because of error
Maybe it could be flood. But I can not create new post on operamini3 in this forum. I have took some code from manual on VB6 and inserted in Word module with VB6 for applications. I am newbie in programming and vb6 but I have done it correctly and inserted in the code field for specially created Form with Button object. In the whole this simple code worked. But where there were Print function, simply for displaying results there appeared debugger because of error and "Print" becomes in yellow background. The print function was without round quotes something like that: Print a,b. Why it become error. Is there any function alternative for "print" as displaying tool. I should note that it is not singular sample it was appeared in several ones.
Re: Why Print function appears in yellow background because of error
Quote:
Originally Posted by
maxii
Maybe it could be flood. But I can not create new post on operamini3 in this forum. I have took some code from manual on VB6 and inserted in Word module with VB6 for applications. I am newbie in programming and vb6 but I have done it correctly and inserted in the code field for specially created Form with Button object. In the whole this simple code worked. But where there were Print function, simply for displaying results there appeared debugger because of error and "Print" becomes in yellow background. The print function was without round quotes something like that: Print a,b. Why it become error. Is there any function alternative for "print" as displaying tool. I should note that it is not singular sample it was appeared in several ones.
Are you using the code posted by Dave Sell? If not then your question will be moved from the code bank.
Re: Why Print function appears in yellow background because of error
Split into its own thread and moved from the CodeBank
Thanks for the report Nightwalker83 :thumb: