V.B. Help....CRUCIAL!!!!!!!!!!!

Started by
3 comments, last by Motwner 22 years, 1 month ago
I am doing a program that has me printing out 4 different rows of asteriks with 4 different command buttons. My problem is that my rows print below each other rather than side-to-side. How do I get these rows to go side to side? Here is what it is doing: * ** *** **** ***** ****** ****** ***** **** *** ** * I want it to do this: * ****** ** ***** *** **** **** *** ***** ** ****** *
Advertisement
I havne't tested this since I just wrote it as I posted..

    Sub Form_Load()    Dim I as Long    For I = 0 to cmdButton.Count - 1        cmdButton(I).Caption = String(I,"*") & " " & String(cmdButton.Count - I,"*")    NextEnd Sub    



yay

---------------------------------------------


[edited by - nes8bit on March 20, 2002 9:04:27 PM]
Hmmmmm, sounds like homework to me....

This problem is not really language specific, all you need is an algorithm - put some pseudocode onto paper and try to work it out.


_____________________________________________________

ICQ #: 149510932
Google - OpenGL - DirectX - Windows Guide Network - MSDN - Symantec Virus Info
"Imagination is more important than knowledge." - Albert Einstein

Fuck Matt Wingblad, fuck him up his stupid fucking ass.

You can''''t handle this.
You can''t handle this.
quote:Original post by VBDios
Fuck Matt Wingblad, fuck him up his stupid fucking ass.

You can''t handle this.


?

This topic is closed to new replies.

Advertisement