hye guys..
i have problems with my programm.This are the codes..

'##############################

public class EndErgebnisse

public Structure Ergebnisse1

public Angebot as Double
public AnzahlForderung as Double
public Mitt_Bedzeit as Double

Sub berechnen

Angebote = AnzahlForderung / Mitt_Bedzeit

End Sub


sub züruck_click (button)

Me.finalize

End sub

End Structure

End Class
################################################## #

what i want is , the value of Angebote will be erase after i click the zurück button for the next simulation.
did anyone have any idea , how to make it right?

i have try with disposed and finalize and even refresh.. but still not working..
plz somebody help me.. :)

I don't know what you are trying to do but you are trying to use a button_click inside a structure. I don't think you can do that.

sorii dude. i made a mistake. here is the real programm.
###################################

public class EndErgebnisse

public Structure Ergebnisse1

public Angebot as Double
public AnzahlForderung as Double
public Mitt_Bedzeit as Double

Sub berechnen

Angebote = AnzahlForderung / Mitt_Bedzeit

End Sub
End Structure


sub züruck_click (button)

Me.finalize

End sub

End Class
################################################## #

Instead of Me.Finnalize use
Angebote = 0
which erases any value in it and resets it to 0.
I don't know what zuruck means.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.