MSGROUPS.NET | Post Question | Search | About | Groups | Contact | Register | Login



microsoft public excel misc (5725)

microsoft public outlook general (4851)

microsoft public excel programming (4223)

microsoft public word docmanagement (3537)

microsoft public excel worksheet functions (3208)

microsoft public access (3168)

microsoft public windowsxp general (2045)

microsoft public windows vista mail (1629)

microsoft public office misc (1576)

microsoft public windows vista general (1511)

microsoft public windows live mail desktop (1366)

microsoft public access queries (1331)

microsoft public powerpoint (1277)

microsoft public access formscoding (1213)

microsoft public mac office entourage (1204)

microsoft public dotnet languages csharp (1183)

microsoft public access forms (1167)

microsoft public internetexplorer general (1133)

microsoft public access modulesdaovba (1076)

microsoft public windows server sbs (1064)

microsoft public greatplains (1055)

microsoft public mac office word (1026)

microsoft public outlook calendaring (965)

microsoft public excel (936)

microsoft public sqlserver programming (906)

microsoft public project server (884)

microsoft public windowsupdate (825)

microsoft public windowsxp help and support (801)

microsoft public windowsmedia player (785)

microsoft public project (782)

microsoft public access reports (766)

microsoft public mac office excel (765)

microsoft public exchange admin (754)

microsoft public dotnet framework aspnet (743)

microsoft public sqlserver server (703)

microsoft public outlook (701)

microsoft public outlook contacts (681)

microsoft public dataprotectionmanager (665)

microsoft public word vba general (641)

microsoft public windows server general (632)

microsoft public windows server active directory (587)

microsoft public outlook installation (585)

microsoft public word newusers (563)

microsoft public publisher (518)

microsoft public excel newusers (509)

microsoft public excel charting (503)

microsoft public word pagelayout (498)

microsoft public dotnet languages vb (469)

microsoft public vb general discussion (460)

microsoft public development device drivers (446)

microsoft public word application errors (435)

microsoft public office setup (430)

microsoft public sharepoint general (427)

microsoft public access gettingstarted (411)

microsoft public windowsce platbuilder (410)

microsoft public windows powershell (407)

microsoft public onenote (396)

microsoft public frontpage client (393)

microsoft public sqlserver reportingsvcs (388)

microsoft public outlookexpress general (369)

microsoft public access tablesdbdesign (353)

microsoft public pos (353)

microsoft public vc mfc (347)

microsoft public outlook program vba (341)

microsoft public windows live messenger (325)

microsoft public money (310)

microsoft public windowsxp hardware (300)

microsoft public windows 64bit general (296)

microsoft public scripting vbscript (290)

microsoft public windowsxp basics (240)

microsoft public windows mediacenter (230)

microsoft public dotnet general (226)

microsoft public mac office (198)

microsoft public nntp test (195)

microsoft public windows inetexplorer ie6 outlookexpress (192)

microsoft public windows vista music pictures video (154)

microsoft public win98 gen discussion (154)

microsoft public sharepoint setup and administration (142)

microsoft public windows vista hardware devices (130)

microsoft public dotnet framework (105)

microsoft public windows vista performance maintenance (97)

microsoft public visio (89)

microsoft public access 3rdpartyusrgrp (73)

microsoft public dotnet xml (59)

microsoft public access conversion (56)

microsoft public pt windowsxp (36)

microsoft public windows live photogallery (32)

microsoft public access developers toolkitode (32)

microsoft public dotnet faqs (15)

microsoft public dotnet framework aspnet datagridcontrol (10)


microsoft.public.scripting.vbscript Post New
Items(289) /3 Next >> Last >|
Subject Posted Replies From
Query printers in 2008 domain using vbscript or WMI

I have the following code which I use to query published printers in AD on our domain (2003). We have now setup a 2 way trust with another domain (2008) which I can browse to with no problems. The problem occurs when I try and run this script with the remote domain in the LDAP query returns "Provider: A referral was returned from the server." Const ADS_SCOPE_SUBTREE = 2 Set objConnection = CreateObject("ADODB.Connection") Set objCommand = CreateObject("ADODB.Command") objConnection.Provider = "ADsDSOObject" objConnection.Open "Active Directory Provider" Set objCommand.ActiveConn

3/11/2010 3:01:00 PM 0 ABC Webmaster <dar...@darrenash.co.uk>



Copying to a relative cell range

To all VBscript Gurus, I am attempting to copy a string variable to a relative cell range. I have been playing around with the Range command, but this only works for absolute ranges. Here is layman's logic that I want to convert to VBScript: dim string = "this variable" dim B = 10 copy string to cells (A1:A(1+B)) so in other words "this variable" will be copied to the A1:A11 range. Seems simple enough, but I just wasted 90 minutes and didnt' get anywhere.

3/10/2010 11:09:01 PM 2 =?Utf-8?B?U2NyaXB0IEhhY2suLi53aHkgcmVhZCBtYW51YWxz?= <Script Hack...why read manu...@discussions.mic
How to speed this up?

Hi I'm searching through severel servers on in severel folders. Want newest file LastModified time stamps. In the folders are files wiht differents filename patterns in (same folder) so I'm having path in one array and pattern in another array In some folders there are more than 800 files. This is very slow over network -up to 5 minutes. When copying these files to c:\temp on local machine its very fast. So what I'm looking for is a faster way to do this. Do somebody have that experience? sub TimeStampNewestFile(Fldr,FileNameMask,idx) set oFolder=createobject("sc

3/10/2010 4:58:25 PM 10 Leon <kim.zeth...@gmail.com>
Have group members in wrong format

Hey all, I have used arrMemberOf = objGroup.GetEx("member") to obtain the members of a group but they come in as the "cn=...." and I need to just obtain the user name. How can I translate to that? I'm trying to do something like the follwoing after the fact but get an error: For Each strMember In arrMemberOf 'Grab the user details. strSN = strMember.SN strGivenName = strMember.givenName strMail = Split(strMember.mail,"@", -1) strFullMail = strMember.mail strCN = strMember.CN

3/9/2010 10:29:02 PM 3 =?Utf-8?B?RGFu?= <...@discussions.microsoft.com>
SQL Query in VBScript

I am using the following code to perform a SQL query and return a recordset I am getting the error "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another" This error occurs when I open the record set. What am I doing wrong? Const adOpenStatic = 3 Const adLockOptimistic = 3 Const adUseClient = 3 Set objConnection = CreateObject("ADODB.Connection") Set objRecordset = CreateObject("ADODB.Recordset") objConnection.Open "DSN=ChartMES;" objRecordset.CursorLocation = adUseClient strQuery = "Use ChartMES " _ & "SELECT EmployeeID " _

3/9/2010 4:20:42 PM 2 mcolson <mcolson1...@gmail.com>
Loop to find files, copy and renaming...

Hi, I have a folder called E:\MyFolder which contains an arbitrary number of subfolders like Sub1, Sub2 Sub3 etc. In each of these folders there might be a file called MyFile.DAT. I need a script that loops through all levels of subfolders under E:\MyFolder and copies every occurrence of MyFile.DAT to E:\Target. In the copying process each Myfile.DAT is renamed according to the subfolder it was found in, like: Sub1-Myfile.DAT, Sub2-Myfile.DAT etc... How would I do that in vbscript...? Thanks for any help on this regards jake

3/9/2010 7:37:35 AM 6 Jake <jak...@gmail.com>
How to tell if a contact object exists?

I am trying to determine the best way to write a snippet that determines if an Active Directory contact already exists. My current script looks at users and creates contact objects for them. The trouble I have is obviously running the script a second time bombs me out with "object already exists". What I'm look ing for would be: If contact exists then.... Else..... Anyone got a good starting point for me? Lots of stuff online for 'if file exists...' but it seems not many are creating contacts.

3/8/2010 10:10:01 PM 5 =?Utf-8?B?RGFu?= <...@discussions.microsoft.com>
Can a vbscript identify the program/process that called a vbscript

I would like to code a vbscript ("ActionScript.vbs") in such a way that it would do X, if ActionScript.vbs were called by "TriggerScriptA.vbs", but do something else if ActionScript.vbs were called by "TriggerScriptAB.vbs". Is there some way by which ActionScript.vbs could identify the program/process that called ActionScript.vbs? If the answer is "yes", that would be useful in many contexts. For example, it would be useful in the context of Hta programming, where (I think) a button (that calls a vbscript inside the Hta file) cannot send arguments to the vbscript sub that

3/8/2010 8:02:01 PM 13 =?Utf-8?B?TWFyY2VlcG9vTnU=?= <mbh2...@aol.com>
Script to report folder sizes?

I have a Users directory on a drive, where all my users have a subfolder with their user name. inside everyone's folder is a certain folder, lets call it TooBig, that i need to know the size for for each user. does anyone have a script that would maybe dump the size of each user's TooBig folder to a file I can review?

3/8/2010 6:00:02 PM 1 =?Utf-8?B?UmljaA==?= <richj...@noemail.noemail>
A short one: Data dictionary item = array

Hi Is it possible to have an item as an array? Cheers

3/8/2010 9:43:45 AM 4 Leon <kim.zeth...@gmail.com>
Shutdown explorer not interactively ?

Hello, The proper way to shut down explorer interactively: 1. Display classic shutdown dialog(Alt+F4) 2. Use Ctrl+Alt+Shift+"Push Cancel button with mouse" I want to do exactly the same thing only not interactively - by using batch script, vbs script(wsh), wmi or whatever method. (Of course I can always terminate explorer process but I don't want to do that) Possible to do that ? thanks Vilius

3/6/2010 6:10:01 PM 2 "Vilius Mock�nas" <v_mocku...@yahoo.com>
Vb & html

Hi dear; I want to create a page like the following, the only thing I want to add a column. This column also available printer that is on the green, is not available I would like to have a red symbol. How can I do? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Printer Management Page</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <SCRIPT LANGUAGE="VBScript"> Function delPrint(pname) Set objNetwork = CreateObject("WScript.Network") confDel = msgbox ("Do you want to remove " & pname & " ?"

3/6/2010 8:58:16 AM 0 erseno <gu...@unknown-email.com>
Writing to a text file

I have a script that is working pretty well but I don't understand what's happening when I try to output a file (sort of acting as my log file). My hope is to get each created contact to be listed in the file but it only seems to be writing one of the names that get created. Essentially, the script looks at a few things and decides what contacts to create. Here's the part causing me problems (the second part of the If statement): Else ' Build the actual contacts. Set objContact = objOU.Create("Contact",_ "cn=" & strContactName) objContact.Put "Mail", (strMail(0))

3/5/2010 11:43:41 PM 2 =?Utf-8?B?RGFu?= <...@discussions.microsoft.com>
Detect Win Logon

I have an application that is deployed by Altiris at system startup and Altiris does not disable the logon like Group Policy does. My application install is controlled by a vbscript. I would like to display a message (hta or iexplore window) when someone log on. I have to use Altiris to 'Run' the starting window silent. I thought about testing to see if explorer.exe was running but I would have to check continuously. It would be nice to detect the system logon "message". I would live to script the gina.dll but I don't know where to begin!! What would be the best way to detect

3/5/2010 10:16:08 PM 2 =?Utf-8?B?TGlrZVRvQ29kZQ==?= <LikeToC...@discussions.microsoft.com>
Adding Multiple Variables

I am using the following script to delete shares and want to specify multiple shares, instead of just one share name. How can I do so? DomainName = "domain.com" ServerName = "Server1" ShareName = "Share1" Set cont = GetObject("WinNT://"& DomainName &"/"& ServerName &"/LanmanServer,FileService") cont.Delete "FileShare", ""& ShareName &"" Also, how can I add to this script so that it deletes the directories associated witht he shares, once the shares are removed? The directory names match that of the share names. Thanks

3/5/2010 6:45:01 PM 3 =?Utf-8?B?bWl0MDQwOA==?= <mit0...@discussions.microsoft.com>
Create Exchange 2007 mailbox

Hi! :) We use a vbscript to create users. Here are the lines of code in the script that creat the user account. The password is also set and some groups added... Set objUser = objUserOU.create("user", "cn=" & strEmpid) objUser.Put "SAMAccountName", strEmpid objUser.Put "givenName", strFirstName objUser.Put "sn", strLastName objUser.Put "displayName", strLastname & " " & strFirstName objUser.AccountExpirationDate = DateAdd("d", 1, CDate(strEndDate)) objUser.Put "userPrincipalName", strEmpid & "@" & cstrADDomainName objUser.put "mDBUseDefaults", True objUser.put "mailNickname

3/5/2010 6:29:23 PM 3 "Sofia" <@>
Find User Object based on Logon Name

I need to find the location of the user object in AD based on the Logon Name IE: I have: JDoe123 (the logon name) I need: LDAP://cn=JohnDoe,ou=users,ou=aaa,ou=bbb,ou=ccc,DC=xxx thanks!

3/5/2010 1:59:02 PM 3 =?Utf-8?B?cGs=?= <...@discussions.microsoft.com>
VBS script process will be killed by policy when scheduled runnin

We have a VBS script that was originally scheduled to trigger at specific time as logged-on user. Now it is still scheduled via Windows schedule, but will wait for 'logon' event to happen before actually executing. But when the script is running, we SAW the script (PID) killed when the logon policy stopped during this time script was executing, but did not yet complete. --The logon policy completed the run prior to script finishing its tasks. What's the problem?

3/5/2010 4:12:04 AM 0 =?Utf-8?B?U2h1Y2hlbmcgTGl1?= <Shucheng...@discussions.microsoft.com>
Removing expired certificates from LDS

Hi all. This is my situation: We are in the process of replacing a certificate store currently hosted on Sun's iPlanet with Microsoft's Lightweight Directory Services. These certificates have been imported into LDS into an application partition (say o=myorg, C=AU). Under this structure I have around 40,000 OU's each one representing a customer under each customers OU are one or more user (iNetOrg) objects (around 60,000 in all). In each user are one or more certificates in the UserCertificate attribute. A combination of in-house written application code and proprietory PKI code reads and

3/5/2010 2:55:52 AM 0 JonTheBrewer <u...@msgroups.net/>
How do I configure Windows 2003 to get VBScript email with CDOSYS.

I am trying to use CDO in VBScript to send email from one server to a separate exchange server. The article at http://support.microsoft.com/kb/171440/ states that CDOSYS version 6 library is obtained "through installation" of Windows 2003 but alas, email does not work and I am unable to locate the CDOSYS.dll on my Windows 2003 system. I have tried configuring SMTP with Control Panel -> Add or Remove Programs -> Add/Remove Windows Components -> Application Server -> Internet Information Services (IIS) -> SMTP Service) but that didn't give me the CDOSYS.dll or CDO functionalit

3/5/2010 1:33:01 AM 3 =?Utf-8?B?RHJ1bW1lcl9HZWVr?= <Drummer_G...@work.dom>
FilesystemObject doesn't work anymore. How to fix?

I think that scrrun.dll is messed up (New technical term) somehow. But if I knew what I am talking about, I wouldn't be bothering you folks. This line: Set fso = CreateObject("scripting.filesystemobject") causes this error message to appear: Error: (null) Code: 8002801D I've dragged scrrun.dll onto regsvr32.exe several times (just to be sure I actually had done it) , each time getting the message: DllRegisterServer in C:\Windows\System32\scrrun.dll succeeded. I'm running WinVista Ultimate 64bit, completely updated. Does anybody have any ideas about how I can get the

3/5/2010 12:22:02 AM 2 =?Utf-8?B?TWFyY2VlcG9vTnU=?= <mbh2...@aol.com>
Check 'If LDAP field exists for user then...

If I have a query which returns the LDAP data for a user how can I run an 'IF' on whether or not a field exists? For example If LDAPFieldX Exists then.... Else ....... I've tried IsNull and a few others but they don't seem to work.

3/5/2010 12:19:01 AM 1 =?Utf-8?B?RGFu?= <...@discussions.microsoft.com>
Check if Application Installed

How would I use code to check if an application is installed? Just look for the *.exe in the expected location?

3/5/2010 12:09:07 AM 2 "David C. Holley" <David.C.Holley>
Trim?

Hey all, I am returning an email address in a variable and would like to just return the portion to the left of the '@' sign. What is the best way to do this? I know how to do it if I had 'john@domain.com' but when it's in the objuser.email variable I'm finding it more difficult. Thanks for any help.

3/4/2010 9:49:01 PM 3 =?Utf-8?B?RGFu?= <...@discussions.microsoft.com>
Ignoring Case

Here is the script that I am using and it works well except that it does not ignore the case of the attached files. Can any one give me the peice that I need to have it ignore the case of the attached file? <SCRIPT LANGUAGE="VBScript"> Sub ExStoreEvents_OnSave(pEventInfo, bstrURLItem, lFlags) Set msgobj = CreateObject("CDO.Message") msgobj.DataSource.Open bstrURLItem For Each objAttachment In msgobj.Attachments If InStr(objAttachment.filename,"Register Document") > 0 Then objAttachment.SaveToFile "\\Server\c$\Inetpub\Intranet\Documents\" & obj

3/4/2010 8:12:01 PM 7 =?Utf-8?B?SmFtZXMgUm9iZXJ0c29u?= <JamesRobert...@discussions.microsoft.com>
Object required

Hey all, I'm trying to iterate through an OU full of users and create contacts for each user (who is in the GAL) based on the users I find in the OU. I'm getting an error that an object is required but I'm not sure how to proceed. I added the wscript.echo commands just for troubleshooting but could use some help with what else I need to do here. Here's the script: Option Explicit Dim objOU, ObjUser, strGAL, strSN, strGivenName, strMail, strCN, objcontainer, objcontact, strContactName, ObjRootLDAP, strOU ' Bind to OU, using the Distinguished Name of the OU. Set o

3/4/2010 6:55:01 PM 2 =?Utf-8?B?RGFu?= <...@discussions.microsoft.com>
msgbox on top

Hi there, I have a very simple script: msgbox "This is a test" How can i make the msgbox to appear on top? Sometimes our users work with a few application at once, and they cannot see the message, unless it will be on top. Thank you Amir :)

3/4/2010 2:40:01 PM 2 =?Utf-8?B?QW1pciBBdGFyeQ==?= <AmirAt...@discussions.microsoft.com>
Option Explicit in .wsf and .asp files

Hi I have a number of .vbs files in the following format: C1.vbs: Option Explict Class clsC1 End Class I can include these files in a .wsf file like this: <package> <job> &lt;script language="VBScript" src="C1.vbs"/> &lt;script language="VBScript" src="C2.vbs"/> </job> </package> I also want to include the same files in an .asp file like this: &lt;script language="VBScript" runat="SERVER" src="C1.vbs">&lt;/script> &lt;script language="VBScript" runat="SERVER" src="C2.vbs">&lt;/script> However, this fails because of the repeated Option Explicit Statements. I can

3/4/2010 1:39:02 PM 7 =?Utf-8?B?TWljaGFlbCBMYXJzZW4=?= <MichaelLar...@discussions.microsoft.com>
Create Batch file for laptops to copy templates

Hi Everyone, I am new to batch file programming and need an expert help to find out something. I want to create a batch file that runs at login and compares a local copy of the templates to what we have on the network. We have templates on a mapped network drive in h:\clients\templates, and on the laptop in c:\apps\data\clients\templates. When the laptop is offline it substitutes c:\apps\data to appear as h: drive, that way the files appear to be in h:\clients\templates. Here’s the basic steps what I need the batch file for: 1. first it checks to see if the computer is on t

3/3/2010 3:00:05 PM 2 =?Utf-8?B?SGVtYWw=?= <He...@discussions.microsoft.com>
hide mouse pointers with VB script

Hi, do you know if exist a command for hide the mouse pointer? Regards Santino

3/3/2010 9:46:01 AM 0 =?Utf-8?B?U2FudHk=?= <Sa...@discussions.microsoft.com>
ShellExecute question

I have a script that uses the ShellExecute function to run wscript.exe in Windows 7 as an elevated user (with the "runas" verb). When it runs, a UAC window pops up and the user must click "Other User" and then enter the username and password of an administrative account to continue. Is there a parameter I can include in the script which will pre-populate the username box in the UAC window so the user only needs to enter the password? Thanks...

3/2/2010 10:47:15 PM 0 "D.P. Roberts" <dprobe...@pbride.com>
Add user to local security group in Win7

The following code works fine in Windows XP to add a user to a local group. It will work on the machine I'm logged on to, and it will also work on remote machines (as a domain admin, I have permissions to modify local groups on all domain machines): strDomain = "enter domain name here" strComputer = "enter computer name here" strGroup = "enter local group here" strUser = "enter username here" ' Get group object Set objGroup = GetObject("WinNT://" & strComputer & "/" & strGroup & ",group") ' Get user object Set objUser = GetObject("WinNT://" & strDomain & "/" & strUser & ",u

3/2/2010 9:32:15 PM 2 "D.P. Roberts" <dprobe...@pbride.com>
Error 800a03ea on winserver 2008?

I have a set of older .asp files that have been running uneventfully for several years on our old web server, but now as part of our testing on a new web server which has Windows Server 2008, I've discovered that the programs are NOT working, but rather throwing a syntax error 800a03ea on the very first code line, with the pointer at the "F" in function, in the include file the .asp progs bring in. My first guess is that because ws2008 is so much more stringent in security etc, something needs to be changed in my code, but then I found this on a board: "There is no reason at all wh

3/2/2010 4:38:59 PM 1 EPP <eppuse...@gmail.com>
How to send request by HTTP POST method in VBS script?

We have a content which need to send out by HTTP request, but it is too big for HTTP GET method, Is it possible to send request by HTTP POST method in VBS script? and how?

3/2/2010 8:02:05 AM 3 =?Utf-8?B?U2h1Y2hlbmcgTGl1?= <Shucheng...@discussions.microsoft.com>
VBScript String Replace - Remove / Replace Characters in String

VBScript String Replace http://www.code-tips.com/2009/04/vbscript-string-clean-function-remove.html Remove or replace specific characters from a string. The article below provides a function in VBScript to remove or replace characters in a string. VBScript String Replace http://www.code-tips.com/2009/04/vbscript-string-clean-function-remove.html remove Illegal Characters from a string: VBScript String Replace http://www.code-tips.com/2009/04/vbscript-string-clean-function-remove.html VBScript replace characters in string.

3/2/2010 5:11:01 AM 30 dsoutter <webmasterhub....@gmail.com>
Require certificate in HTA?

I'm working on an HTA project and need to be able to definitively tie collected information to specific users. I can get the logged on user name, but given that any logged in user can run the script, including 'generic' accounts, the manually entered information can only be tied to that accout. If I run the script from an intranet server, I can require logon to the web page ( and with IIS require certificates) so this is not an issue from that perspective. The issue only exists when I provide the script as an HTA to be run on disconnected computers (that still have smartcard capa

3/2/2010 3:37:57 AM 0 BNSGuy <daniel.a.mur...@gmail.com>
How to bypass certreq renew window in VBS script?

To renew a cert, we use certreq to generate a requst file from an inf file as following: certreq.exe -f -new ./pkcs7.inf ./123.req The cert to be renewed is specifed with its thumbprint in the pkcs7.inf file, so in fact the command will only renew it. But when running the command, a "Certificate List" window will popup with a list cotaining only that cert, and ask user to "Select certificate to be renewed". The window break the running process and require user to do a click action... In our project, we will call the command line in an VBS script and should run it automatically.

3/2/2010 2:36:01 AM 0 =?Utf-8?B?U2h1Y2hlbmcgTGl1?= <Shucheng...@discussions.microsoft.com>
Changes made to Outlook form don't stay with form when mailed.

I have a script that just about working the way I want it to. I'm using a MultiPage with 13 pages in the Outlook form. I am using checkboxes to make the pages visible and add recipients to the To field. When the checkbox is unchecked, the page and the recipient disappear (as designed). During testing of the form, I checked all checkboxes and filled out every field on every page of the form and sent it. The form went to the correct mailboxes as intended. Unfortunately, none of the checkboxes stayed checked and the twelve pages I filled out within the MultiPage disappear. Recheck

3/1/2010 9:59:02 PM 0 =?Utf-8?B?RmFiZXMzNDY=?= <Fabes...@discussions.microsoft.com>
Browse for File Dialog ( W7)

Hi, Have run up against what, based on my web searches, is a very common problem. I want to incorporate a browseforfile dialog box in my script. I'm using Windows 7. Is there a simple way to do this, without resorting to references to IE? Thanks, Stuart

2/27/2010 9:36:43 PM 13 Kryten <kryte...@googlemail.com>
BUY FAKE PASSPORTS OF CANADA,FAKE CANADIAN PASSPORTS FOR SALE! FAKE UNITED STATES(USA) PASSPORT

Our team is a unique producer of quality fake documents. We offer only original high-quality fake passports, driver's licenses, ID cards, stamps and other products for a number of countries like: USA, Australia, Belgium, Brazil, Canada, Italia, Finland, France, Germany, Israel, Mexico, Netherlands, South Africa, Spain, United Kingdom. This list is not full. To get the additional information and place the order just visit our website: http://www.sellingpassports.com >> Contact e-mails: General support: support@sellingpassports.com Technical support: tech@sellingpas

2/26/2010 6:23:19 PM 0 John Dawson <t...@sellingpassports.com>
How do I send text to KList with StdIn?

I'm desperately trying to automate KList(in the resource kit) to purge kerberos tickets and for the life of me I can't figure out how I have this:- Set objShell = WScript.CreateObject("WScript.Shell") Set objExecObject = objShell.Exec("%comspec% /c klist.exe purge") Do Until objExecObject.StdOut.AtEndOfStream strLine = objExecObject.StdOut.ReadLine() wscript.echo strLine strIP = Instr(strLine,"Purge") If strIP <> 0 Then wscript.echo strLine objExecObject.StdIn.Write "y" End If Loop And it just doesn't work. I've tried Sendkeys and that doesn't work either.

2/26/2010 3:43:51 PM 4 Neil <neil_ow...@hotmail.com>
Help required in fetching data from child nodes

Hi, I have the below xml file. The requirement is: 1) Comparing this xml with another version of xml. 2) Removing some tags like <title>, <headline>, <credit>, <codes class=3D"IDS:ITEMID"> <code code=3D"USN:TRE55A000" /> </codes> <codes class=3D"IDS:PROFILENAME"> <code code=3D"SNI-Text" /> </codes> <codes class=3D"IDS:PROFILEVERSION"> <code code=3D"00.00.01" /> </codes> etc without any conditions. 3) After removal, comparing 2 xmls, if the data is same discard it ; retain only differences. I.e, if the data is same between the two

2/26/2010 7:36:29 AM 0 Sri <srikant...@gmail.com>
GetColumnInfo from vbscript

Am using oledb in a vbscript application to update an Excel spreadsheet. Some cells in the spreadsheets being updated occasionally contain formulas, and oledb treats the associated columns as read-only (much to my disappointment and displeasure). Therefore, I need to find a way to determine from vbscript which columns are read-only, so that my program can avoid attempting to change any values in those columns. My reading of related oledb docs suggest that there should be a way to do this, using the GetColumnInfo method of the IColumnsInfo interface. However, that documentat

2/26/2010 4:37:01 AM 1 =?Utf-8?B?a2FteWVyczE=?= <kamye...@discussions.microsoft.com>
ANTIVIRUS FREE DOWNLOAD 8959

Many problems with performance and safety of your computer can be solved easily with an updated antivirus and recognized. Antivirus Free Download Microsoft best practices in: http://yourantivirusfreedownloadonthissite.blogspot.com/ Content Site Links: http://yourantivirusfreedownloadonthissite.blogspot.com/ http://yourantivirusfreedownloadonthissite.blogspot.com/2010/01/what-is-antivirus.html http://yourantivirusfreedownloadonthissite.blogspot.com/2010/01/free-download-antivirus-recommended-by.html http://yourantivirusfreedownloadonthissite.blogspot.com/2010/01/antivirus-o

2/26/2010 12:28:01 AM 0 =?Utf-8?B?YW50aXZpcnVzIGdyYXRpcw==?= <antivirusgra...@discussions.microsoft.com>
Scripting Windows 7 ZIP utility

Now that Windows includes a ZIP utility, is there some way to script it instead of running an external ZIP program (like 7-zip)? -- Crash One man's weed is another man's wildflower.

2/25/2010 10:16:16 PM 9 "Dave \"Crash\" Dummy" <inva...@invalid.invalid>
right-click command question

Hi All I have Creating a right-click command to backup file try txt and then xls file. Try txt file ok. Then try xls file, not ok, when right-click no option prompted ? Do you know why ? For txt file REGEDIT4 [HKEY_CLASSES_ROOT\txtfile\shell\backupfile] @="Backup Text File" [HKEY_CLASSES_ROOT\txtfile\shell\backupfile\command] @="cscript //b H:\Software\shell\xbcp.vbs "%1" "txt"" For excel file REGEDIT4 [HKEY_CLASSES_ROOT\xlsfile\shell\backupfile] @="Backup Excel File" [HKEY_CLASSES_ROOT\xlsfile\shell\backupfile\command] @="cscript //b H:\Software\shell\xbcp.vbs "%1

2/25/2010 2:37:30 PM 3 moonhkt <moon...@gmail.com>
Using VBScript to Check for Network Share File?

I've been trying to get the following script to report on any new files that might be added to a folder (a Ricoh AIO sends faxes to the folder automatically). Each user on the network needs to be alerted to the incoming faxes stored in the shared folder. Running it on the "host" works fine - it reports any folder additions. Running it on a Windows Server 2008 share works fine (that's where I tested it). However, running it on a peer-to-peer Workgroup returns a runtime error in line 2, character 1 when the 10 second "poll" period elapses: 800A01CE - The remote server machine do

2/25/2010 3:40:01 AM 1 =?Utf-8?B?cmFmb3N6Y3o=?= <rafos...@discussions.microsoft.com>
Use VBScript to remove recipient if checkbox is unchecked

I have a script that just about working the way I want it to. The Outlook form has multiple pages. I am using check boxes to make the pages visible and add recipients to the To field. When the check box is unchecked, the page disappears (as designed). The recipient that was added when the check box was checked doesn't get removed when the check box is unchecked. Any ideas on how to remove the recipient when the check box gets unchecked? See below for my script. Any help would be greatly appreciated. Thanks, Todd Dim objPage, Page1, Page2, Page3, Page4, Page5, Page6, Page7

2/24/2010 4:55:01 PM 3 =?Utf-8?B?RmFiZXMzNDY=?= <Fabes...@discussions.microsoft.com>
com.sun.star.lang.Locale

Please,can you translate from java to wsh this code? Dim LocalSettings As New com.sun.star.lang.Locale Thank you

2/24/2010 10:30:10 AM 2 Alessandro Ghelfi <grapp...@hotmail.it>
Runtime error 6068

I am revisiting an old VBScript that I wrote several years ago. It basically opens an existing Word document, then exports the macros associated with that document. This is the script: =========================== ' Get arguments into variables If WScript.Arguments.Count < 1 Then MsgBox "Too few arguments; expecting one." WScript.Quit Elseif WScript.Arguments.Count > 1 then MsgBox "Too many arguments; expecting one." WScript.Quit Else strArg1 = WScript.Arguments.Item(0) End If ' Find path for MyDocuments folder Set objShell = CreateObject("Shell.Application") Set o

2/23/2010 11:59:42 PM 0 "Rhino" <no.offline.contact.ple...@example.com>
Scripts cant read Server 2008 Registry

I have several maintenance automation scripts in place for servers in our domain. We have noticed that several of the scripts are incapable of reading or writing to the Windows 2008 Server registry. Does anyone know of an easy workaround or a solution to this issue?

2/23/2010 8:02:03 PM 2 "Ratboy" <pgmatth...@msn.com>
VBS 5.8 reference

I use the script56.chm reference extensively. Is there an updated reference for version 5.8? Looking things up online is a pain. -- Crash One man's weed is another man's wildflower.

2/23/2010 7:22:32 PM 2 "Dave \"Crash\" Dummy" <inva...@invalid.invalid>
Call to WindowsInstaller object causing 80004005 errors

Simple script error with 80004005 API InstallProduct,PropertyValue when the script is run with a package that contains an error. The script executes flawlessly when no .msi error is encountered. This is run on Windows XP sp3 installer version is 3.1 v2. On Error Resume Next Set oInstaller = CreateObject("WindowsInstaller.Installer") err.Clear oInstaller.UILevel = 2 oInstaller.InstallProduct "C:\Documents and Settings\Administrator\Desktop\test.msi","" WScript.Echo err.Number & vbcrlf & err.Description

2/23/2010 6:03:01 PM 2 =?Utf-8?B?dmhhcnRsaW5l?= <vhartl...@discussions.microsoft.com>
call JavaScript function from asp

I am using Access database, ASP, and some Javascript. A Group of two radio buttons. Button "noshow" updates a record and calls a javascript function. The javascript function puts a value in a hiddenfield. Button "show" updates the same record and places a different value in the same hiddenfield without using the javascript function. <label> <input name="RadioGroupA" type="radio" id="noshow" value="&lt;!--" <% If Recordset2("image_code_A")="<!--" Then %> checked <% End if %> onclick="doItA(this);"/> noshow</label> <br /> <

2/23/2010 3:54:53 PM 3 Joe T <m...@a1virtualtours.com>
hai

http/www.dayanjones.com

2/23/2010 1:33:14 PM 0 muthu k <muthu...@gmail.com>
prnmngr vs delete all network printers

Hi, I wish to use PRNMNGR.VBS script file to install my network printers but before installing those printers, I need to delete all previous installed printers. Is it possible to delete all already installed printers in one command line with PRNMNGR.VBS script ? Thanks.

2/23/2010 1:31:55 PM 3 "Normand" <nhu...@noreply.ca>
Closures?

G'day everyone Is this an example of a closure or just a trick with Eval? Kind regards, Bruce --- option explicit class closure private composition sub compose( f1, f2 ) composition = f2 & "(" & f1 & "(p1))" end sub public default function apply( p1 ) apply = eval( composition ) end function public property get formula formula = composition end property end class dim c set c = new closure c.compose "ucase", "lcase" wscript.echo c.formula wscript.echo c("dog") c.compose "log", "exp" wscript.echo c.formula wscript.echo c(12.3) functi

2/23/2010 6:18:22 AM 13 axtens <bruce.axt...@gmail.com>
Drag and Drop in Internet Explorer

Issue No. 1. Does anyone know how to make an area on an HTA page "drag and drop" capable, so that a user could drag files (from Windows Explorer, e.g., WinXP, Win Vista and Win7) onto the HTA page, in order to get the file's FullName (path + name) pushed into a variable? I found an example of "drag and drop" HTA, that enables me to harvest some useful info about Web pages (i.e., URLname and LOCATIONname) that I drag onto my HTA file (below). In the example below, that info is announced in a message box. But I can't figure out how to modify the HTA, so that I could drag a f

2/22/2010 10:07:02 PM 9 =?Utf-8?B?TWFyY2VlcG9vTnU=?= <mbh2...@aol.com>
for ... loop through file collection instead of for each ... loop

I would like to list all filenames in a file collection without using for each ... next but a for .. next loop instead. Could someone help me? Thanks in advance. Ranah ------- Set filesys = CreateObject("Scripting.FileSystemObject") Set demofolder = filesys.GetFolder("c:\") Set filecoll = demofolder.Files for n = 0 to filecoll.count-1 step 2 msg = msg & filecoll.item(n).name & VbCrLf next msgbox msg

2/21/2010 6:22:06 PM 2 Ranah van Rijswijk <ranah.v.rijsw...@gmail.com>
Request for DatePart test in Win7; need only read a Web page

ISO Week Number in DatePart in VBS, at least up to Version 5.8, build 18702, is known to be buggy, Is it likewise buggy in Windows 7 ? Since WSH and MSIE use the same VBS engine (I think), it should be sufficient to open, in MSIE in Windows 7 (version / SP ?), my Web page section <URL:http://www.merlyn.demon.co.uk/vb-date2.htm#DP> "ISO Week Number Using DatePart", and to paste in reply the content of the first yellow box in subsection "Web VBS WN Error", which should be two lines. All yellow-box material is computed on the reader's system. Other parts of the section do more de

2/21/2010 4:06:00 PM 2 Dr J R Stockton <reply1...@merlyn.demon.co.uk>
Need help detecting/reading smartcard default certificate ID

Has anyone done anything with reading smartcards? Would like to be able to use smartcard default certificates for identity verification on a couple of processes. I'm not so much concerned about restricting the script (it's an hta) to a specific user per-se, rather I need to be able to log WHICH user ran a routine. I'd use domain credentials, but there are situations where the script will be run from non-domain machines, or from users that are logged on locally. any pointers or sample code would be greatly appreciated. The code also needs to be supported from Win2K through Win 7,

2/21/2010 5:28:35 AM 0 BNSGuy <daniel.a.mur...@gmail.com>
marvendas@gmail.com Kit completo de Solenoides ( solenoid ) + chicote Para Cambio automatico 01M hidramatico Audi A3 Vw Golf gti turbo 35785

Contato: marvendas@gmail.com marvendas @ gmail.com marvendas no gmail.com Kit completo de solenoides para Volkswagem e Audi. O kit contem: 5 solenoides 2 Epc ( solenoides de pressao ) 1 Chicote Serve para qualquer modelo VW ou Audi fabricados de 1995 ate hoje com o cambio automatico de 4 marchas � 01M Pre�o: R$ 1900.00 Temos outras tipos de solenoides e artigos importados, nao deixe de fazer uma consulta antes de comprar! Audi a3 automatico Audi a3 1.8 t automatico Audi a3 1.8 turbo automatico VW Golf gti automatico VW Golf 2.0 automatico VW Golf 1.8 turbo auto

2/20/2010 3:22:51 AM 0 kit solenoites audi solenoid.chicote<kit.solenoites.a...@solenoid.chicote.com>
AddWindowsPrinterConnection, but the mapping is NOT stored in the user profile

Hi everybody, I would like to add a network printer connection to a XP client with a logon script, but *without* store the mapping in the use profile. Is it possible ? Thanks in advance. -- Fran�ois Lafont

2/20/2010 2:22:17 AM 1 francois <franc...@NoSpam.fr>
InputBox: how do I hide user input

I am trying to write a script that gets a password from the user then logs into a remote computer. The InputBox function doesn't seem to have an option that masks the user input with other characters (eg. "*"). How can I do this? For ease of distribution I'd like to be able to do this in a single script - rather than using a separate library or other file. TIA.

2/17/2010 4:21:39 AM 6 Robert S <robert.spam.me.sensel...@gmail.com>
what version of capicom do i have installed and graceful failing of createobject

Set capicom = createObject("CAPICOM.Utilities.1") Running that produces the following error: Script: C:\path\to\capicom.vbs Line: 1 Char: 1 Error: ActiveX component can't create object: 'CAPICOM.Utilities.1' Code: 800A01AD Source: Microsoft VBScript runtime error My question is two fold. First, why can't I create that object? <http://msdn.microsoft.com/en-us/library/aa388182%28VS.85%29.aspx> states that CAPICOM.Utilities.1 requires you have CAPICOM v2.0 or later installed. How can I find out what version I have installed? My second question is... how c

2/16/2010 11:48:14 PM 4 yawnmoth <terra1...@yahoo.com>
pcnetsecurity@gmail.com =?UTF-8?B?QXNzaXN0w6puY2lhIFTDqWM=?= =?UTF-8?B?bmljYSAgbWFudXRlbsOnw6M=?= =?UTF-8?B?byBkZSBjb21wdXRhZG9y?= =?UTF-8?B?ZXMgaW5mb3JtYXRpY2Eg?= =?UTF-8?B?Vml0w7NyaWEtZXMgOTUzNzg=?=

Contato: pcnetsecurity@gmail.com Contato: pcnetsecurity @ gmail.com Planos a partir de R$ 250,00 . Assist�ncia T�cnica Prestamos assist�ncia t�cnica nos computadores de sua empresa ou resid�ncia, e tamb�m possu�mos uma equipe qualificada para fazer a manuten��o no pr�prio local. - Contratos de Suporte e Manuten��o Reduza os custos de sua empresa com solicita��es de visitas t�cnicas para seus computadores, elaboramos um contrato de manuten��o integrado para sua empresa onde disponibilizamos: t�cnicos, equipamentos de suporte e substitui��o, e atendimento no hor�rio comercial ou

2/16/2010 5:13:42 PM 0 Assitencia manutencao remocao de virus computador pc<manutencao.assiten...@computador.pc.com>
Help pulling "pingable" IP of local machine into a variable

Ok, here's my need. I am writing a script that does a few things, but I'm having trouble just pulling the "production" IP address into a variable, to then use in the rest of the script. I've see plenty of scripts to ping remote hosts, but that's not what I need. I've also worked up a few scripts on my own, but they all pull every IP on the machine, or require you to know the intenal ID of the NIC interface you need queried. The issue with this is that the ID is assigned randomly, and it's something you just have to know. I'm rather new at VBScript, and I've tried to muddle through

2/16/2010 4:07:35 PM 1 ccc2501 <gu...@unknown-email.com>
OCR in browser using MODI in VBscript - Any thoughts appreciated

Hello Gurus, I am not a microsoft geek but have a scenario to provide OCR functionality in browser for a single TIF file. As per MSDN help Microsoft Document Imaging View control could do it. See here - http://msdn.microsoft.com/en-us/library/aa167607(office.11).aspx I have tried different ways and am able to copy selected image block to clipboard but am not able to do any OCR. I am not using any server side scripting but only HTML + client side VBscript. Below is the sample code, could anyone please help in this. ************************CODE***********************

2/15/2010 10:01:02 PM 0 =?Utf-8?B?QW54?= <...@discussions.microsoft.com>
OCR in browser using MODI in VBscript - Any thoughts appreciated

Hello Gurus, I am not a microsoft geek but have a scenario to provide OCR functionality in browser for a single TIF file. As per MSDN help Microsoft Document Imaging View control could do it. See here - http://msdn.microsoft.com/en-us/library/aa167607(office.11).aspx I have tried different ways and am able to copy selected image block to clipboard but am not able to do any OCR. I am not using any server side scripting but only HTML + client side VBscript. Below is the sample code, could anyone please help in this. ************************CODE***********************

2/15/2010 9:57:01 PM 0 =?Utf-8?B?QW54?= <...@discussions.microsoft.com>
Need to rename file extension if files are older then 36 hours

Hello, I need a script that can rename file extensions for files in a specific folder if they are older than 36 hours. Any help with this is greatly appreciated! -Marc

2/15/2010 4:19:05 PM 26 Marc M <marc.manfr...@gmail.com>
If connected to subnet xxx.xxx.xxx.xxx then....

Hi, How can I in vbs check if a computer is connected to, say, the 192.168.100.0/24 subnet either by cable or wireless? thanks for comments on this regards jake

2/15/2010 10:24:44 AM 0 Jake <jak...@gmail.com>
Script to Run System Backup in Vista

Anybody have a script that will run unattended System Backup (Not Windows Backup/Restore) from command in Task Scheduler? Alternative would be DOS batch file to execute out of Task Scheduler. Thanks

2/15/2010 1:14:46 AM 1 "Mike" <mail.MikeWil...@gmail.com>
Modify a text file without make a copy

Hi everybody, I have a text file called "Mytext.txt" like this: ------------------------- number: 2345 some text blabla.... some text blabla.... some text blabla.... some text blabla.... some text blabla.... some text blabla.... some text blabla.... some text blabla.... ------------------------- I just would like modify the number in the firt line (2345), without put in the memory the rest of the text or create a new temporay file? Is it possible? I ask this question because I want to use this script with lot of text files and this text files are quite big. Thank

2/13/2010 12:14:49 AM 27 francois <franc...@NoSpam.fr>
Outllook Object model

I have a basic script below to lauch outlook and close it back up however it seems to hang on the the "Set objOutlook = CreateObject("Outlook.Application") " line. and i cant seem to figure out why. Outlook lauches, but never closes. when i manually terminat the process it give the error "ActiveX Component Cant Create Object: 'Outlook.Applcation' I am missing something? please let me know is possible ***********Script ************************8 Dim objFolder Dim objNamespace Dim objProcesses Dim objProcess Const olFolderInbox = 6 Dim obshell set ObjShe

2/12/2010 8:14:01 PM 4 =?Utf-8?B?eWxhZm9udA==?= <ylaf...@discussions.microsoft.com>
Retrieves last Changes users groups and computer objects

Can anybody help me with this script. The script Retrieves the last whenChanged user,group,computer objects since x days in the past 'Script to print out all the last whenChanged objects (user,group/DL, computer that have been whenChanged in the forest in the last N days. Defaults to looking two days back unless a valid # of days is specified on the command line. Ex: cscript NewObjects.vbs 6 The script works fine in a root domain like ldap:// ka.com but when there are more subtrees like ldap://prod.ka.com the give no information, i have look with the Const ADS_S

2/12/2010 7:35:08 PM 4 "mike" <m...@hotmail.nl>
posting data to a web form

Hi, Gang, I would like to use a VBA script in Access to attach files to a company wiki page, but I'm not having much luck. Admittedly, I am very green at doing this sort of thing and the Access group wasn't able to help me out much, so I'm hoping someone here could help. I think my problem is coming in with the Form that is used on the wiki page. Rather than having a text box to just enter the file path I want to upload, it has a 'Browse' button to capture the file path and a subsequent "Attach" button to attach the file. When I use the following code, I can only get the Browse

2/11/2010 10:33:29 PM 4 kidkosmo <kidkos...@yahoo.com>
Vista and AD Terminal Services Properties

I have installed RSAT SP1 and later (KB941314 2/24/2009) and the hotfix for AD Users and Computers (KB960890 6/22/2009) on my Vista 32 bit OS. I can now view the Terminal Services tabs in ADUC. However, I am unable to query or write any AD terminal services properties via VBScript or Powershell. The scripts work without issues on Windows XP SP3. if I remember correctly, the functionality for manipulating AD terminal services properties was installed as part of the Windows 2003 Resource Kit or Support Tools. I have seen a few web pages which state scripts manipulating the AD termi

2/11/2010 10:26:01 PM 0 =?Utf-8?B?c21jcmVhbWVy?= <smcrea...@discussions.microsoft.com>
ript runs manualyok automatic nok

Hi, I have a script wich should update the group policys over vpn, depending if it sees the domain controler when i manualy start the script it starts and acts as it should be but when i start the script from either run parameter in register, or startup folder or via a schedulled task it not acting as it should be the script runs a cmd that updates the policy's with the command "gpupdate /force" when it is started manual i get a dos prompt and the command is executed when the script is started automaticaly i see for a slit second the dos prompt and then it dissapeares , the

2/11/2010 1:15:14 PM 2 "Admin.ADPO" <adpo.ad...@gmail.com>
Set and get boolean Session object

Hi all, I have an object set in this way session("external_user") = RS1.Fields.Item("external_user").Value It is a boolean field. I'm trying to get it using this syntax <%if (session("external_user") = "1") Then %> but I know it's wrong. Do you know the proper one? Thank you very much.

2/11/2010 9:41:01 AM 4 "mc." <slysto...@gmail.com>
regex help

In regular expression how do I say characters A-Z except I and O? I'd rather not list each of the 24 valid characters. Thanks, LJB

2/10/2010 8:37:35 PM 7 "LJB" <postmas...@127.0.0.1>
Connect to WMI remotely with vbscript

Hi guys, I'm trying to connect to WMI remotely with vbscript, Is anyone have some idea to share, thanks in advance. it failed in this way, the credential was not provided here because i had used administrator account to log on the remote host via Remote Desktop Connection before execution. strComputer = "sh-server03" Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & _ "\root\cimv2") However it works in this way strComputer = "sh-server03" Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator") Set objSWbemS

2/10/2010 12:13:53 PM 0 swimmingfisher <matthew.green....@gmail.com>
Script broken on upgrade to IE8

Hi, I have the following script that takes a password from IE (just to make use of the password masking). Set objExplorer = WScript.CreateObject _ ("InternetExplorer.Application", "IE_") objExplorer.Navigate "file:///C:\Documents and Settings\username\Desktop\password.htm" objExplorer.ToolBar = 0 objExplorer.StatusBar = 0 objExplorer.Width = 400 objExplorer.Height = 180 objExplorer.Left = 300 objExplorer.Top = 200 objExplorer.Visible = 1 Do While (objExplorer.Document.Body.All.OKClicked.Value = "") Wscript.Sleep 250 Loop

2/10/2010 10:17:01 AM 1 =?Utf-8?B?YWNpZHJhaW5sdGU=?= <acidrain...@discussions.microsoft.com>
on keypress

Hi, I would like to add an onkey press as an alternative to the Ok button in this code. How would I go about doing this (I'm fairly new to VBS)? <SCRIPT LANGUAGE="VBScript"> Sub RunScript OKClicked.Value = "OK" End Sub Sub CancelScript OKClicked.Value = "Cancelled" End Sub </SCRIPT> <BODY> <font size="2" face="Arial"> Username: </font><font face="Arial"> <input type="username" name="UserName" size="40"></font></p> <font size="2" face="Arial"> Password: </font><font face="Arial"> <input type="password" name="UserPassword" size="40"></font></p> <i

2/8/2010 4:34:01 PM 2 =?Utf-8?B?YWNpZHJhaW5sdGU=?= <acidrain...@discussions.microsoft.com>
DN & Email Address

Hi, I have a text file with email address (exchange users) of users.I need to pull their DN from AD.Does someone have a code snippet to share on which I can build. cheers Babu

2/8/2010 2:03:04 PM 1 "Babu VT" <bab...@hotmail.com>
Easy one? Have vbs logon script run local executeable

Hi, I use a vbs logon script at my domain controllers. I need to run an application from the client computers' C: drive when they log on... The logon script code below tries to run MyApp for the domain controller's C: disk, I need it to be run from the clients' C: disk. Set WshShell = WScript.CreateObject("WScript.Shell") ResultCode = WshShell.Run("C:\Program Files\MyApp.exe", 1, true) How do I do that...? regards jake

2/8/2010 10:05:53 AM 3 Jake <jak...@gmail.com>
Read value in txt file

Hello to everybody I would like to read a value in a txt file. For example, the value will following the egual sign. So I want to look for language and get "fr" as value. language = fr country = france Thank you by advance and have a nice day.

2/8/2010 9:41:40 AM 6 "bcasta...@gmail.com" <bcasta...@gmail.com>
why IE is shown when navigating a HTTPS URL in VBS script on windo

We have a VBS script which will navigate a URL as following: -------------------------------------------------------------------------------- Set oIE = CreateObject("InternetExplorer.Application") oIE.navigate "https://mgr.xxx.com:8443/" WScript.Echo "wait.."&counter & ": oIE.ReadyState="&oIE.ReadyState& ": oIE.busy=" & oIE.Busy counter = 0 While (oIE.busy = true or oIE.ReadyState < READYSTATE_COMPLETE) And counter < 200 counter = counter + 1 wscript.sleep 1000 WScript.Echo "wait.."&counter & ": oIE.ReadyState="&oIE.ReadyState& ": oIE.busy=" & oIE.Busy Wend -------------------

2/8/2010 4:05:01 AM 0 =?Utf-8?B?U2h1Y2hlbmcgTGl1?= <Shucheng...@discussions.microsoft.com>
enumerating all of the services using the <fill-in-the-blank> Account for credentials (aka: StartName)

Good evening. I am trying to determine what - if any - services are running under the context of the 'Administrator account. I have the following VERY basic script: '================================================================================================== ' ' VBScript Source File ' ' NAME: Services-Admin.VBS ' VERSION: 1.0 ' COMPANY: outsourceIT ' CREATE DATE : 02/05/2010 ' LAST MODIFIED : n/a '================================================================================================== ' COMMENT: This script will list all Services running under the context

2/8/2010 1:38:16 AM 6 "Cary Shultz" <cshu...@nospam.outsourceit.com>
ASP function question.

I hope I'm in the right spot. Our developer moved this week and we have a small problem. We have an app that uses asp pages to update a database. They work fine and there is no problem there. What we now need to do is to place the return value from one of these asp functions in an htm page. So I guess I have two questions: 1) how do we include the reference to the asp page in our html page? We've tried this: <!--#include file="path to file/our-asp-file.asp"-->. That doesn't seem to work, 2) How to call the function from an htm page. I suppose that it is dependant on #1 above w

2/6/2010 2:22:15 AM 17 "Marian Henna" <marion.he...@yacobe.net>
Insert text on Wallpaper

Hi everybody, With a loggon script in vbs, is there a (simple?) way to insert text on Wallpaper of the desktop of a XP client? The text couldn't be changed, as if it was a part of a wallpaper picture. Thanks in advance. -- Fran�ois Lafont

2/5/2010 11:48:23 PM 8 francois <franc...@NoSpam.fr>
ODBC Connect error in Script Host Version 5.8

My Access/ODBC connection code is failing in Win7/Script Host 5.8. If it runs on V 5.6, it works. If it runs inside VbsEdit debugger, on Win7, it works. It FAILS running directly on either Win7 or Server 2008 R2 (V 5.8) I guess the basic question is what is different between V 5.6 and V 5.8? If the underlying OS/provider has changed, I think that would be the same when running either in or out of the VbsEdit debugger. I'm using the generic format: Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\mydatabase.mdb;Uid=Admin;Pwd=; (From ConnectionStrings.com) Specifically:

2/5/2010 4:21:58 PM 4 "TreyS" <Tr...@HotMail.com>
How to Use/Replace Capicom in VBS script on Windows7 x64?

We have a project that call Capicom.dll in a VBS script to fetch/add/delete certs from both local computer and Active Directory stores, as following: -------------------------------------------------------------------------------- Set store = CreateObject("Capicom.Store") store.Open 2,"MY",130 If Err.Number > 0 Then log "Error:Vbscript error found:" & Err.Number &" " & Err.Description --Line *** Else log "Error:CAPICOM error found : " & Err.Number &" " & Err.Description End If Err.Clear WScript

2/5/2010 2:39:01 PM 6 =?Utf-8?B?U2h1Y2hlbmcgTGl1?= <Shucheng ...@discussions.microsoft.com>
SQL Version (Build) with WMI

Hello ng How can I get the SQL-Server Version and Edition with WMI or registrykey? This server is patched with SP3 and CU5. The BuildNumber is 10.0.2746.0 now. This RegistryKey give only the basic insallation version, not with updates. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\BIDS\Setup] "Version"="10.0.1600.22" With this SELECT I can list what I want, but I search a WMI querie. SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('edition') 10.0.2746.0 Enterprise Edition (64-bit) thanks for your help Mick

2/5/2010 10:01:26 AM 2 "Mick" <...@jansen.com>
Reformat text with a script

Hi, I was wondering if anyone could help me out - I'm trying to reformat the following data from a file called data.txt: OR1387L3 Jan 20 2015 6:59PM OR1363L3 Feb 4 2011 6:00PM to remove the L3, drop the time, and reformat the date like this- OR1387 01202015 OR1363 02042011 Any suggested are appreciated. Thanks!

2/4/2010 11:06:01 PM 15 =?Utf-8?B?QmlsbA==?= <B...@discussions.microsoft.com>
Drag and Drop-How to get the url's title?, Name? Description?

I made a .Hta file that contains some drag and drop (primitive coding, alas). (see full .hta code at bottom of this posting) The .hta returns the url of links that are dragged and dropped onto it. But there's info it doesn't return that I need, and I don't know the right term to describe what I need that I'm not getting. To explain by example, if I open a window to this url: ---- http://dotcommunities.codeplex.com/ and I open Windows Explorer to a folder ----- e,g, c:\apps and I drag the url to that folder, a shortcut file will be created. The shortcut file will contain the url AND

2/4/2010 9:40:01 PM 1 =?Utf-8?B?TWFyY2VlcG9vTnU=?= <mbh2...@aol.com>
Running ASP Page.

This is going to be dumb, but my mind is mush and I know I've done this before. I have an ASP page that works fine when accessing it via the browser URL bar: i.e.. http://webaddress/dir/something.asp What I would like to do is to run the script from an html home page. So in the header of the page, I want to execute the script. I can do so with a link, but that's not the desired method. I just can't seem to remember how to do this and of course scrowing the interweb yields all kinds of links that are just not relevant. Probably the search criteria. Anyway, can someone jo

2/4/2010 7:31:57 PM 2 "Axel Brotten" <axel.brot...@aol.com>
Problems with VBScript - RegRead when running as a service

I am working on a script that runs under a custom installation utility, which is running as a service. To get the current user name the script executes this command: str_Acct_Name_Val = "HKCU\Software\Microsoft\Windows\CurrentVersion \Explorer\Logon User Name" str_Acct_Name = RegRead(str_Acct_Name_Val) When I run the script from the command prompt, it can read that value just fine (under an administrator account). When the value is attempted to be read with service/local system privileges, the read fails. What is the problem here?

2/4/2010 3:27:06 PM 2 Brandon <therealbran...@gmail.com>
Date expired = invisible fields

I need to make a form (with VBA codes) where i have some fields from a table (tblUsers) when the "expiredate" is lower then the current date (fldExpire) it has to make the fields on the form invisible. I already made the field continuous, but the problem is that when the "expiredate" is lower then this date or not it makes all fields invisible, even if it's one. Also, I got some field ID's. but the first ID is 4 and i can't change it back to 1 also when I add a new one at the end and it's gets like ID 12, after I delete it, so my last ID n� is 11, and I add another one, it gives the

2/4/2010 2:49:45 PM 4 MiserySyndrome <gu...@unknown-email.com>
Need help with a script to copy a file to a specific home dir

I would like to use vbscript to move a text file from a share directory to specific users home directory whereby the script pulls from a list of names (text file) and uses the users homedir path to copy the file. -- bforrest

2/4/2010 12:45:47 PM 6 bforrest <gu...@unknown-email.com>
Enable/Disable NIC Script - Win 7

how would you modify the above script to work with Windows 7? Const ssfCONTROLS = 3 sConnectionName = "Local Area Connection" sEnableVerb = "En&able" sDisableVerb = "Disa&ble" set shellApp = createobject("shell.application") set oControlPanel = shellApp.Namespace(ssfCONTROLS) set oNetConnections = nothing for each folderitem in oControlPanel.items if folderitem.name = "Network Connections" then set oNetConnections = folderitem.getfolder: exit for end if next if oNetConnections is nothing then msgbox "Couldn't find 'Network and Dial-up Connections'

2/3/2010 8:35:08 PM 0 KenH <ken.haferm...@gmail.com>

Pages: 2 3











Newest Articles

Multi-Column Report
5 min. 42 sec. ago

addressing mail
7 min. 16 sec. ago

Drop down list in Microsoft Word 2007
11 min. 16 sec. ago

How do I find out why? Error 3251
14 min. 43 sec. ago

Path.GetInvalidPathChars "Visual Basic 6.0 Classic" equivalent
17 min. 17 sec. ago