I have an ActiveX control written in C# and working when run in an ActiveX compatible program (CoDeSys). The problem I've come across is that in order to allow CoDeSys to interact with the ActiveX control, CoDeSys requires the dll to export the function prototype:
void ExecuteActiveXCall(IUnknown* pUnk, char* pszId, char* pszParam, char...
Hi
I have got the following code in a button on a form, but I want to get the OID or ID value of the saved object so that I can load it directly later.
procedure TFormMain.ButtonNewClick(Sender: TObject);
var
Employee: Variant;
OId: Variant;
begin
Employee := Factory.New('Sample.Employee', True);
if VarIsNull(Employee) or VarIs...
Hi
I have an Active X control, which when first called or loaded in my asp.net application, is really slow to load. However, after the first load, it is really quick!!
My question is this, "How do I make my Active X control, when first called, load much faster? Is there away to preload the active x to the page so when it is used or cal...
So I have an ASP.net application, with an ActiveX Control which brings up a pop up
When I point to the application directly through IP there is no problem with the pop up
eg. xxx.xxx.xxx.xxx/MyApp (under Default Website in the IIS -- IIS 7)
Problem arises when I set up the IIS to point it to a domain
xxx.xxxxx.com which points to the...
I am contemplating building an out of browser Silverlight application. One of the reasons it has to be OOB is because I need to access an old school ActiveX/COM object and that is only allowed OOB.
I am having trouble finding any examples on how to actually integrate a COM object into a Silverlight app. The Add References dialog does...
In the Compact Framework 3.5, I am attempting to call an ActiveX object that has an IDL function signature:
HRESULT MyFunc([out] SAFEARRAY(float) *var)
The Interop generation creates the msil
[out] class [mscorlib]System.Array& marshal( safearray float32)
Which seems reasonable enough, but I keep getting a "NotSupportedException"...
In the system32 directory I saw an .OCX file with a corresponding .OCA file.
I had thought .OCA files are used only by Visual Basic. Are they therefore unnecessary for program execution and could be removed?
If they are unnecessary, why would there be an .OCA in the system32 folder in the first place?
...
My web app includes an ActiveX control. However, when I run the app, I got error "object expected" error intermittently. It seems sometimes the control is not ready when I call its properties/methods. Is there a way that I can detect whether an object is ready using JS?
Thanks a lot.
...
Greetings!
I've got a registered ActiveX component which I'm referencing in a C# project. However, I'd like to know the original path to the actual component being run. This is not the execution path per se. Is there something saner than searching the registry by hand?
The component is registered with a simple /regserver command, if th...
I have an ASP.NET site which uses a 3rd party activeX control. I have to pass a few parameters to the OBJECT tag in the HTML page. If i hardcode these parameters into the HTML everything works.
I would like to place the parameters in my web.config with app settings "key/value" pairs.
My problem is i cannot read the app key setting in ...
We have several classic asp web application that instantiates a visual basic 6 component, passes a (possibly huge) xml string, and gets back a (also possibly huge) xml string.
This component is the only way we have to interact with the database.
We are planning to rewrite this component using java. The idea is to left the rest of the ...
Hello experts,
Disclaimer: I have no experience in signing the files and this is my first time.
We have a wildcard SSL certificate for our websites. Now we are going to host an ActiveX control on one of our sites. When I try to sign my cab file using that certificate it gives error "private key and the certificate does not match or doe...
Hello,
I am trying to open a binary file and add some data in a specific position (after byte 29).
This is my code:
function exportFile(text)
{
var fso, f2;
fso = new ActiveXObject("Scripting.FileSystemObject");
f2 = fso.OpenTextFile("C:\\Users\\Devesa\\Documents\\"+url,8);
f2.Skip(29);
f2.Write(text);
f2.Close;...