First  |  Prev |  Next  |  Last
Pages: 54 55 56 57 58 59 60 61 62 63 64 65 66 67
German VBS Problem
Hi, I have a problem with a German VB file which I am sure is related to the time and date format used in the UK dd.mm.yyyy If i sent my PC to location Germany then the code works. Can any help, here is the code '*************************************** '**** Author Eve '**** Swyx Communications AG '****... 24 Jan 2006 16:23
Find out where a user is logged in?
This has been a long time frustration of mine with Windows networks. I have yet to find a way to tell which workstation a user is currently logged into. Has anyone out there solved this or found something I've just overlooked for so long? Perhaps a very handy script? ... 14 Jan 2006 00:23
Runas
I can remove a program with a script as an administrator. However, I want to uninstall a program when I am logged in as a user. The system has been disabled for users. Therefore I am trying to use runas. But it does not take the password! Any ideas? On Error Resume Next dim WShell,objFSO strUser=administr... 13 Jan 2006 10:21
How to get MAC address with .vbs ?
Hello, Does anyone know how to get mac adress with vbs. after several attempts, I've been unable to get it from registry.(It does not appear in clear text) Or does anybody know how to get a unique identifier that does not change after formatting and reinstalling the OS ? I'm trying to get the Pc serial num... 7 Jan 2006 07:06
use ConnectObject without WScript?
Hello. I'm trying to make a (vb)script that does sockets: IE: SET Test = WScript.CreateObject("MSWinsock.Winsock", "Test_") SUB Test_Connect() : msgBox "Test::Connected" : END SUB The problem is, the program in which the script runs within, doesn't let me use the WScript object. I get this error i nthe p... 24 Nov 2005 02:54
Script which tells, where user is logged on
Hi all. I would need a script (vbscript - I can script this a bit, or perl) which I give username and returns me computer name, where user is logged on. I assume this information must be hidden somewhere. We are using Active Directory on Windows Server 2003 platform. BTW: Does anyone know, how can I give exte... 24 Nov 2005 02:54
Problem with copyhere
Hi I have a problem with the copyhere I attach my script: Option Explicit Dim FileCopy, Source, Dest, ProgressBar Const FOF_NOCONFIRMATION=&H10 Set ProgressBar = CreateObject("Shell.Application") Source = "d:\da\*.*" Dest = "D:\a\" ProgressBar.Namespace(Dest).CopyHere Source, FOF_NOCONFIRMATION Set Progress... 22 Nov 2005 04:38
winsock?
Hello. I'm trying to use sockets in vbscript, but I get the feeling I need to install something. test.vbs ---------- SET Test = CreateObject("MSWinsock.Winsock", "TEST_") SUB Test_Connect() msgBox "Test::Connected" END SUB ---------- Gives: ---------- C:\test>cscript test.vbs Microsoft (R) Windo... 20 Nov 2005 15:53
Registry permissions...
OK I know of CheckAccess to verify that I have the given permission to a specific key (see code bellow) === snip, snip === Code === Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\default:StdRegProv") strKeyPath = "SYSTEM\CurrentControlSet" oReg.CheckAccess HKE... 18 Nov 2005 13:10
800A0046 permission denied error when running script
I am a newbie to scripts, so please be gentle. I am trying to run the following script to copy and overwrite a file; ---------------------------------- Const OverwriteExisting = TRUE Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CopyFile "C:\TEMP\test.txt" , "C:\temp\test", OverwriteExis... 18 Oct 2005 19:49
First  |  Prev |  Next  |  Last
Pages: 54 55 56 57 58 59 60 61 62 63 64 65 66 67