Jump to content

print to screen without msg box ,help pls

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
romanbodenmiller

romanbodenmiller

    Newbie

  • Members
  • Pip
  • 6 posts
im just trying to learn simple stuff here .i have been searching for the answer to this for between 5-7 hours now with no luck.

im using VB express 08

this below is all im trying to learn .thanks

Public Class Form1

    Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged

for i=1 to 10
Me.ListBox1.Items.print i
next i

End Sub
End Class

Edited by Jaan, 26 November 2008 - 12:50 PM.
Please use code tags when you're posting your codes!


#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Please use CODE tags.

Can you be more specific? What do you want to print? And how? What is wrong with your current code?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#3
romanbodenmiller

romanbodenmiller

    Newbie

  • Members
  • Pip
  • 6 posts
just want to print to screen like a scroller but i dont want the user to keep hitting ok in the msg box each cycle thats why im avoiding the msg box.and that code was just a example it doesnt come close to working.


in basic it would look like this:
10 cls
20 for count =1 to 1000
30 print count
40 next count
50 goto 10


#4
mosgba

mosgba

    Newbie

  • Members
  • PipPip
  • 15 posts
press Alt + print screen

#5
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
He wants to print text, not capture the screen.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#6
romanbodenmiller

romanbodenmiller

    Newbie

  • Members
  • Pip
  • 6 posts
right and it should be something any novice can pull off

#7
leetjordan

leetjordan

    Newbie

  • Members
  • Pip
  • 4 posts
will this work for vb6.0