Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: 'OmgLolLmaoRofl'

We found 2 matches.


<< < > >>

Viewing 1-2 of 2 matches.

1.

None

Topic: visual basic 0.6 - help!!!

Posted: 05/11/06 11:45 AM

Forum: Programming

Umm, I don´t know. I found something useful in my VbBook :D

Example ( "(1) and (2) in both forms shouldnt be in the code ;) )

Option Explicit
Public blah As Integer

Private Sub Form(1)_Load()
Blah = 10
lbl.Caption = Blah
Form2.Visible = True
End Sub

Private Sub Form(2)_Load()
lbl.Caption = Form1.Blah
End Sub

A declaration in "Form1" causes the need to use it from there (baad english :P ) with "Form1.Blah".
You could also Declare it in the Public-Module part. But I don´t really understand this method.
Maybe you do...

I hope this helps in some way. I tried, and it worked ^^


2.

None

Topic: visual basic 0.6 - help!!!

Posted: 05/10/06 11:34 AM

Forum: Programming

I don´t really understand your question but i´ll try to answer:

In the "option explicit" area post Dim blah As Integer

Or smthng. "X" is a predeclared var. I think, so it possibly can´t work.
And:

Private Sub Form_Load()
blah = 1
End Sub

Did you do something like this? it looks like you haven´t. Anyway, please explain your problem a bit more precisely.

Or you can simply say, that "blah= X"
If it´s that, what you want.


All times are Eastern Daylight Time (GMT -4) | Current Time: 11:38 PM

<< < > >>

Viewing 1-2 of 2 matches.