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 strongm 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. vajpowb

    Cannot get syntax correct Outlook form

    Having trouble w/ syntax on retrieving data from menu list. Created an .hta form, but getting syntax error on line 41. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>...
  2. vajpowb

    HELP - websites giving me login prompt

    I recently had spyware on my system. I have removed but when I navigate to certain sites i.e. bankofamerica.com, free.grisoft.com, trendmicro.com and many others, I am getting an authorization pop-up. These are public sites. Something is hosed but I have done thorough searches and cannot find...
  3. vajpowb

    Console window message - how to?

    I've got a script that opens a Robocopy job. It opens a command console window and will only close when job is complete. That is fine, but is there a way to display what I am copying in the title of the console window? Here's the code: strPackage = InputBox("Please enter package name:") Do...
  4. vajpowb

    Passing formfield to Email Sub

    I need (want) to pass form field value from form to email action so user can enter an email address and send the document. Tried...and tried..not working..compile errors. Private Sub CommandButton1_Click() strSubject As String strSendTo As String strCCTo As String strSubject =...
  5. vajpowb

    Opening explorer window in &quot;Details&quot; view

    I've got an hta that I use to navigate to various frequently used server locations. However, every time, the links open in folder view and I need details view. I've adjusted the defaults on my own system time after time but they keep reverting back. Is there any type of a href syntax that...
  6. vajpowb

    Need IP's in text file modified.

    Awesome..thx. Works great.
  7. vajpowb

    Need IP's in text file modified.

    Const ForReading = 1 Const ForWriting = 2 Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile("C:\Documents and Settings\anpowell\Desktop\IP_Modify_JH\IP_List.txt", ForReading) Do Until objFile.AtEndOfStream strLine = objFile.ReadLine If...
  8. vajpowb

    Need IP's in text file modified.

    I need a script that takes a list of IP's in a text file and drops the last octet and rewrites back to file. Looked at Scripting Guy and have tried various times but no luck. Any help? Thx.
  9. vajpowb

    Need to query for 2 events and count

    I cannot get this to work. I've looked at the objects and am cornfused. It works through the registry queries but does not give me what I need from the application event log. On Error Resume Next Dim strComputer, strPingResults DIM fso, IPAKFile Set fso =...
  10. vajpowb

    Adding list of computer accounts to group

    I updated..but still getting error. Error points to this line: Set objGroup = GetObject("LDAP://CN=EUC-Admin Rights Clients - All Clients,OU=Users,OU=xxxx,OU=xxxx,OU=Corpfn,DC=Na,DC=Corp,DC=xxx,DC=com") "There is no such object on the server.
  11. vajpowb

    Adding list of computer accounts to group

    Updated the line that was commented out. :) Option Explicit Dim strFile, objFSO, objFile, strNTName Dim strDomain, strComputerDN Dim objTrans, objComputer, objGroup ' Constants for NameTranslate object. Const ADS_NAME_INITTYPE_GC = 3 Const ADS_NAME_TYPE_NT4 = 3 Const ADS_NAME_TYPE_1779 = 1...
  12. vajpowb

    Adding list of computer accounts to group

    I am having problems adding a list of computer accounts to a domain group. And it's not working. Getting "There is no such object on the server" error. Here's the code: Option Explicit Dim strFile, objFSO, objFile, strNTName Dim strDomain, strComputerDN Dim objTrans, objComputer, objGroup '...
  13. vajpowb

    Two Local HP Printer Issue(s)

    Trying to install new HP P2015 LaserJet locally via USB on client PC that has OfficeJet L7600 installed. I'm having USB port issues having both printers connected. It appears if I get one working the other goes caput...and vice versa. Got them working yesterday by removing/re-adding in device...
  14. vajpowb

    Please check my script...Trying to get IP Address

    Thanks Tsuji..works great! For site name I was looking for: Set objADSysInfo = CreateObject("ADSystemInfo") WScript.Echo "Current site name: " & objADSysInfo.SiteName except for remote pc.
  15. vajpowb

    Please check my script...Trying to get IP Address

    Oh..also, is there anyway to get the site name also and create a column for that.
  16. vajpowb

    Please check my script...Trying to get IP Address

    I have tried this script because it is exactly what I have been looking for...trying to accomplish etc. However, I am getting 0.0.0.0 when I know the client is online. The only modification I did to the script was to change the name of the input text file and fix the InputFile.Close command as...

Part and Inventory Search

Back
Top