![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have installed Visual Studio 2003 on a laptop that has XP Home as the opperating system. There were no error messages when I installed. I have tried to write my first program in VB. I am using the LEFT function to give me the first 5 characters in a text box. The basic statement is a follows. strTemp = Left(strText1, 5) Where strTemp and strText1 are string variables When I run it gives me an error saying that the Left() only excepts integers. If I tell it to ignore the error and continue, it evaluates the statement properly. Later in the same code I have an if statement. IF strText2 = "Now" then and not mater what is in strText2, the statement evaluates to TRUE. These 2 problems have me concerned about the installation of Visual Studio. Any sugestions on where to look for a salution. |
#3
| |||
| |||
|
|
I have installed Visual Studio 2003 on a laptop that has XP Home as the opperating system. There were no error messages when I installed. I have tried to write my first program in VB. I am using the LEFT function to give me the first 5 characters in a text box. The basic statement is a follows. strTemp = Left(strText1, 5) Where strTemp and strText1 are string variables When I run it gives me an error saying that the Left() only excepts integers. If I tell it to ignore the error and continue, it evaluates the statement properly. Later in the same code I have an if statement. IF strText2 = "Now" then and not mater what is in strText2, the statement evaluates to TRUE. These 2 problems have me concerned about the installation of Visual Studio. Any sugestions on where to look for a salution. |
#4
| |||
| |||
|
|
I have installed Visual Studio 2003 on a laptop that has XP Home as the opperating system. There were no error messages when I installed. I have tried to write my first program in VB. I am using the LEFT function to give me the first 5 characters in a text box. The basic statement is a follows. strTemp = Left(strText1, 5) Where strTemp and strText1 are string variables When I run it gives me an error saying that the Left() only excepts integers. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |