Jump to content

MartinaL

Member
  • Posts

    47
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

About MartinaL

MartinaL's Achievements

0

Reputation

  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
×
×
  • Create New...