I am creating an ASP page that will allow a user to upload a file from their local drive and copy it to a subfolder on a webserver. I am running into problems when the parent folder's name contain a space ie(My Documents).
My code is:
Set FileObject =...
I am trying to replace all quotation marks in a given string and replace it with a descriptive value so I can submit the string into a database without having part of the string cut off. I am using the replace function.
replace(string, FindString, ReplaceWithstring)
When the FindString equals...
I am trying to customize a Microsoft Outlook Form. It uses VBScript to handle the customization. I am trying to ADO to connect to a SQL Server Database. I am connecting fine the problem is with the RecordSet. My Code is as follows:
Set conn =...
My class have the following import statment.
import Order;
I realize techincally I should not need to import this class because it should be part of the default package.
However I am getting cannot resolve symbol errors when I try to compile my code.
OrderEntry1.java:146: cannot resolve...
I have a servlet calling methods from a user-definded class. The java file and its related class file are in the same folder as my servlet. When I try to create new objects
MyClass NewObject = new MyClass();
I receive an error that it cannot resolve symbol. I just started to code again in...
This is what I tried and for some reason the switch will not execute. I have but the same range logic in IF/ElseIf statements and it works. I am very confused.
I need help with the syntax of a switch statement. I have a variable that contains a calculated value. Based on that value I want something to happen.
between 0 and 1: x happens
between 1 and 2: y happens
etc.
I am having trouble coding the case for a range.
Try using a Select Case.
Select Case yourVariable
Case Value(What you are looking for)
code you want to execute
Case Value2
Case Value3
.
.
.
Case Value17
End Select
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.