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 Shaun E 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. purephase

    Fpd 2.6A + Windows Server 2003.

    None of them work. I have feeling the problem is with DFS in Windows Server 2003 since this particular drive is off a root. I move the same folders over to another server (2003) not mounted through DFS and it works fine.
  2. purephase

    Fpd 2.6A + Windows Server 2003.

    It's substituted. The drive is mapped, so as an example i:\dept\fpd26\fox.exe would be the full path to the executable.
  3. purephase

    Fpd 2.6A + Windows Server 2003.

    First off, I had nothing to do with the development of the product in question, nor do I know Foxpro all that well, however, I am stuck in the unfortunate position of trying to fix a problem. We have a FPD2.6a app running on a fileserver (foxpro files and data on a share) that was recently...
  4. purephase

    Testing Folder Permissions.

    I wrote a small application to launch an install process (with command-line arguments etc.). Are there any VB hooks that will launch an NT authentication box and return values back to the application? The install process resides on a network share, and I'd like the user to enter credentials...
  5. purephase

    PasswordExpired Attribute + VBScript.

    Hey, thanks for the reply. I'll check out scriptomatic, but for now, I did figure out the solution. objUser.Put "pwdLastSet", 0 This is all I needed. It does what: objUser.Put "PasswordExpired", 1 was supposed to do. I'm not sure how anyone ever got the latter to work...
  6. purephase

    PasswordExpired Attribute + VBScript.

    I'm trying to add a bunch of users via a script and a delimited file. Here's the snippet: objUser.AccountDisabled = False objUser.Put "PasswordExpired", 1 objUser.Put "pwdLastSet", 0 objUser.SetInfo It is all working except the "PasswordExpired" option, which...
  7. purephase

    Passing values to a function.

    Alright, figured that out too. So, I guess this turns into a tip of some sort. How to correctly pass a value, or array value into a function, process it and initiate an object, and correctly return that object. See below: Option Explicit Dim arrParts arrParts =...
  8. purephase

    Passing values to a function.

    Nevermind. I figured it out. In the actual function, the returned value is an object, and it's incorrectly defined when the function is called. It should read: Set objReturn = Query("Object", arrParts(0)) .. Query = objReturn This works, the only problem is that the attributes...
  9. purephase

    Passing values to a function.

    Hmm.. that still results in the same error for me. This is strange. Thanks for the help though.
  10. purephase

    Passing values to a function.

    Isn't that how you're supposed to return values from functions in vbscript?
  11. purephase

    Passing values to a function.

    I know the answer is probably simple, but for some reason I can't figure this out. Option Explicit Dim arrParts arrParts = array("1","2","3","4","5") objReturn = Query("Object", arrParts(0)) Function Query(strType, strName) '...
  12. purephase

    need to run a command from a vb script

    Oops, change the WshShell.Run line to: WshShell.Run "%comspec% /c net use \\55chevy /user:domain\" & strUserName & "", 0, True Sorry about that.
  13. purephase

    need to run a command from a vb script

    Option Explicit Dim WshShell, WshNetwork, strUserName Set WshShell = WScript.CreateObject("WScript.Shell") strUserName = InputBox("Enter your name:" & vbCRLF & "Please enter your username.", "Login") WshShell.Run "%comspec% net use \\55chevy...

Part and Inventory Search

Back
Top