please some one help me out. i got stuck on my project what deadline is already passed
i can't figure out how to .. set/get value objects under web browser controls forms.
please see the attached file for source code of the page
i use HTML Object library.. but no way.from my end
so, i request from some help..
this is the part of source code i am using:
please check the source code (attached) for the placement of the id/object "ctl06_KeepCopyCheckBox"Code:Dim objHTMLdoc As HTMLDocument Dim objHTMLinp As HTMLInputElement Dim objHTMLbut As HTMLButtonElement Dim objHTMLSelect As HTMLSelectElement Dim objHTMLLink As HTMLAnchorElement Dim objHTMLForm As HTMLFormElement Set objHTMLdoc = webMain.Document Set objHTMLForm = objHTMLdoc.getElementById("Form1") MsgBox objHTMLForm.Name (give error "object varaible not set" error num-91) Set objHTMLinp = objHTMLdoc.getElementById("ctl06_KeepCopyCheckBox") objHTMLinp.Checked = True (same error here)
please any one hlep me out asap.. as i am in grave danger
best regards
kamrul hassan






Reply With Quote