Click here to Skip to main content
15,921,941 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: get column names Pin
atregent3-Dec-07 13:54
atregent3-Dec-07 13:54 
GeneralRe: get column names Pin
ReactiveX3-Dec-07 18:02
ReactiveX3-Dec-07 18:02 
GeneralA question about SMTP Pin
Member 19965433-Dec-07 5:40
Member 19965433-Dec-07 5:40 
GeneralRe: A question about SMTP Pin
Dave Kreskowiak3-Dec-07 12:18
mveDave Kreskowiak3-Dec-07 12:18 
GeneralRe: A question about SMTP Pin
ReactiveX3-Dec-07 18:03
ReactiveX3-Dec-07 18:03 
Questionset .net application at windows login Pin
satyadeva1-Dec-07 17:57
satyadeva1-Dec-07 17:57 
AnswerRe: set .net application at windows login Pin
Christian Graus1-Dec-07 22:22
protectorChristian Graus1-Dec-07 22:22 
QuestionMicrosoft VBScript compilation (0x800A03F6) Pin
Paul McGann1-Dec-07 9:29
professionalPaul McGann1-Dec-07 9:29 
I have the following If statement

bmi = weight/(height * height)

If bmi < 18.5 then
Response.Write("Your underweight")
Else If bmi >= 18.5 And bmi <= 24.9 then
Response.Write("Your normal")
Else If bmi >=25 And bmi <=29.9 then
Response.Write("Your overweight")
Else
Response.Write("Your obese")
End If

But keep getting this error:
Microsoft VBScript compilation (0x800A03F6)
Expected 'End'

I know that this means that it is expecting the if statement to end which when i look at it it is closed. I'm new to programming and sleep depravation is probably causing me to over look the minor detail. If any one can spot where i'm goin wrong it's much appreciated.

Thanks
AnswerRe: Microsoft VBScript compilation (0x800A03F6) Pin
pmarfleet1-Dec-07 9:45
pmarfleet1-Dec-07 9:45 
GeneralRe: Microsoft VBScript compilation (0x800A03F6) Pin
Paul McGann1-Dec-07 9:52
professionalPaul McGann1-Dec-07 9:52 
AnswerRe: Microsoft VBScript compilation (0x800A03F6) Pin
Luc Pattyn1-Dec-07 10:09
sitebuilderLuc Pattyn1-Dec-07 10:09 
QuestionStart a program at restart/selected time Pin
Code_Addict1-Dec-07 6:53
Code_Addict1-Dec-07 6:53 
AnswerRe: Start a program at restart/selected time Pin
Paul Conrad1-Dec-07 9:34
professionalPaul Conrad1-Dec-07 9:34 
QuestionTrouble With Access Modifiers Pin
Fahad Sadah1-Dec-07 5:49
Fahad Sadah1-Dec-07 5:49 
AnswerRe: Trouble With Access Modifiers Pin
pmarfleet1-Dec-07 6:48
pmarfleet1-Dec-07 6:48 
AnswerRe: Trouble With Access Modifiers Pin
Luc Pattyn1-Dec-07 7:28
sitebuilderLuc Pattyn1-Dec-07 7:28 
GeneralRe: Trouble With Access Modifiers Pin
Paul Conrad1-Dec-07 9:35
professionalPaul Conrad1-Dec-07 9:35 
GeneralRe: Trouble With Access Modifiers Pin
Luc Pattyn1-Dec-07 10:01
sitebuilderLuc Pattyn1-Dec-07 10:01 
GeneralRe: Trouble With Access Modifiers Pin
Paul Conrad1-Dec-07 10:06
professionalPaul Conrad1-Dec-07 10:06 
GeneralRe: Trouble With Access Modifiers Pin
Luc Pattyn1-Dec-07 10:10
sitebuilderLuc Pattyn1-Dec-07 10:10 
GeneralRe: Trouble With Access Modifiers Pin
Paul Conrad1-Dec-07 10:17
professionalPaul Conrad1-Dec-07 10:17 
GeneralRe: Trouble With Access Modifiers [modified] Pin
Fahad Sadah1-Dec-07 21:20
Fahad Sadah1-Dec-07 21:20 
QuestionInterface Pin
yesu prakash1-Dec-07 5:16
yesu prakash1-Dec-07 5:16 
AnswerRe: Interface Pin
pmarfleet1-Dec-07 6:50
pmarfleet1-Dec-07 6:50 
AnswerRe: Interface Pin
Paul Conrad1-Dec-07 9:36
professionalPaul Conrad1-Dec-07 9:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.