12-21-2005 11:30 PM
Thanks Andy.
Meanwhile if you could share an example in labview CVI for going to a particular frame in a page and access a form and submit it...(i mean in back ground)
It would be very helpful for me...
regards
vevek
12-22-2005 03:21 PM
12-23-2005 02:49 AM
Andy,
thanks for the help...
actually i am new to the LabWindows/CVI....i just got practised to the new enviornment..
I created a new proj in CVI and added a fp file(activex controller wizard)...
but the
12-23-2005 02:56 AM
Hi Andy,
thanks for the CVI code..
i am new to CVI..
i created a new proj and using the activex controller added the IHTML properties and methods to the fp file..
i included the .c file and .uir files sent by you..but not able to find the header files send by you
"mshtml.h"
"inetcontrols.h"
"testproject.h"
According to my knowledge the mshtml.h file is created while the fp file creation...i created a msie.fp file so msie.h file was created.
Is my understanding right??
Could you please elaborate this..
and send me the "inetcontrols.h""testproject.h" files ....
Regards
Vevek
12-23-2005 04:04 AM
Andy,
One more doubt i have is ..i need to integrate the CVI code(by creating a dll) with VC++..in that case will the uir window open and then execute or will not??
Is there any solution of not opening the uir when we execute.??(but all the tasks are to to donein back ground)..because if we check in labview the window doesnot popout..it loads in the control in the IHTMLWebbrowser.navigate.(as in your google eg)
regards
vevek
12-23-2005 10:59 AM
Hi Andy,
I explored cvi and got the code half a way through and got errors in IHTMLElementcollection.item fucntion in CVI..
below is the definations and functions i used:
HRESULT status;
VARIANT vCStr;
VARIANT element;
static MSHTMLObj_IHTMLFramesCollection2 pFramesCol;
static MSHTMLObj_IHTMLElementCollection formsHandle;
static MSHTMLObj_IHTMLDocument2 doc;
static CAObjHandle pHandle;
MSHTML_IHTMLDocument2Getframes (docHandle, NULL, &framesHandle);
MSHTML_IHTMLFramesCollection2Getlength (framesHandle, NULL, &numFrames);
status = CA_VariantSetCString (&vCStr, "FRAME NAME");
HTML_IHTMLFramesCollection2item (framesHandle, NULL, vCStr, &vCStr1);
status = MSHTML_IHTMLWindow2Getframes (framesHandle,NULL,&pFramesCol);
status = MSHTML_IHTMLWindow2Getdocument (framesHandle,NULL , &doc);
status = MSHTML_IHTMLDocument2Getforms (doc, NULL, &formsHandle);
status = CA_VariantSetCString (&element, "FORM NAME");
status = MSHTML_IHTMLElementCollectionitem(formsHandle,NULL,element,CA_DEFAULT_VAL, &pHandle);
12-27-2005 03:56 PM
12-28-2005 12:45 AM
Hi Andy,
I have posted the same in CVI forum ...
Hope Sarah(application engineer) will be able to help me...
i think i am struck in a very small issue...if that is solved then i can succeed in the implementation..
Thanks for youe help..
If accessing a form in a frame in back ground is possible in some other methods(using .NET...) please let me know...
Thanks & Regards
Vevek
10-24-2012 09:29 PM
How about liking on Facebook (Click the Like Button) automate once the account already log in