It looks like you're new here. Sign in or register to get started.
fctIsOCXDLLInstalled(ptxtRegistryName : Text;ptxtVersion : Text) : Boolean
Using the above method for installing OCX/DLL files, you could instead do what I have done and create a custom installer package to deploy and register them. Then, have Navision extract and run the installer.
Now if you add the RunAsUser app to the mix, the only difference is that you would package your installer in the new exe and deploy that instead. The new exe in turn will unpack your exe and run it as the specified user. Pretty handy really.
Microsoft no longer support SHELL command with one parameter in 4+
So you might have to break up SHELL command in 3 parameters.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I am playing around with this code to make it work for us and I wanted to utilise this to check for an OCX being installed. My problem is this....
in the function.
the following code is called:
this works ok for the DLL file, but I want an OCX file which I can find in the "Custom Controls".
How do I search through the custom controls, is there a system table for this ?
Many Thanks in advance
I have a dll wirtten in C#, I've did what you said but it didn't work, I've got this error message:
Thanks for help!!! :oops: