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 SkipVought 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. Aladdin420

    Using WMI to configure the NIC duplex speed

    Hey...you...it can't be done! That's the answer! I found out! So don't waste your time like I did...now u know... :o) -Aladdin420
  2. Aladdin420

    Using WMI to configure the NIC duplex speed

    The Network Card duplex can be 1 of the 4 following choices of speed: - 10-Half - 10-Full - 100-Half - 100-Full Now..., by using WMI I was able to use a Win32 class to retrieve the current settings of speed on the NIC or Network Card. However, I was 'NOT' able to find a way of configuring or...
  3. Aladdin420

    response write logon user

    If you are using VBScript here's how u're gonna get the username: Dim WSHNet Set WSHNet = CreateObject("Wscript.Network") MsgBox "Username is: "&WSHNet.UserName Enjoy!!
  4. Aladdin420

    Script Encoding

    I downloaded the encoder from the MSDN web site. It's called 'Windows Script Encoder 1.0'. It's very simple to use and it's purpose is to protect the source code of scripts, by screwing up the source code so that when looked at, it doesn't make sense to a reader. Now I tested the encoder with...
  5. Aladdin420

    Script Encoding

    Encoding means that when a, for example '.vbs', file is encoded by using an encoding application, the source code of that '.vbs' file is no longer understandible. Here's the story, I just encoded 'Cool.vbs' to 'Cooler.vbs'. Now the Cool.vbs, which was not encoded, works fine, but it's new...
  6. Aladdin420

    "GoTo" command

    There is NO 'GoTo' statement in VBScript!! I'm willing to bet.....uh.., okay never mind the betting. :-P Honestly there really isn't any.
  7. Aladdin420

    Drop down inputbox

    Hey Frog, I was hoping to get an answer within VBScript, dude. Is there some way of calling an html or javascript code in VBScript that would help me to do the following task: I want to read from a file that will have the following text: '***** Fall Summer Winter Spring '***** I want to read...
  8. Aladdin420

    Win32_IniFileSpecification in VBScript

    The Win32_IniFileSpecification WMI class contains the .INI information that the application needs to set in an .INI file. The .INI file information is written out when the corresponding component is selected to be installed, either locally or run from source. Does anyone have an idea how I can...
  9. Aladdin420

    Drop down inputbox

    Hi all, wanted to know if there's some way of constructing a drop down input box in VBScript. I have gone bananas looking for it, but it seems that this feature is not given with VBScript or the WSH. This is what I wanted to do, for example: An inputbox will pop up and ask the user to...
  10. Aladdin420

    How do I create a timer??

    hey, it seems to me that you want to place a script to sleep, but rather then to specify a specific number of seconds in the script, you want the user be given this option. Assuming I am correct, try this code: '****************************** Dim returntext returntext =...
  11. Aladdin420

    Code

    Okay, my "master plan" is to get into Inbox - Microsoft Outlook. And once I'm in, I want to be able to open emails, and read through their texts for a specific character. Once the character is found I will copy that line and smack it into a normal .txt notepad file. Then of course...
  12. Aladdin420

    Active X component

    Very cool, thanx a million, I just tried it, it's working like charm. :-) Aladdin420
  13. Aladdin420

    Creating Files with script

    '************************* Dim oFSo, File1 Set oFSo = CreateObject("Scripting.FileSystemObject") Set File1 = oFSo.CreateTextFile("C:\script.txt") '********************************* This will create a text file called "script.txt" in your C drive. Okay? Mark...
  14. Aladdin420

    Active X component

    I understand, I have it working now. The path was "c:\winnt\system32\Regsvr32.exe" Now to register for example "msmapi32.ocx", because I wanted to use the mapi feature, all i did was in the dos prompt run: C:\winnt\system32\>regsvr32 msmapi32.ocx Then a msg box pops up...
  15. Aladdin420

    Creating Files with script

    Here is what u may be looking for: Set oFSo = CreateObject("Scripting.FileSystemObject") Set oShell = CreateObject("WScript.Shell") Set oNet = CreateObject("Wscript.Network") Cool? laters Aladdin420
  16. Aladdin420

    Active-X components List

    Found it!! For the ppl. who were wondering, here is the link: http://msdn.microsoft.com/library/default.asp?URL=/library/devprods/vs6/vbasic/vbcon98/vbconcontrolclass.htm
  17. Aladdin420

    Active-X components List

    Does anyone know of a list of all the ".OCX" files that can be used with VBScript? Thanks Aladdin420
  18. Aladdin420

    Active X component

    I wanted to push my VBScripts to the next level and wanted to learn about Active X components. I have an idea now. A friend told me that I would have to register, not sure what that meant. Went to the Active-x.com, but I'm still lost. Does anyone know where to register, and how would only...
  19. Aladdin420

    Using the ".Run" method to call a Sub Procedure

    Beautiful, simply beautiful. You guys simply rock. It's working like a charm. Thanks a million. A special thanks to alistairpaul of course, thanks once again dude. Aladdin420
  20. Aladdin420

    Using the ".Run" method to call a Sub Procedure

    Dim objSC, blah, sCCSserver, sMachine, Copier, oFSo, x, y Set oFSo = CreateObject("Scripting.FileSystemObject") Set objSC = CreateObject("MSScriptControl.ScriptControl") Set oShell = CreateObject("Wscript.Shell") Const ForReading = 1, ForWriting = 2, ForAppending =...

Part and Inventory Search

Back
Top