User Profile

Collapse

Profile Sidebar

Collapse
bradboy199
bradboy199
Last Activity: Apr 7 '06, 01:01 AM
Joined: Apr 7 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Starting to learn programming . . . should i ?

    I have a pretty weird problem, and would like some advice from one who is more experienced; I'm just starting to learn to program.

    I am in a programming class, and am doing well, but oftentimes to upgrade my VB 6 programs I venture into territory I really don't know how to work with. For instance, I wanted to save fonts for a textbox but didn't know how to save anything but a .txt file and knew nothing about rich textboxes. I came...
    See more | Go to post

  • bradboy199
    replied to Visual Basic 6
    you can create some code that will act like a function

    Dim Number as Long, Factorial As Long, N as Long
    Factorial=1
    For N = Number to 1
    _____Factorial= Factorial * N
    Next N

    Factorial will be your answer. It can be stored in any way that a variable can be stored.

    _____Indicates an indent, it really doesn't matter, but ya know you have to do it.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...