I have two questions:
1. I have an if statment that if true does several things. This is where im having trouble:

If something = true then something = 45 And something = 65 And something = 83

My best guess was "And" to combine those three term but i am getting an error so i was wondering what the proper way to do it was. Thx ;)

2. I have a webbrowser in my application and i am wondering how to change the type of Java it will use for Java applets ie. SUN java or regular java. Thx again:)

Recommended Answers

All 8 Replies

If something = true then something = 45 And something = 65 And something = 83

what the result that you want it like be?
there are something is one variable or many?
i means there are many variable :
eg: A = 45 and B = 65 and c = 83
Or
it just have one variable to accomodate all :
eg : A = 45 and A = 65 and A = 83
clarify more...thx

Yea, there are many variables:
eg.: A = 45 and B = 65 And C = 83

just to clarify my question was if the and was the right syntax to put the the varables together.

I think what you want is:

If something = true then A= 45 : B= 65 :C= 83

Thx Alot :);)

But can you guys help me with my 2nd problem?

what the problem?

I have a webbrowser in my application and i am wondering how to change the type of Java it will use for Java applets ie. SUN java or regular java. Thx again ;)

If you have MS Jave then uninstall it and install Sun Java. As I understand it MS is getting out of Java.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.