Jump to content

MartinaL

Member
  • Posts

    47
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Everything posted by MartinaL

  1. Thanks The only reason it is written in ASP is because it is a pre-existing website, it is definity not by choice!
  2. Ok i have narrowed it down to these 2 lines of code that are crashing the page; sUnlock = CStr(CInt(sSerialNo(i)) + iPrevDigit) & sUnlock iPrevDigit = CLng(sSerialNo(i)) + 17 + Int(iCount / 2) All i know is they are supposed to return and unlock number based on the Serial Number submited. HELP! Anyone know why this would crash the page?
  3. First I get the error; Microsoft VBScript compilation error '800a0401' Expected end of statement /testdelphi.asp, line 27 Next iCount -----^ So I took the iCount off the end and now I get this error; Microsoft VBScript runtime error '800a000d' Type mismatch: 'UBound' /testdelphi.asp, line 22 This is being run in a subroutine in an asp website.
  4. I am a VB programmer and I have been given some code that is written in Delphi that I need to use on an ASP website so I need to re-write it as VB. Does anyone know how the following code should be written in VB? iPrevDigit := 17; sUnlock := ''; for iCount := length(sSerialNo) downto 1 do begin sUnlock := chr(ord(sSerialNo[iCount]) + iPrevDigit) + sUnlock; iPrevDigit := StrToInt(sSerialNo[iCount]) + 17 + trunc(iCount/2); end;
  5. I finally got this to work, but I need to run it to add a link to a document not a program, is this possible? This is the line I am using and it is not working; psexec \\aws0359 -c shortcut -t "\\hvws10\Data\Shared Access\Marketing Activity Plan\AWS Marketing Activity Plan.xls" -n "C:\Documents and Settings\All Users\Desktop\AWS Marketing Activity Plan"
  6. Alright so I found the problem, I had to put shortcut.exe in the same folder as psexec.exe and change the location of the command line to where they where located so; X:\Utilities\PsTools>psexec \\hostname -c shortcut -t C:\Windows\system32\cmd.exe -n "C:\Documents and Settings\All Users\Desktop\Test" Anyhow, so I want to run this from a batch file so I can feed in the list of around 70 "hostnames" and it will run on each, any ideas??
  7. Thanks heaps. But when i try to run this line from a cmd prompt I get the following error "the specified application is not on the path"
  8. I need to deploy a Desktop Short to around 70 remote computers, Is there a way of doing this? If there is a way, how
  9. Yes but i need to make this change remotely to around 40 pc's
  10. Is it possible to run a reg tweak that will disable the accessories in the start menu? We are trying to lockdown the computers in our call centre so the users have limited access and this is one of the areas we don't want them to have access to?
  11. This may be a stupid thing to say, but i don't understand?? I have created the driver pack but now what do i do, the last tip doesn't help much
  12. Is it possible to edit the text that is placed on your desktop when you select to have PaintDesktopVersion displayed in regedit?? I want to change this to show a version number of my creation??
  13. I just got 30 new computers and i don't want to have to run the driver CD on them after I have run my Unattended XP install CD, so is there some way of getting the drivers of the CD that came with the PC,s and getting it to run from the Unattended CD?
  14. I found the solution, have tested it and it works ;Disable Java Auto Updates [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy] "EnableAutoUpdateCheck"=dword:00000000
  15. Tried this, and it didn't work. Am i supposed to replace the - after the = with something?
  16. Hi, I am trying to install Sun Java JRE 1.4.2_07 and I want to turn the automatic updates off when it is installed but whenever I add the code to do this to the RunOnceEx file it doesn't install Java at all and just skips it and goes onto install the next App. This is code that works and does install REG ADD %KEY%\051 /VE /D "Sun Java 1.4.2" /f REG ADD %KEY%\051 /V 1 /D "%systemdrive%\install\Java\j2re-1_4_2_07-windows-i586-p.exe /s /v/qn" /f But when I add the code suggested by Sun Java to turn off the Auto UPdates it doesn't work. Any ideas why?? I have tried various combinations of this but none work. They are; REG ADD %KEY%\051 /VE /D "Sun Java 1.4.2" /f REG ADD %KEY%\051 /V 1 /D "%systemdrive%\install\Java\j2re-1_4_2_07-windows-i586-p.exe /s /v/qn" JAVAUPDATE=0 /f REG ADD %KEY%\051 /VE /D "Sun Java 1.4.2" /f REG ADD %KEY%\051 /V 1 /D "%systemdrive%\install\Java\j2re-1_4_2_07-windows-i586-p.exe /s /v/qn" "JAVAUPDATE=0" /f REG ADD %KEY%\051 /VE /D "Sun Java 1.4.2" /f REG ADD %KEY%\051 /V 1 /D "%systemdrive%\install\Java\j2re-1_4_2_07-windows-i586-p.exe /s /v" "/qn JAVAUPDATE=0" /f REG ADD %KEY%\051 /VE /D "Sun Java 1.4.2" /f REG ADD %KEY%\051 /V 1 /D %systemdrive%\install\Java\j2re-1_4_2_07-windows-i586-p.exe /s /v "/qn JAVAUPDATE=0" /f HELP
  17. Where abouts to I put this piece of code??
  18. Thanks, i'll try that. I went to the https://www.stgeorge.com.au/int_bank/quicklinks/default.asp then clicked on log in, then compatibility and it told me I was missing these things
  19. NO I mean, in my unattended install how do i set it up so that when it installs the Guest account is turned off? Sorry, didn't explain very well
  20. Hi I am installing the java runtimes through runonceex with the following code REG ADD %KEY%\051 /VE /D "Sun Java VM 1.4.2" /f REG ADD %KEY%\051 /V 1 /D "%systemdrive%\install\j2re-1_4_2_07-windows-i586-p.exe /s /v/qn [IEXPLORER=1]" /f But it doesn't seem to install properly because when I go to sites that need it to open certain things is doesn't seem to fire up. One site said that I didn't have Java VM, Apple Java and Apple MRJ installed, but aren't these included in the j2re?? Any ideas what I am doing wrong?
  21. Did any one work out a way of doing this that worked? If so, what was it??
  22. so you don't need any swithces at all for these??
  23. So if i add the cab file it should install?
×
×
  • Create New...