cancel
Showing results for 
Search instead for 
Did you mean: 
vbp0001
Pilgrim

Laaw_parameters

The code is attached to the text file. I could not post it here.


Can anyone tell me why LAAW_PARAMETERS.nLaunchResult does not return a 0.
Labels (1)
0 Kudos
11 Replies
TurboFisch
Pilgrim

Re: Laaw_parameters

if you are running on a system with UAC, you might need this:

if (SYSINFO.WINNT.bWinXP != TRUE) then
LAAW_SHELLEXECUTEVERB = "runas";
endif;
0 Kudos
rguggisberg
Active participant

Re: Laaw_parameters

If reply from TurboFisch does not solve problem, you could remove the /q and the SW_HIDE so that you can see any error messages.
0 Kudos
vbp0001
Pilgrim

Re: Laaw_parameters

TurboFisch wrote:
if you are running on a system with UAC, you might need this:

if (SYSINFO.WINNT.bWinXP != TRUE) then
LAAW_SHELLEXECUTEVERB = "runas";
endif;



Where do I put this? Do I put it right before sCommand? Thank You
0 Kudos
rguggisberg
Active participant

Re: Laaw_parameters

vbp0001 wrote:
Where do I put this? Do I put it right before sCommand? Thank You


Put it some place before using LaunchApplication.
0 Kudos
Highlighted
vbp0001
Pilgrim

Re: Laaw_parameters

rguggisberg wrote:
Put it some place before using LaunchApplication.



Tried what you suggested and it did not work. This is what I got in the log file.

---- Enter Function : ClearIconCache ----
++++ WARNING: The IE Per-User Initialization Utility failed to run successfully (0X00000001).
++++ WARNING: Incorrect function.
---- Leave Function : ClearIconCache ----
0 Kudos
vbp0001
Pilgrim

Re: Laaw_parameters

rguggisberg wrote:
If reply from TurboFisch does not solve problem, you could remove the /q and the SW_HIDE so that you can see any error messages.


Tried what you suggested and it did not work. This is what I got in the log file.

---- Enter Function : ClearIconCache ----
++++ WARNING: The IE Per-User Initialization Utility failed to run successfully (0X00000001).
++++ WARNING: Incorrect function.
---- Leave Function : ClearIconCache ----
0 Kudos
rguggisberg
Active participant

Re: Laaw_parameters

Looking at your original post (f the code is still that way) you have defined sInitUtilityFile .. but did not include it in sCommand.
I tried to post corrected code but got whacked by the security policy of this site Smiley Sad
You should also remove the quotes from the definition of sInitUtilityFile so that they don't get doubled up.
I find that it is often a good idea to display a message box or sprintf of the command line... at least temporarily for test.
0 Kudos
vbp0001
Pilgrim

Re: Laaw_parameters

rguggisberg wrote:
Looking at your original post (f the code is still that way) you have defined sInitUtilityFile .. but did not include it in sCommand.
I tried to post corrected code but got whacked by the security policy of this site Smiley Sad
You should also remove the quotes from the definition of sInitUtilityFile so that they don't get doubled up.
I find that it is often a good idea to display a message box or sprintf of the command line... at least temporarily for test.



sInitUtilityFile is included with sInitUtilityPath. I will try to remove the quotes and see what happens.


I did try to remove the quotes and I got a error #6879: 'ie4uinit': undefined identifier.

I printed out the sCommand and it is in the text file.
0 Kudos
rguggisberg
Active participant

Re: Laaw_parameters

There will always be things that just don't quite work the way you intended.
Get in the habit of displaying a message box or sprintf of the command line... at least temporarily for test when you have this kind of trouble.
If you display the value for sInitUtilityPath the solution will probably become obvious.
0 Kudos