Thanks johnwm, I cant believe the answer was that obvious. Now i feel stupid, lol. thanks anyway
---------------------------------------------------------------------------------------------------------------------------------
"Those who think they know everything are very annoying to...
In a program that my friend made, he has a text box that keeps adding text to the bottom of it, but when it fills up with text and has to go below, the text box doesn't automatically scroll down to view it. Any help...
I've been trying to make a program for some time now that utilizes a TabStrip, but I can't figure out just how to use it. Could somebody please help me?!?!?
Thanks
If you want to just open Microsoft Word, use this code:
Private Sub Command1_Click()
spath = "<path to MS Word>"
whatever = shell(spath, vbNormalFocus)
End Sub
You can just type "whatever", you don't have to replace it with anything.
Hope this helps As a circle of light...
Visual Basic has a Splash Form creator
Go to "Add Form"
And then click on "Splash Form"
It comes up with a pre-made splash form, all you have to do is edit the labels. As a circle of light increases, so does the circumfrence of darkness surrounding it. -Albert Einstein
I'm making a stopwatch program but when the timer gets to 30 seconds, it says 00:29, 01:31, 01:32.... Does anyone know what is wrong?
Here is the code that I wrote:
Dim totalsec As Integer_________________
Private Sub Timer1_Timer()
totalsec = totalsec + 1
minutes = Format(totalsec / 60...
something a little less confusing:
PrivateSub Command1_Click ()
Txtold.Multiline = True
Txtold.Text = Txtold.Text & vbCr & txtnew.text
End Sub
See if this works.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.