[Venom]
Početnik
- Poruka
- 46
Pozdrav,
Imam jedan problem u VB.net.
Ne mogu da povezem variables koji si nalaze u razlicitim SUBovima.
Evo na primer:
===
PrivateSub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
withdrawmoney = CDbl(InputBox("Please enter the amount in pounds"))
If withdrawmoney < (user1balance + user1overdraft) Then
user1balance = user1balance - withdrawmoney
==
a user1balance koji pokazuje text u jednom textbox koji je u event button1_click nece da se promeni.
kako da to resim?
Imam jedan problem u VB.net.
Ne mogu da povezem variables koji si nalaze u razlicitim SUBovima.
Evo na primer:
===
PrivateSub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
withdrawmoney = CDbl(InputBox("Please enter the amount in pounds"))
If withdrawmoney < (user1balance + user1overdraft) Then
user1balance = user1balance - withdrawmoney
==
a user1balance koji pokazuje text u jednom textbox koji je u event button1_click nece da se promeni.
kako da to resim?