Hello im really new to this, and I have a problem with some code. I need to make a form for users to enter two values to raise one number to a power, the calculator should use the exponential operator to calculate the result of raising the first number to the second.
Here's what I got:

'Calculate txtBase raised to 'x' power and display in lblResult
lblResult.Text = Val(txtBase.Text) ^ txtExponent

When I debug the program it says that there were build errors and it also says "Declaration Expected", It says that the problem is with "lblResult"

This is my second program that I have ever made, I am an extreme beginner lol, Plz Plz Plz Help me!