On The Insider: Who Has the Hottest Mugshot?
2 Resources for

newpassword dim erroroccurred const forreading

  • Subscribe to this listing via:
  • RSS
  • Email

TechRepublic Resources

Got an error with this script, cannot connect to computer...
PLEASE HELP!!!The computer list was created manually.'-------------------------------------------------------------------------------' Initialization - Declare variables'-------------------------------------------------------------------------------Dim fsoIn, fsoOutDim inFile, outFileDim arrComputerNamesDim objUserDim strComputerDim newPasswordDim ErrorOccurredConst ForReading = 1Const ForWriting = 2Const ForAppending = 8Const inFilename = "computers.txt"Const outFilename = "ChangePwdcomputers.log"'-------------------------------------------------------------------------------' Main script'-------------------------------------------------------------------------------On Error Resume NextErrorOccurred = False' Insert WARNING here...Msgbox ("WARNING: This script will change...
Tags: julliadarc@..., strComputer, password, Now & vbTab, newPassword Dim ErrorOccurred Const ForReading, outFile.writeline Now & vbTab, computer
Discussion threads 2007-06-15
Recovering from a forgotten Administrator password in Windows 2000 Pro
or you can use chntpwBoot from a rescue cd that contains this nifty util; Trinity Rescue CD is one :-)or use ntpasswdOr you can download ntpasswd, This is a linux boot cd that lets you delete any passwordor even try WSH scriptOr try this WSH VB script.It can reset any...
Tags: itsds, Microsoft Windows, Microsoft Windows 2000, Now & vbTab, password, software, strComputer
Discussion threads 2007-01-16

Additional Resources

wscript to list files in a folder
Can anyone see what is wrong with this script? I am new to wsh, but am a procedural programmer, so this should NOT be that hard. Which brings me to the subject of debug. I try to use Windows Debugger, but can't seem to get it to watch my...
Tags: deb.k@..., strLineTwoParse
Discussion threads 2007-08-16
Error 1026 Using SHFileOperation
I am using SHFileOperation to copy some files from an Install CD to the Target folder. The program works fine on W2K and XP, but under W98, I get a File System Error (1026).I know that this Function needs to have the Null characters added properly, & I have done...
Tags: Error 1026 Using SHFileOperation, Long Dim, icscomputersaz@..., programming, SHFileOperation, String, String Dim
Discussion threads 2005-01-26
Post Message LParam API Question
I have a 3rd party application I am attempting to pass ALT + 1 to.I used SPY++ to determine what the Keyboard is really sending:P WM_SYSKEYDOWN nVirtKey: VK_MENU cRepeat:1 ScanCode:38 fExtended:0 fAltDown:1 fRepeat:0 fUp:0 [wParam:00000012 lParam:20380001]P WM_SYSKEYDOWN 'nVirtKey: '1' cRepeat:1 ScanCode:02 fExtended:0 fAltDown:1 fRepeat:0 fUp:0 [wParam:00000031 lParam:20020001]Every time I attempt...
Tags: lParam, P WM_SYSKEYDOWN, lParam:0012FB38, Long Dim lParam
Discussion threads 2004-12-09
Non-Domain WinXP: Creating Multiple Local User Accounts
Have about 50 WinXP clients in a non-domain controled environment. What is required is that all Users have access to any PC using their own credentials. Does anyone know of a way to create a batch-file or a script that can be run on each machine to add to the...
Tags: Microsoft Windows XP, battlel@..., strComputer, CreateObject, WinNT://, GetObject
Discussion threads 2007-09-21
MSAccess Refresh Active record
Hello all. I would like to ask if anyone knows how i can refresh my form without the focus being changed to the first record, essentially refreshing the form and subform while keeping my cirrent record as the active record.I am entering data into a form, I have a command...
Tags: jim@..., Dim Buckets
Discussion threads 2007-07-17
How to add .exe file to windows firewall
The limit of 40 characters did not allowed me to state my question in a better way.I would like to know what is the best scripting way to populate the windows firewall exceptions with executable files. Is there a best type of script more suitable for this task, i.e. WSH,...
Tags: CreateObject, wil henriquez, windows, firewall, window
Q&A 2006-07-14
Global Group Information
HI,I have Windows NT Domain and in that Domain i have some group so i need to take usernames from Group.For Ex. I want to take out all the users name which are there in Domain Admins list.Can someone tell me as soon as possible how i can do it.I...
Tags: Long Dim, ask_anurag@..., windows, server, ListView1.ListItems.Clear bServer, Member End
Q&A 2006-02-13
dao.recordset.FindFirst
I have a syntex errormissing operator in expression for the FindFirst statement in following code which run in access form vba routineOption ExplicitPrivate Sub Form_Load On Error GoTo errAddNode Const strTableQueryName = "Quantity" Dim db As DAO.Database,...
Tags: strParentField, DAO.Recordset Dim strParentField, String Dim strCriteria
Q&A 2005-07-29
find '*'
finding (*) asterisk symbol in the textfind in textdepending on programming language.I suggest you search www.google.com/codesearch for 'strstr' (strstr (const char *haystack, const char *needle))
Tags: Programming languages, vasantha_bg@...
Discussion threads 2006-12-12
Windows assigning drive letters
I have mapped a network drive and used the letter F but now every time I connect a usb device it assigns the usb device the letter F so I can't access it unless I go in to disk management and change the drive letter of the usb device, is...
Tags: Microsoft Windows, deerek11@..., network, usb device, CreateObject
Discussion threads 2007-07-26
How can you find out where a domain user is logged on (\host name)
How can you find out where a domain user is logged onto Windows AD environment. What's the computer name?huhYou'd like to search a network for a particular user name, to find out which computer he's on?logon server ??Open a cmd prompt and type setIt will display, among othet...
Tags: IP, Mikael310@..., networking, strUserName, username
Discussion threads 2005-04-07
How to Use the restrict Qualifier in C
The C89 standards committee added two type qualifiers to C, const and volatile. The C99 committee added a third type qualifier with restrict. Individually, and in combination, these type qualifiers determine the assumptions a compiler makes when it accesses an object through an lvalue. The definition of an lvalue is...
Tags: Compiler, C, Committee, C/C++, Programming Languages, Development Tools, Software Development, Software/Web Development
White papers 2006-03-01
error while sending mails using CDO.Message object
Hi,I am trying to send mails from my excel using VBA and CDO.Message and CDO.Configuration ObjectSee the below code------------------------------Function SendMailTo(sTo, sSubject, sBody)Dim oMsg As ObjectDim oConf As ObjectDim Flds As ObjectDim strSch As StringConst cdoBasic = 1Set oMsg = CreateObject("CDO.Message")Set oConf = CreateObject("CDO.Configuration") ...
Tags: srinivas.2447.p@..., Object Dim strSch
Discussion threads 2007-08-07
Error "Macro Not found" VB - Urgent Help
xlApp.Run "SetparentForm", Me while executing the above line in the Windows XP,we are getting error Macro "Setparentform" not found.But the same piece of code gets executed in the NT machine.SetParentForm is property in the excel vba.The macro call works fine the very first time and will not work later....help is...
Tags: bhaskar.bhaskar@..., Macro, Microsoft Visual Basic, programming, SetparentForm
Discussion threads 2005-01-26
Two member-submitted scripts that automate network admin activities
By Lee MasonTechRepublicrecently asked members to submit their favorite Network Administration scriptsfor possible publication. One of the first to make a submission was Lee Mason. For his effort, Lee earned $200and the satisfaction of seeing his scripts published on TechRepublic.Earn $100 for your admin scriptLet us payyou for your original...
Tags: Â Â Â Â Â, Dim LocalService, Dim objComputer, Dim TimeOut, Guest Contributor, network, network administration, Nothing
Technical articles 2005-12-21
Reset local administrator passwords with VBScript
One nice feature of Active Directory is the ability to rename local Administrator accounts on machines using Group Policy. Invariably, when I mention this feature to a client, the next question is: “Can we change the Administrator password too?” As a Group Policy item, the answer is no. You can,...
Tags: Randy Barger, Microsoft VBScript, Now & vbTab, password, strComputer
Technical articles 2004-04-14
VBA code to run command line and retrieve exit code
Hi.The code below is for run an command line proggramm from vba but the exit code is not the correct.The intention of the code is to execute command line in minimized windows.here is the code:'modulo version 2007 09 13 4:45PM'FuncionRunCommandLineAndReturnExitCode'Private Type STARTUPINFO cb As Long ...
Tags: VBA, asihuay@..., proc.hProcess, FuncionRunCommandLineAndReturnExitCode
Discussion threads 2007-09-13
VBA Expert..urgent help
****** Following code giving run time error 438 *** how to fix that error..pls help..its urgent'Dim Cell As RangeDim myWord As ObjectDim PathDocu As String Set myWord = CreateObject("word.application") 'Set myWord = GetObject(,
Tags: fanku@..., myWord.ActiveDocument.Bookmarks, programming, software, VBA
Discussion threads 2006-11-03
  • << Previous
  • page 1 of 1
  • Next >>


Help Desk Trouble Ticket Form
The Help Desk Trouble Ticket is an important document for the technical support professional. This form contains all the essential fields for maintain ...
Buy Now
Windows XP vs. Mac OS X
This presentation, entitled Standardizing on Windows XP Instead of MAC OS X, provides a pre-packaged option for defending Windows XP against MAC OS X. ...
Buy Now

The PC Cracked Open