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 gkittelson 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: *

  1. MrsMopey

    Object Expected: Javascript/HTML

    tsumji, I did change that line, but I still get the same error message. In addition I get another message: Line 46 Char 5 telnetdlx is not declared <script type = "text/javascript"> dim telnetdlx; with (telnetdlx) { TerminalEmulation = 1; //use VT1000 Emulation AutoSize = true...
  2. MrsMopey

    Object Expected: Javascript/HTML

    I have moved this post to the javascript forum. Trollacious: When I open the webpage in FireFox, it opens fine, but the ActiveX component doesn't function. FireFox opens a 2nd window and the error message is : cannot find file : c:\
  3. MrsMopey

    Object Expected: Javascript/HTML

    Hello, I keep getting the error "Object Expected: Line 28 Char 1". That line is my button line ("BUTTON ONCLICK= "Connect") I've checked everything I could think of, but it's still not rendering correctly. I need some more eyes to see what I don't <!-- Title: Reset SX User Intranet Page...
  4. MrsMopey

    Object Expected: Javascript/HTML

    Hello, I keep getting the error "Object Expected: Line 28 Char 1". That line is my button line ("BUTTON ONCLICK= "Connect") I've checked everything I could think of, but it's still not rendering correctly. I need some more eyes to see what I don't <!-- Title: Reset SX User Intranet Page...
  5. MrsMopey

    If cell is not bold, copy to next column; excel

    OK, so the more I thought about this the more it seemed there had to be a better way to parse this out without using the bold. Well ta-dah! I found it, but still unsure how to split it Each time the word SPECIFICATIONS appears I want to create a new cell so I was thinking something like Sub...
  6. MrsMopey

    If cell is not bold, copy to next column; excel

    Hello, I have a name of a product in bold, a description, and a price. The name and description are in teh same column, but in different cells IE: Name Price ElevatorELE50-450Basic 4.495 Simpleandrobuststraightelevator toputtheproduceintothedosinghopperontop...
  7. MrsMopey

    pass underscore to telnet session

    I am using active socket here is the function: function Receive () { while ( objSocket.HasData () == -1 ) { textReceive.value = textReceive.value + objSocket.ReceiveString (); } setTimeout("Receive()",1000); } function Init () { Receive...
  8. MrsMopey

    pass underscore to telnet session

    Yes that is what I started with and I still had the square in front, that's why I tried the escape character. I also tried to use the HTML character name(because my page is HTML with a javascript), but that didn't work either.
  9. MrsMopey

    pass underscore to telnet session

    Does anyone know how to pass an underscore to a telnet session? right now I have in my code: <!--textResult.value = ("SHUT\_USER " ) + (textCoNo.value)+ (textUInit.value);--> but it displays on the telnet sessions as : (volmrs)# SHUT _USER
  10. MrsMopey

    Wscript.shell.sendkeys

    Well thanks for the reply, I have started to build the ASP application, this is actually a rewrite of an existing intranet site that was quite poor. I don't want to see a telnet window when I am running these commands during production, but I do want to see what is going on during testing. Now...
  11. MrsMopey

    Wscript.shell.sendkeys

    Well, thanks for the help but I just don't get what I am doing here at all. I thought this was going to be a simple little task, just code a bit of HTML and open a cmd prompt, then I start delving into the w3socket stuff and find out I can't script to a telnet window. So I am just to frustated...
  12. MrsMopey

    Wscript.shell.sendkeys

    I changed the code again: <HTML> <HEAD> <TITLE> Reset SX User </TITLE> <SCRIPT LANGUAGE="vbscript"> Option Explicit Dim w3sock Set w3sock = CreateObject("socket.tcp") With w3sock .DoTelnetEmulation = True .TelnetEmulation = "TTY" .Host = "volmrs" .Open .WaitFor "login:"...
  13. MrsMopey

    Wscript.shell.sendkeys

    I threw a MsgBox command in to see if I had an error and I get an error number : 2147418113 whatever the heck that is.
  14. MrsMopey

    Wscript.shell.sendkeys

    Yep, I fixed that back to Socket.TCP, and now I don't get the error, but I don't see a cmd window open so how do I know if the command executed correctly?
  15. MrsMopey

    Wscript.shell.sendkeys

    I dunno, I was following the readme.txt that downloaded with the w3socket app. This is the first time I have had to use this, so I don't quite know what I am doing. If I have my syntax wrong, can you point me in the right direction.
  16. MrsMopey

    Wscript.shell.sendkeys

    I changed as you suggested: <SCRIPT LANGUAGE="vbscript"> OPTION EXPLICIT Sub cmdReset_OnClick Dim txtUserID Dim txtCoNo Dim oSocket, iErr, sSocketText sSocketText = "" Set oSocket = CreateObject("Scripting.FileSystemObject") oSocket.Host = "volmrs" On Error Resume Next oSocket.Open iErr =...
  17. MrsMopey

    Wscript.shell.sendkeys

    I have downloaded the w3sockets, but I am getting an error in my sleep command. Here is my w3socket code Sub ResetUser Dim oSocket, iErr, sSocketText sSocketText = "" Set oSocket = CreateObject("Socket.TCP") oSocket.DoTelnetEmulation = True oSocket.TelnetEmulation = "TTY" oSocket.Host =...
  18. MrsMopey

    Wscript.shell.sendkeys

    PHV, I changed the code as you suggested, however it still 'hangs' on the login prompt as before. Updated code: Sub cmdReset_OnClick Dim txtUserID Dim txtCoNo Dim objShell txtUserID = frmForm1.txtUserID.Value txtCoNo= frmForm1.txtUserID.Value Set objShell = CreateObject("wscript.Shell")...
  19. MrsMopey

    Wscript.shell.sendkeys

    Hi, I am trying to open a cmd prompt from an HTML page. I want to be able to log in to a telnet session, pass two variables from textboxes on the HTML form and execute a command. So far this is what I have: <HTML> <HEAD> <TITLE> Reset SX User </TITLE> <SCRIPT LANGUAGE="vbscript"> OPTION...

Part and Inventory Search

Back
Top