Return to index: [Subject] [Thread] [Date] [Author]

Re: Visual Basic question

[Subject Prev][Subject Next][Thread Prev][Thread Next]
> Dim AA, BB, CC, Rythm As Double
> Dim i As Integer
> Option Base 1
> Private Sub cmdExit1_Click()
> End
> End Sub
> Private Sub cmdCompute_Click()
> If i = 1 Then
> Open CmnDialog1.BasesData For Output As #1
> Else: i = i + 1
> End If
    Since i is not predefined, it is being taken as
zero. Therefore, the command, "Open...." may not be
executed.
> AA = Num1.Text
> BB = Newbase.Text
> Rythm = Log(AA) / Log(BB)
> CC = 10# ^ Rythm
> Newnum.Text = CC
> If Check1.Value Then
> Print #1, Num1.Text; Newbase.Text; Newnum.Text
> Else: Close #1
> End If

   Where is the value for Check1.Value coming from?
Also, where are the values for Num1.Text and
Newbase.Text coming from?

> End Sub
> 
> TIA,  Greg
> 

Rajendran


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

* 
*   This email was sent to you via Structural Engineers 
*   Association of Southern California (SEAOSC) server. To 
*   subscribe (no fee) or UnSubscribe, please go to:
*
*   http://www.seaint.org/sealist1.asp
*
*   Questions to seaint-ad(--nospam--at)seaint.org. Remember, any email you 
*   send to the list is public domain and may be re-posted 
*   without your permission. Make sure you visit our web 
*   site at: http://www.seaint.org