Hi people..... this is my first program in VB.
Before this i have done programming in C,C++.
I read some of the chapters from Black book of VB; but still having problem in the initial part itself.
The program is I have to take a number in any of the forms; Octal, binary or hexadecimal convert it in the form required by user and display the result.
Am done with the logic of program; but having problems..
First of all am not understanding why it creates so many procedures; every time i click something...... .
And its showing error in if statement dont know why..
Is it because of option? i deleted some sub procedures above it; before that also it was showing an error.
Am using Microsoft Visual Basic.
Please tell me fast.
Before this i have done programming in C,C++.
I read some of the chapters from Black book of VB; but still having problem in the initial part itself.
The program is I have to take a number in any of the forms; Octal, binary or hexadecimal convert it in the form required by user and display the result.
Am done with the logic of program; but having problems..
Code:
Private Sub Form_Load() Dim intext As String intext = Text1.Text Dim outtext As String outtext = Text2.Text if (option1.Value=true) and (option4.Value=true) outtext = intext End If End Sub
And its showing error in if statement dont know why..
Is it because of option? i deleted some sub procedures above it; before that also it was showing an error.
Am using Microsoft Visual Basic.
Please tell me fast.
Comment