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...
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?
***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 &...
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.
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...
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...
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...
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...
~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...
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...
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...
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...
I am very new to the world of Visual FoxPro. I am currently running version 9. I just need to know how to setup the development environment to retain my windows settings. I have the data session, document view, and command all linked together. I just want to retain that when I open visual...
I have written a vbscript that runs some simple SQL delete and insert statements using an ADO connection object with the Microsoft Visual FoxPro Driver. The problem ("oddity") is that I will get "Error reading file" on occasion. I can get around this message by running a statement trys to set a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.