Change the variables value

Gamezhoek

Member
Joined
Jan 13, 2006
Messages
9
Programming Experience
1-3
I've got a problem.

In 'Form1' I made a variable called 'startpagina'.
But now I am in form 'Geschiedenis'. And I need to change the variable 'startpagina' of Form1. But how can I do that?
I tried 'Form1.startpagina = value' but that wont work.

Does anyone knows how to do this?
Thank you.
 
better yet, in form1 make a Friend Property:

VB.NET:
Friend Property StartPagina
  Get
    Return startpagina
  End Get
  Set (Value As (Whatever the type is))
    startpagina = Value
  End Set
End Property
 
I tried this all. I dont get an error. But if I want to change the variable, then it wont be changed! :(
I did that if I press the button, the webbrowser will go to the Url 'startpage'. That is set on http://www.ramproductions.be.
But If I want to change it, and I press the button, it still go's to the same URL.
 
Back
Top