Welcome, Guest. Please login or register. Did you miss your activation email?
Pages: [1] 2
  Print  
Author Topic: HTA Refreshing Window Problem.  (Read 2155 times)
Metroidn1f
Jr. Member
**
Posts: 51



View Profile
« on: January 14, 2010, 04:58:18 PM »

I have this HTA File Window that opens up the contents of a log file in a folder in the C:\ directory, into the HTA Window.  If I do not have the refresh script line in, it will load all of the contents of the log file into the HTA, but if I want to update it, I have to close it and reopen it.  The log is getting created by batch, there is no problem with that.  Now, when I add the refresh line to the HTA, it only opens up the last line that was in the log, and when it refreshes, it replaces the current log that is loaded into the HTA with the last line of the log when it was added.  Can anybody help me with this?  I want the the HTA to open all the contents of the log file into the HTA, does anyone know how to do that?   I will post my HTA up in here.

I was talking to Britec09 on You Tube, he said there is this guy named Bradley that might be able to help me.  Well here is my HTA.

Script without Bradleys help.  (Below)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Script #1.
<Title>Log of installation</Title>
<HTA:APPLICATION ID="Log"
SCROLL="Auto"
SCROLLFLAT="No"
SingleInstance="Yes"
ShowInTaskbar="Yes"
SysMenu="Yes"
MaximizeButton="No"
MinimizeButton="No"
Border="Thin"
BORDERSTYLE="Complex"
INNERBORDER="No"
Caption="Yes"
WindowState="Normal"
APPLICATIONNAME="MainApp"
Icon="%SystemRoot%\winhlp32.exe">
<STYLE type="text/css">
BODY
{
Font-Size:8.25pt;
Font-Weight:Bold;
Font-Family:Lucida Console;
Color:#FFFFFF;
BackGround-Color:#000000;
Margin-Top:12;
Margin-Bottom:0;
Margin-Left:10;
Margin-Right:12;
Padding-Top:0;
Padding-Bottom:0;
Padding-Left:0;
Padding-Right:0;
Text-Align:Left;
Vertical-Align:Top;
}
TD.Type1
{
Margin-Left:0;
Padding-Left:0;
}
</STYLE>
<script Language='VBSCRIPT'>
'-> Resize And Move Window
Dim Wth :Wth = int(800)
Dim Hht :Hht = int(200)
window.ResizeTo Wth, Hht
MoveTo ((Screen.Width / 2) - (Wth / 2)),((Screen.Height / 1.1) - (Hht / 1))
'-> Text Display Varible
Dim F1 :F1 = "<FONT STYLE='Font:8.25pt;Color:#FFFFFF;Font-Weight:Bold;'>"
'-> OnLoad Action
Function Window_OnLoad()
txt1.innerHTML = F1 & "*********************************************************************************************</FONT>"
txt2.innerHTML = F1 & "This Scirpt was created by Metroidn1f. (Franky Magliocco)</FONT>"
txt3.innerHTML = F1 & "*********************************************************************************************</FONT>"

call setInterval("refresh()", 300)

End Function
</SCRIPT>
<BODY Scroll='Auto'>
<!-- txt1 Display -->
<Table><TD Class='Type1'><Span ID='txt1'></Span></TD></Table>
<!-- txt2 Display -->
<CENTER><Table><TD Class='Type1'><Span ID='txt2'></Span></TD></Table></CENTER>
<!-- txt3 Display -->
<Table><TD Class='Type1'><Span ID='txt3'></Span></TD></Table>


<SCRIPT LANGUAGE="VBScript">

function getdata()

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile ("C:\Metroidn1f Log\Log.log", 1)
Do Until objTextFile.AtEndOfStream
getdata = objTextFile.Readline & "<br>"
Loop

end function

function refresh()
document.all.upd.InnerHTML = getdata()
end function

document.write "<SPAN id='upd'>" & getdata() & "</SPAN>"

</script>
</BODY>

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Script with Bradleys help.  (Below)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Script #2.
<Title>Log of installation</Title>
<HTA:APPLICATION ID="Log"
SCROLL="Auto"
SCROLLFLAT="No"
SingleInstance="Yes"
ShowInTaskbar="Yes"
SysMenu="Yes"
MaximizeButton="No"
MinimizeButton="No"
Border="Thin"
BORDERSTYLE="Complex"
INNERBORDER="No"
Caption="Yes"
WindowState="Normal"
APPLICATIONNAME="MainApp"
Icon="%SystemRoot%\winhlp32.exe">
<STYLE type="text/css">
BODY
{
Font-Size:8.25pt;
Font-Weight:Bold;
Font-Family:Lucida Console;
Color:#FFFFFF;
BackGround-Color:#000000;
Margin-Top:12;
Margin-Bottom:0;
Margin-Left:10;
Margin-Right:12;
Padding-Top:0;
Padding-Bottom:0;
Padding-Left:0;
Padding-Right:0;
Text-Align:Left;
Vertical-Align:Top;
}
TD.Type1
{
Margin-Left:0;
Padding-Left:0;
}
</STYLE>
<script Language='VBSCRIPT'>
'-> Resize And Move Window
Dim Wth :Wth = int(800)
Dim Hht :Hht = int(200)
window.ResizeTo Wth, Hht
MoveTo ((Screen.Width / 2) - (Wth / 2)),((Screen.Height / 1.1) - (Hht / 1))
'-> Text Display Varible
Dim F1 :F1 = "<FONT STYLE='Font:8.25pt;Color:#FFFFFF;Font-Weight:Bold;'>"
'-> OnLoad Action
Function Window_OnLoad()
txt1.innerHTML = F1 & "*********************************************************************************************</FONT>"
txt2.innerHTML = F1 & "This Scirpt was created by Metroidn1f. (Franky Magliocco)</FONT>"
txt3.innerHTML = F1 & "*********************************************************************************************</FONT>"

call setInterval("refresh()", 300)

End Function
</SCRIPT>
<BODY Scroll='Auto'>
<!-- txt1 Display -->
<Table><TD Class='Type1'><Span ID='txt1'></Span></TD></Table>
<!-- txt2 Display -->
<CENTER><Table><TD Class='Type1'><Span ID='txt2'></Span></TD></Table></CENTER>
<!-- txt3 Display -->
<Table><TD Class='Type1'><Span ID='txt3'></Span></TD></Table>


<SCRIPT LANGUAGE="VBScript">

function getdata()

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile ("C:\Metroidn1f Log\Log.log")
objTextFile.function refresh()
getdata = objTextFile.Readline & "<br>"
Loop
end function

Set wshshell=wscript.createobject("wscript.shell")
wshshell.run("C:\Metroidn1f Log\Log.log")
end function


document.all.upd.InnerHTML = getdata()
end function

document.write "<SPAN id='upd'>" & getdata() & "</SPAN>"

</script>
</BODY>

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Script #1.
Here is a video of what the HTA window that Bradley did not help me with does.

<a href="http://www.youtube.com/watch?v=bJE2roXU01A" target="_blank">http://www.youtube.com/watch?v=bJE2roXU01A</a>

Or here is a direct link to the video on You Tube.


Script #2.
Here are still pictures of the errors that I get so you don't have to watch the video.

Here is a video of what the HTA windows that Bradley helped me with does.  

<a href="http://www.youtube.com/watch?v=qRLZdCkXBs0" target="_blank">http://www.youtube.com/watch?v=qRLZdCkXBs0</a>

Or here is a direct link to the video on You Tube.
« Last Edit: February 01, 2010, 10:22:03 PM by Metroidn1f » Logged

I might only be 16, but I am really smart with computers!
Britec
Administrator
Hero Member
*****
Posts: 3345



View Profile
« Reply #1 on: January 20, 2010, 08:01:51 AM »

Bradley does all script stuff, not that hot on it meself.
Logged



Metroidn1f
Jr. Member
**
Posts: 51



View Profile
« Reply #2 on: January 22, 2010, 03:58:55 PM »

Could you refer him to this forum please?  I have been having trouble with this for a while now.  I am adding all the log commands to my batch file, I don't want to have to add the open and execute command to each of the logs too, it is already over 8000 words.
Logged

I might only be 16, but I am really smart with computers!
BJseal91
Hero Member
*****
Posts: 699



View Profile
« Reply #3 on: January 23, 2010, 01:55:37 AM »

you are writing this in jarva script .jse and mixed with .vbs you need to write it in one or the other batch .bat start with @echo off
then has the line set /p op=

after that you would use

if %op% ==1 goto 1

:1
command goes here

I will take a look and write it in batch but this is why it is probley not working

Bradley
Logged
Britec
Administrator
Hero Member
*****
Posts: 3345



View Profile
« Reply #4 on: January 23, 2010, 02:19:33 AM »

Thanks

Bradley
Logged



Metroidn1f
Jr. Member
**
Posts: 51



View Profile
« Reply #5 on: January 23, 2010, 08:30:03 AM »

Okay, now I am confused.  Here is what I am doing.  I have this humongous batch file, that installs a whole bunch of programs.  It either installs every single one or I can choose to prompted with a hta window so I can choose what programs to install.  I have like 30 hta files that asks me if I want to install each program.  I use the batch file to make the log, like this: Echo %Date% %Time% You installed whatever.>> %Temp%\log.log  I want to use the hta window to open up the log and what ever is in the log, gets posted into the hta window.  If I don't have the refresh line, it will open up all of it, but if I want it to update, I have to either make a command to close it, VIA taskkill then reopen it with a command, VIA start, or open and close it manually.  But what I want the hta window to so is, refresh every second.  I can get it to refresh, but it only adds the last line that is in the log, with the current line that is in the hta window, so there is only one line every time it refreshes, I want it to refresh everything.  Here is an example.

Say I have this in the log>

example 1
example 2

When I open up the hta window that has the refresh script in it, it will only right the last line, which is example 2. 

Now when I add another line to the log, like this.

example 1
example 2
example 3

When the hta window refreshes it will replace the line that is currently there, which is example 2, with the last line in the log which is example 3.  I want it to show all the lines, example 1 - example 3.
Logged

I might only be 16, but I am really smart with computers!
BJseal91
Hero Member
*****
Posts: 699



View Profile
« Reply #6 on: January 23, 2010, 08:56:40 AM »

I want to help you with this this is where i am getting confused I get the fact you want to install the programs 1 by 1 and have a log of when they where installed and time and keep having it refreshed I think i have that part right i have writen a script for you this afternoon that dose what i think you are after

gives you date time and program information which gives  you details and each time you click on the scipt it gives you the new date and times

points

in the hta log you have errors in the script becuase it has been writen with .jse Jarva and vbs visual basic script and cant use the 2 together that is why it is kiking off a error message

secondly the log should end with log.txt not log.log there is no surch point in the computer
I will upload the script in 1/2 and hour for you to save in notepad and save the ext install.vbs if you are still unsure of what I am saying is not correct you can email the program / script you are having a problem with i noticed that the program was running as a .exe file and not as the origanal file .jse which it is written in if you can not correct any mistakes in that when it is a .exe file read the next discription and try that hope it works Bradley
« Last Edit: January 23, 2010, 10:40:11 AM by BJseal91 » Logged
BJseal91
Hero Member
*****
Posts: 699



View Profile
« Reply #7 on: January 23, 2010, 10:45:58 AM »

Save this in notepad as programs installed.vbs as the file extention

Script to copy into notepad.exe

Dim sTitle
sTitle = "InstalledPrograms.vbs by bj"
Dim StrComputer
strComputer = InputBox("Enter I.P. or name of computer to check for " & _
                       "installed software (leave blank to check " & _
                       "local system)." & vbcrlf & vbcrlf & "Remote " & _
                       "checking only from NT type OS to NT type OS " & _
                       "with same Admin level UID & PW", sTitle)
If IsEmpty(strComputer) Then WScript.Quit
strComputer = Trim(strComputer)
If strComputer = "" Then strComputer = "."

'Wscript.Echo GetAddRemove(strComputer)

Dim sCompName : sCompName = GetProbedID(StrComputer)

Dim sFileName
sFileName = sCompName & "_" & GetDTFileName() & "_Software.txt"

Dim s : s = GetAddRemove(strComputer)

If WriteFile(s, sFileName) Then
  'optional prompt for display
  If MsgBox("Finished processing.  Results saved to " & sFileName & _
            vbcrlf & vbcrlf & "Do you want to view the results now?", _
            4 + 32, sTitle) = 6 Then
    WScript.CreateObject("WScript.Shell").Run sFileName, 9
  End If
End If

Function GetAddRemove(sComp)
  'Function credit to Torgeir Bakken
  Dim cnt, oReg, sBaseKey, iRC, aSubKeys
  Const HKLM = &H80000002 'HKEY_LOCAL_MACHINE
  Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
              sComp & "/root/default:StdRegProv")
  sBaseKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"
  iRC = oReg.EnumKey(HKLM, sBaseKey, aSubKeys)

  Dim sKey, sValue, sTmp, sVersion, sDateValue, sYr, sMth, sDay

  For Each sKey In aSubKeys
    iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, "DisplayName", sValue)
    If iRC <> 0 Then
      oReg.GetStringValue HKLM, sBaseKey & sKey, "QuietDisplayName", sValue
    End If
    If sValue <> "" Then
      iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, _
                                "DisplayVersion", sVersion)
      If sVersion <> "" Then
        sValue = sValue & vbTab & "Ver: " & sVersion
      Else
        sValue = sValue & vbTab
      End If
      iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, _
                                "InstallDate", sDateValue)
      If sDateValue <> "" Then
        sYr =  Left(sDateValue, 4)
        sMth = Mid(sDateValue, 5, 2)
        sDay = Right(sDateValue, 2)
        'some Registry entries have improper date format
        On Error Resume Next
        sDateValue = DateSerial(sYr, sMth, sDay)
        On Error GoTo 0
        If sdateValue <> "" Then
          sValue = sValue & vbTab & "Installed: " & sDateValue
        End If
      End If
      sTmp = sTmp & sValue & vbcrlf
    cnt = cnt + 1
    End If
  Next
  sTmp = BubbleSort(sTmp)
  GetAddRemove = "INSTALLED SOFTWARE (" & cnt & ") - " & sCompName & _
                 " - " & Now() & vbcrlf & vbcrlf & sTmp
End Function

Function BubbleSort(sTmp)
  'cheapo bubble sort
  Dim aTmp, i, j, temp
  aTmp = Split(sTmp, vbcrlf) 
  For i = UBound(aTmp) - 1 To 0 Step -1
    For j = 0 to i - 1
      If LCase(aTmp(j)) > LCase(aTmp(j+1)) Then
        temp = aTmp(j + 1)
        aTmp(j + 1) = aTmp(j)
        aTmp(j) = temp
      End if
    Next
  Next
  BubbleSort = Join(aTmp, vbcrlf)
End Function

Function GetProbedID(sComp)
  Dim objWMIService, colItems, objItem
  Set objWMIService = GetObject("winmgmts:\\" & sComp & "\root\cimv2")
  Set colItems = objWMIService.ExecQuery("Select SystemName from " & _
                                         "Win32_NetworkAdapter",,48)
  For Each objItem in colItems
    GetProbedID = objItem.SystemName
  Next
End Function

Function GetDTFileName()
  dim sNow, sMth, sDay, sYr, sHr, sMin, sSec
  sNow = Now
  sMth = Right("0" & Month(sNow), 2)
  sDay = Right("0" & Day(sNow), 2)
  sYr = Right("00" & Year(sNow), 4)
  sHr = Right("0" & Hour(sNow), 2)
  sMin = Right("0" & Minute(sNow), 2)
  sSec = Right("0" & Second(sNow), 2)
  GetDTFileName = sMth & sDay & sYr & "_" & sHr & sMin & sSec
End Function

Function WriteFile(sData, sFileName)
  Dim fso, OutFile, bWrite
  bWrite = True
  Set fso = CreateObject("Scripting.FileSystemObject")
  On Error Resume Next
  Set OutFile = fso.OpenTextFile(sFileName, 2, True)
  'Possibly need a prompt to close the file and one recursion attempt.
  If Err = 70 Then
    Wscript.Echo "Could not write to file " & sFileName & ", results " & _
                 "not saved." & vbcrlf & vbcrlf & "This is probably " & _
                 "because the file is already open."
    bWrite = False
  ElseIf Err Then
    WScript.Echo err & vbcrlf & err.description
    bWrite = False
  End If
  On Error GoTo 0
  If bWrite Then
    OutFile.WriteLine(sData)
    OutFile.Close
  End If
  Set fso = Nothing
  Set OutFile = Nothing
  WriteFile = bWrite
End Function





when you run the script where it asks for ip address just click on ok and it will load a text docuemnt
Logged
Metroidn1f
Jr. Member
**
Posts: 51



View Profile
« Reply #8 on: January 24, 2010, 10:01:00 AM »

I don't have it saved as a exe, I have it saved as a hta.  I really don't know what the script you just sent me really does.  The log does not just only log the when the installation starts and finishes, it logs everything.  It logs when it goes to something, deletes something, pretty much everything.  And there is such thing as the file extension .log.  It will show up like a txt file and open with a notepad, but it is still a .log.  But if you want me to use, .txt, that will be fine, I just wanted it to be proper.  I am sorry if I am confusing you and making you do all this work, but if you could just make a script that has, black background, white Lucida Console, font size 8.25pt, Bold.  Margin Top 12, Margin Bottom 0, Margin Left 10, Margin Right 12  I don't know if I need this, Padding Top 0, Padding Bottom 0, Padding Left 0, Padding Right 0.  Window size, 800x200, Window Location Screen Width / 2 - Wth /2 Screen Height / 1.1 - Hht / 1
Scroll bar Auto.
First text *********************************************************************************************
Second text This script was made for Metroidn1f.  (Franky Magliocco)  Made by Bradley or BJseal91 (Just put what ever you want there)  And if it can be, centered.
Third text *********************************************************************************************
It to open the file "C:\Metroidn1f Log\Log.log"  Or Log.txt if you can't get .log to work with your way, I know it works with my way.
Open the whole log contents into the hta widnow, if there is three logs in the log file, there will be three logs in the hta widnow, once another log is added to the log file, so now there is four logs in the log file, there will not be four logs in the hta window, not seven.  And the hta window to refresh ever second automatically.  If it is possible, I don't want to have to do anything for the window to refresh, it should just do it by it self, every 1 second.

It does not have to be a hta window, that is just what I am saying because that is what I am using right now, you can change it to what ever file you want, as long as it will do what I want, if possible.

Thank you so much for your help, I really appreciate it.  Just take your time, you don't have to go straight to it.
Logged

I might only be 16, but I am really smart with computers!
BJseal91
Hero Member
*****
Posts: 699



View Profile
« Reply #9 on: January 24, 2010, 01:46:54 PM »

Sorry about the confusion there i was  :o about the icon becuase it is the icon of a executable but now understand it is HTML web scripting so yes i will upload the script in a cuple of days for you no problem now is know what it is i can sort it out also I will do the .log file for you as it is existant on your computer getting to understand what you where after speak soon

Also the script I sent to you was to view installed programs on your computer and the install dates and time of log it can be a useful 1 to have a look copy

the code into notepad and save the file name as installed.vbs

then click on the script and it gives you a list of all programs installed and the log and time and dates programs where installed also the product info

Smiley

Bradley
« Last Edit: January 24, 2010, 01:53:56 PM by BJseal91 » Logged
Metroidn1f
Jr. Member
**
Posts: 51



View Profile
« Reply #10 on: January 30, 2010, 10:19:01 AM »

I hate to rush you, but, when are you going to post up that script?
Logged

I might only be 16, but I am really smart with computers!
BJseal91
Hero Member
*****
Posts: 699



View Profile
« Reply #11 on: January 31, 2010, 04:44:41 AM »

of couse I will do it monday morning for you and upload sorry for delay I Had to go to london and had no access to a computer  I am rebuilding a computer today and I will do your script tommrow by 1PM speak soon

Bradley
Logged
Britec
Administrator
Hero Member
*****
Posts: 3345



View Profile
« Reply #12 on: February 01, 2010, 03:10:38 AM »

Metroidn1f
when someone is helping you for free please wait untill Bradley has the time to complete your script.
I know you want it done quick, but please remember Bradley is giving up is own free time to do this for you.
Logged



Metroidn1f
Jr. Member
**
Posts: 51



View Profile
« Reply #13 on: February 01, 2010, 11:01:42 AM »

Okay sorry.  I was not trying to rush him, Bradley if you thought that, I am sorry.  You just said you would post it up in a couple of days.  So like after a week I thought you had forgot, so I was just trying to remind you.  I did not know you did not have access to a computer, if I knew I would of never posted that message.  I am so sorry if you thought that in the wrong way.
Logged

I might only be 16, but I am really smart with computers!
BJseal91
Hero Member
*****
Posts: 699



View Profile
« Reply #14 on: February 01, 2010, 02:28:31 PM »

That is fine here is the code to correct the vbscript on what you want to do the rest of it i left the same
becuase I am not so good at wrighting HTLM or hta here is the code

<Title>Log of installation</Title>
<HTA:APPLICATION ID="Log"
SCROLL="Auto"
SCROLLFLAT="No"
SingleInstance="Yes"
ShowInTaskbar="Yes"
SysMenu="Yes"
MaximizeButton="No"
MinimizeButton="No"
Border="Thin"
BORDERSTYLE="Complex"
INNERBORDER="No"
Caption="Yes"
WindowState="Normal"
APPLICATIONNAME="MainApp"
Icon="%SystemRoot%\winhlp32.exe">
<STYLE type="text/css">
BODY
{
Font-Size:8.25pt;
Font-Weight:Bold;
Font-Family:Lucida Console;
Color:#FFFFFF;
BackGround-Color:#000000;
Margin-Top:12;
Margin-Bottom:0;
Margin-Left:10;
Margin-Right:12;
Padding-Top:0;
Padding-Bottom:0;
Padding-Left:0;
Padding-Right:0;
Text-Align:Left;
Vertical-Align:Top;
}
TD.Type1
{
Margin-Left:0;
Padding-Left:0;
}
</STYLE>
<script Language='VBSCRIPT'>
'-> Resize And Move Window
Dim Wth :Wth = int(800)
Dim Hht :Hht = int(200)
window.ResizeTo Wth, Hht
MoveTo ((Screen.Width / 2) - (Wth / 1)),((Screen.Height / 1.1) - (Hht / 1))
'-> Text Display Varible
Dim F1 :F1 = "<FONT STYLE='Font:8.25pt;Color:#FFFFFF;Font-Weight:Bold;'>"
'-> OnLoad Action
Function Window_OnLoad()
txt1.innerHTML = F1 & "*********************************************************************************************</FONT>"
txt2.innerHTML = F1 & "This Scirpt was created by Metroidn1f. (Franky Magliocco)</FONT>"
txt3.innerHTML = F1 & "*********************************************************************************************</FONT>"

call setInterval("refresh()", 7000)

End Function
</SCRIPT>
<BODY Scroll='Auto'>
<!-- txt1 Display -->
<Table><TD Class='Type1'><Span ID='txt1'></Span></TD></Table>
<!-- txt2 Display -->
<CENTER><Table><TD Class='Type1'><Span ID='txt2'></Span></TD></Table></CENTER>
<!-- txt3 Display -->
<Table><TD Class='Type1'><Span ID='txt3'></Span></TD></Table>


<SCRIPT LANGUAGE="VBScript">

function getdata()

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile ("C:\Users\%username%\AppData\Local\Temp\log\log.log")
objTextFile.function refresh()
getdata = objTextFile.Readline & "<br>"
Loop
end function

Set wshshell=wscript.createobject("wscript.shell")
wshshell.run("C:\Users\%username%\AppData\Local\Temp\log\log.log)
end function


document.all.upd.InnerHTML = getdata()
end function

document.write "<SPAN id='upd'>" & getdata() & "</SPAN>"

</script>
</BODY>

should this be incorrect Email http://www.youtube.com/user/jakash3 on you and ask him to help you he is amazing and it was him that taught me how to write code so give him a try I have corrected the .vbs script but not so sure about the rest of it but it was the script that has the problem with it also I noticed the is a script for vista computer remember most scripts in vista will not run in nornal mode you have to run them in safe mode becuase it is to do with a system folder that is protected so will not read unless in safemode
hope this helps you if it dose not sorry but not so good on html / hta but jak is

speak soon Bradley
Logged
Pages: [1] 2
  Print  
 
Jump to: