Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: stevepuri
  • Order by date
  1. stevepuri

    Win98 service packs

    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.
  2. stevepuri

    Floating frames

    Hey, I don't quite understand what you require but have this *experimental* code. Hope it helps. (For a better layout, copy all and paste to Notepad) <HTML> <TITLE>Flying Frame</TITLE> <SCRIPT LANGUAGE=&quot;JavaScript&quot;> <!-- /* FlyingFrame.html A flying frame. JavaScript. Steve...
  3. stevepuri

    jtextarea stays blank when typing in it

    Hi, Read this: thread269-73863
  4. stevepuri

    &quot;Server.CreateObject() Failed&quot; ASP help

    I just found the solution somewhere on the Web! Thought I'd post it here to help others... <% @ LANGUAGE=&quot;VBSCRIPT&quot; %> <HTML> <HEAD> <TITLE>myFile.asp</TITLE> </HEAD> <BODY> <% Dim dbPATH dbPATH = Server.MapPath(&quot;myDatabase.mdb&quot;) %> Path of database on server...
  5. stevepuri

    &quot;Server.CreateObject() Failed&quot; ASP help

    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...
  6. stevepuri

    SQL &quot;LIKE&quot; clause help

    I'll give you the &quot;real&quot; problem code. I am using this query in VBScript as part of an ASP page: Dim query Dim query1 'query variable below 'contains &quot;S&quot; or another character query = Request.Form(&quot;txtQuery&quot;) 'query1 below contains &quot;S*&quot; 'or another...
  7. stevepuri

    SQL &quot;LIKE&quot; clause help

    Hey, I tried adding on the * but it now gives no results whatsoever! Any other ideas? Thanks, Steve.
  8. stevepuri

    SQL &quot;LIKE&quot; clause help

    Hey, I've got this SQL code that works fine for searching a field called &quot;Surname&quot; in a table called &quot;tblCustomer&quot; for the character &quot;S&quot;. SELECT * FROM tblCustomer WHERE Surname LIKE 'S' ORDER BY Surname; The problem is, that I get all the surnames that contain...
  9. stevepuri

    Java equivalent of C++ &quot;cin &gt;&gt;&quot; ?

    Hey, Does anyone know how to do the Java equivalent of the C++ &quot;cin >>&quot; storing into a variable operation? C++ int x = 0; cout << &quot;Enter a number: &quot;; cin >> x; Java int x = 0; System.out.println(&quot;Enter a number: &quot;); x = System.in.readLine(); // This don't...
  10. stevepuri

    Outputting escape characters?

    Hey, Does anyone know how to output the double-quote &quot; character in VBScript? (Escape characters) For example, in JavaScript, the following would output (with double-quotes) the string &quot;Hello, world!&quot; in a message-box: alert(&quot;\&quot;Hello, world!\&quot;&quot;); The...
  11. stevepuri

    Msgbox title

    Hey, Have you tried this?: MsgBox &quot;My message&quot;, vbSystemModal, &quot;My title&quot; Steve.
  12. stevepuri

    Right-click menu sticks on &quot;New&quot; when scrolled over...

    I have this problem too! I assume its my hardware specification: Win98 166MHz 24MB RAM 300MB out of 2GB free Whats your specification?
  13. stevepuri

    Reading text files (.txt) trouble

    Hey, The following code tries to read a text file &quot;myFile.txt&quot; and store the contents of this file into a String variable called &quot;strFileData&quot; and then output this variable to standard output. It does'nt work! Why does this variable contain integers? Where is the string...
  14. stevepuri

    The &lt;STYLE&gt; tag in Netscape?

    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...
  15. stevepuri

    How do you read and write to text files?

    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 &quot;data&quot;) ifstream f(&quot;myFile.txt&quot;) char ch; char* data = &quot; &quot;; while (f.get(ch)) { data << ch; } f.close(); In C++, to...
  16. stevepuri

    Change the OS Date/Time

    Thanks! The above code works great! However, just to tidy up, is there a line of code that will close the MS-DOS window after the code has executed? I tried adding the lines: fileOut.WriteLine &quot;exit&quot; or wShell.Close run_this but they did not work...
  17. stevepuri

    Change the OS Date/Time

    Does anyone know how to change the OS Date/Time using VBScript or JavaScript ? Thanks, Steve
  18. stevepuri

    Change the OS Date/Time

    Does anyone know how to change the OS Date/Time using VBScript or JavaScript ? Thanks, Steve
  19. stevepuri

    Slow on opening directories

    Yes, I have done defrag which takes ages. I have deep directory structures in: c:\windows\desktopc:\my documents\ - 8+ levels I did &quot;scandisk /fragment system.dat&quot; and got this message: &quot;c:\windows\system.dat contains 21 noncontiguous blocks.&quot; I did &quot;scandisk...
  20. stevepuri

    Can't enter data into textfield

    /* MyApp.java Upon clicking on the the menu item &quot;myMenuItem&quot; from the menu &quot;myMenu&quot;, 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...

Part and Inventory Search

Back
Top