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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by JOB2828

  1. JOB2828

    office will not run under domain user account

    Yes, it was installed using the domain admin account.
  2. JOB2828

    office will not run under domain user account

    I've tried installing office 2003 & 2007 and they run as they should under accounts with administrator rights. However, if you try to run under a domain user account, it tries to install again and errors out. Error is 2503 an internal error has occurred. (So helpfull). Click ok and then you...
  3. JOB2828

    Change WMI Active Process Limit?

    Is is possible to change the active process limit? I utilize the win32_process create method and need it to create more than 32 instances (default limit). Is there a way to change this limitation of wmiprvse.exe?
  4. JOB2828

    Create Process always returns "Path Not Found"

    ***UPDATE*** It's aggrevating me now. I tested with the following code right out of the MSDN Library and it does the same thing. Const SW_NORMAL = 1 strComputer = "." strCommand = "gt.exe" Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer &...
  5. JOB2828

    Create Process always returns "Path Not Found"

    What I thought was me typoing was not. I had forgotten that I moved the exe into the %systemroot%. I better take a break from this one for a bit.... [ponder] The problem remains as described in the start of this thread.
  6. JOB2828

    Create Process always returns "Path Not Found"

    Well, thanks for the reply. I feel like a bit of a knob, but I've been staring at code to long today. My problem was a typo... Thanks again..
  7. JOB2828

    Create Process always returns "Path Not Found"

    I have a script that uses WMI to launch an executable. However, the only thing that I can get it to launch is items within the %systemroot%. I have tried to set the working directory to something else, but it produces the same result. How can I get it to launch an application outside of the...
  8. JOB2828

    Macro password protection via vba code

    Sorry for the confusion.. Your suggestion worked just fine. I just didn't understand that you meant the vba code is what the saveas was having problems with. I figured that the method would have automatically removed the vba code when saving as text. Once again, it makes me frustrated that...
  9. JOB2828

    Macro password protection via vba code

    Sorry Tony, I think I misinterpreted what you recommended earlier. I must have accidentally diregarded the first line saying to "dump" the VBA code. I guess I'm not clear on how you mean for me to perform the saveas when the poject is locked...
  10. JOB2828

    Macro password protection via vba code

    Thank you all for your posts... I tried the recommendation of TonyJollans that does the copy prior to doing the saveas with the same result. You are correct Tony, I am simply trying to find a work around for the Q199268 bug. I need to be able to lock the code and be able to save to a text...
  11. JOB2828

    Macro password protection via vba code

    ~Excel 2003~ Is it possible to write a subroutine that will "lock project for viewing" and unlock? Here's why I ask: Due to the error defined in the knowledge base article Q199268, I can not "lock project for viewing" and write a macro that performs a saveas in a tab seperated format. I...
  12. JOB2828

    Asynchronously call a WSC object

    Update... I did find the solution. It is through WMI though. SWbemObject.ExecMethodAsync_ You can read about it here...MSDN
  13. JOB2828

    Asynchronously call a WSC object

    You are right on track. I know how to write an asynchronous ("non-blocked method call") in C++, but I am having difficulty figuring out how to do this within a vbscript wsc. I suppose I could convert my WSC into a dll or ocx that will run asynchronously, but that seems like overkill. It's...
  14. JOB2828

    Asynchronously call a WSC object

    I need to know if there is a way to asynchronously call a wsc object. Here is a simple example of what I need to do. set obj = createobject("some.wsc") SOMECODE obj.dosomething SOMEMORECODE Currently this script has to wait until obj.dosomething is finished before it will run SOMEMORECODE...
  15. JOB2828

    Saving Custom Development Environment

    Thank you all for your help. I new it would be something simple. I set the resource to off in a config.fpw file in an old project. While tinkering I must have ran the set resource command to off in the command window. Once again thanks...

Part and Inventory Search

Back
Top