Hey,
I got Windows 98 Service Pack 1 installed and was wondering
what other service packs are out there and where can I get them? - been to MS site but cant find anything.
Thank you.
Hey,
I've got this VBScript function that
returns the path of a specified file
which I want to use in an ASP page but
get the following error:
Server object error 'ASP 0177 : 800a0035'
Server.CreateObject Failed
/myDir/myFile.asp, line 14
00000000
Here is the code that gives
the above...
Hey,
I've got this SQL code that works fine for searching a field called "Surname" in a table called "tblCustomer" for
the character "S".
SELECT * FROM tblCustomer
WHERE Surname LIKE 'S'
ORDER BY Surname;
The problem is, that I get all the surnames that contain...
Hey,
Does anyone know how to do
the Java equivalent of the
C++ "cin >>" storing into a
variable operation?
C++
int x = 0;
cout << "Enter a number: ";
cin >> x;
Java
int x = 0;
System.out.println("Enter a number: ");
x = System.in.readLine(); // This don't...
Hey,
Does anyone know how to output
the double-quote " character
in VBScript? (Escape characters)
For example, in JavaScript, the
following would output
(with double-quotes)
the string "Hello, world!"
in a message-box:
alert("\"Hello, world!\"");
The...
Hey,
The following code tries to read a text file "myFile.txt" and store the contents of this file into a String variable called "strFileData" and then output this variable to standard output.
It does'nt work!
Why does this variable contain integers?
Where is the string...
Why does the <STYLE>...</STYLE> tag not work in Netscape? And what is the way around to fix this?
For example, this works in IE:
<STYLE>
<!--
A:HOVER{COLOR: #000000; BACKGROUND-COLOR: #A6CAF0;}
.clsTD
{
FONT-FAMILY: Verdana;
FONT-SIZE: 13;
COLOR: #A6CAF0;
BACKGROUND-COLOR: #E0E0E0...
Hey,
Does anyone know how to read
and write to text files in Java?
In C++, to read a file, you would do:
(stores the contents into array "data")
ifstream f("myFile.txt")
char ch;
char* data = " ";
while (f.get(ch))
{
data << ch;
}
f.close();
In C++, to...
/*
MyApp.java
Upon clicking on the
the menu item "myMenuItem"
from the menu "myMenu",
A dialog box will appear.
This dialog box contains
a textfield; but you cannot
enter data into it - Why?!
Thanks,
Steve.
*/
import java.awt.*;
import java.awt.event.*;
class...
When opening up directories 3 or more levels deep my computer takes a while (about 4 seconds) to display the contents, and it takes even longer with deeper directory structures; I have directory structures that go 8 or more levels deep!. Why is does it take so long to display the contents...
Whoever responded to my question
"How to make menus in VC++ using MFC"
then please reply back again as I have
received nothing!
Thanks,
Steve.
Someone out there seemed to had responded to my question about "How to make menus in VC++ using MFC" earlier on, but for some reason I cannot find the response! All I got was a link emailed to me saying "click here someone has responded to your question", so I did and found...
How do you do the JavaScript equivalent of "\n" for a newline in a VBScript message box.
JavaScript: alert("Line 1" + "\n" + "Line 2");
VBScript : MsgBox("Line 1" & "??" & "Line 2")
Thank you,
Steve.
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.