Forum: Java Sep 27th, 2007 |
| Replies: 4 Views: 1,686 For the moment, CTRL+F remedied that. :D
I'll be sure to read through it, though, as it seems to include a lot of interesting information. |
Forum: Java Sep 27th, 2007 |
| Replies: 4 Views: 1,686 Thank you very much for the speed and helpfulness!
My working version of executeClass:
public static void executeClass(String path)
{
try
{
Class c =... |
Forum: Java Sep 27th, 2007 |
| Replies: 4 Views: 1,686 I'm not sure if my title adequately explains what I want to do, so I'll provide a scenario.
I have two classes in a folder, one named UserInterface.class and another named HelloWorld.class, and... |
Forum: PHP Oct 20th, 2005 |
| Replies: 7 Views: 19,606 Well, I think what Chris was saying was to use the WHERE extension on my query so I don't have to use the while loop. |
Forum: PHP Oct 20th, 2005 |
| Replies: 7 Views: 19,606 There was an endless loop, the page that set the cookie did not convert the username to lowercase before encrypting.
And it looks like you should close the connection as soon as possible to make... |
Forum: PHP Oct 19th, 2005 |
| Replies: 7 Views: 19,606 Two questions here, the first is whether the following error refers to the command exceeding 60 seconds or the whole page taking over 60 seconds to execute.
"Fatal error: Maximum execution time of... |
Forum: VB.NET May 7th, 2005 |
| Replies: 2 Views: 20,178 When using the Form1.KeyDown, keystrokes don't seem to register.
For example, the Click works fine:
Private Sub Form1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles... |
Forum: VB.NET Mar 21st, 2005 |
| Replies: 2 Views: 9,854 How do you add controls through code instead of the form editor? I wasnt to do things like make a textbox appear when a button is pressed, but I'm looking for another way to do it than make a huge... |
Forum: VB.NET Mar 16th, 2005 |
| Replies: 2 Views: 2,093 Adding to what cpopham said, make a subroutine for one of your buttons like this:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
... |
Forum: VB.NET Mar 16th, 2005 |
| Replies: 2 Views: 1,915 Sorry, I got it.
I was opening the form when I was already in VS.NET, and I was forgetting go go to View>Designer. I was using the text code editor. |
Forum: VB.NET Mar 16th, 2005 |
| Replies: 2 Views: 1,915 I'm using MS Visual Studio.NET, and when I try to open a project, nothing happens. I can open the Form1.vb or whatever I've named it to, but I can't see the graphic version of the form editor... |
Forum: Legacy and Other Languages Feb 25th, 2005 |
| Replies: 3 Views: 6,094 I downloaded QBASIC 4.5 onto a Windows XP computer, and placed it into C:\QBASIC\.
When I try to run QB.EXE though, I get the error:
C:\QBASIC\QB.EXE
Invalid startup directory, please check... |
Forum: C Feb 24th, 2005 |
| Replies: 5 Views: 7,683 How can I take only the high order bit from that command? |
Forum: C++ Feb 23rd, 2005 |
| Replies: 2 Views: 3,938 Oh nevermind, you already know Java...
C++ is a good, powerful language that takes a lot of work, and Visual C++ would also be a good choice. |
Forum: C Feb 23rd, 2005 |
| Replies: 5 Views: 7,683 I had realized that a bit after I posted, but I seem to be getting the low bit instead of the high bit, which is the one I need.
Isn't there a HIGH() operator or something? |
Forum: C Feb 23rd, 2005 |
| Replies: 5 Views: 7,683 Here is the MSDN entry for the function:
GetKeyState()... |
Forum: C Feb 23rd, 2005 |
| Replies: 2 Views: 11,508 I don't know the function, but search for "define window" "resize window" and "split window" |
Forum: C++ Feb 23rd, 2005 |
| Replies: 3 Views: 3,142 Also, next time you post code use the [code] tag to make it easier to read and get rid of the smiles. |
Forum: C Feb 23rd, 2005 |
| Replies: 5 Views: 7,683 At the beginning of an "IF" statement, I have:
if (SHORT GetKeyState(int 48)==1){
When compiling I get a syntax error just before the constant, and I've played around with it a bit, but haven't... |
Forum: C++ Feb 3rd, 2005 |
| Replies: 3 Views: 1,776 They would miss the key they were aiming for, or feel like acting stupid. It's more for the sake of perfection, and I might learn something about how text characters are stored in integers, if at... |
Forum: C++ Feb 3rd, 2005 |
| Replies: 3 Views: 1,776 I have a PvP TicTacToe program running, and everything is working fine, except for one thing: when a text character (q,w,e,etc) is entered the loop goes wild.
Here's the portion of the code the... |
Forum: C++ Feb 3rd, 2005 |
| Replies: 3 Views: 2,772 I won't write it in executable code, but this would be how to break out of the loop when 999 is entered.
while exit is not one{
input number
if number is not 999 sum=sum+number else... |
Forum: C++ Jan 26th, 2005 |
| Replies: 0 Views: 4,890 I have just started using C++ after a year or two of a BASIC language, and I wanted to do something that required some logic, but not a lot of different commands. I decided to do a tic tac toe... |