|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Text Box Fiasco!
The below code Highlites Line 1 in the sub Program and say "UnDeclared Variable".It is the correct Form & the TextBox's are numbered correctly. WHY?
Code In Module1: Type Config A as String * 18 B as String * 24 C as String * 24 end Type Public Cnf(1 to 6) as Config Public Item Public Regg Code in Form: Sub Form_Load Load Form2 UnLoad Form1 If Item = 1 then Call PrntCnf End if Form2 Show Sub PrntCnf() Text1.Text = Cnf(Regg).A Text2.Text = Cnf(Regg).B Text3.Text = Cnf(Regg).C End sub ![]() |
|
#2
|
|||
|
|||
|
Maybe u don't declare two variable type!..
Plz modify two statement: Public Item Public Regg To: Public Item as integer Public Regg as integer |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Text Box Fiasco! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|