1 Attachment(s)
CLICK XML TAB Menu through VB
have a website in which there are some Tabs and each tabe have some different data. I want to click those tabs through VB. I dont know about XML or any Scripting Language. I got the below code from VIEW SOURCE option of IE. Anyone can help me regarding this.
Code:
?XML:NAMESPACE PREFIX="TSNS" /><?IMPORT NAMESPACE="TSNS" IMPLEMENTATION="/webctrl_client/1_0/tabstrip.htc" />
<TSNS:TabStrip id="AccInfo_PackageTabStripInfo1" selectedIndex="0" targetID="AccInfo_PackageMultiPageInfo" tabDefaultStyle="border:solid 1px black;background:#dddddd;padding-left:5px;padding-right:5px;font-family:verdana;font-weight:bold;font-size:x-small;color:navy;" tabHoverStyle="color:red;" tabSelectedStyle="border:solid 1px black;border-bottom:none;background:white;padding-left:5px;padding-right:5px;" sepDefaultStyle="border-bottom:solid 1px #000000;" onSelectedIndexChange="JScript:document.GroupsForm.__AccInfo_PackageTabStripInfo1_State__.value=event.index" onwcready="JScript:try{document.GroupsForm.__AccInfo_PackageTabStripInfo1_State__.value=selectedIndex}catch(e){}" style="width:930px;">
<TSNS:Tab>Account Info</TSNS:Tab>
<TSNS:TabSeparator />
<TSNS:Tab>Account Task Info</TSNS:Tab>
<TSNS:TabSeparator />
<TSNS:Tab>Financial Info</TSNS:Tab>
<TSNS:TabSeparator />
<TSNS:Tab>Collection Info</TSNS:Tab>
<TSNS:TabSeparator />
<TSNS:Tab>History</TSNS:Tab>
</TSNS:TabStrip>
<table>
<tr>
<td>
<?XML:NAMESPACE PREFIX="MPNS" /><?IMPORT NAMESPACE="MPNS" IMPLEMENTATION="/webctrl_client/1_0/multipage.htc" />
<MPNS:MultiPage id="AccInfo_PackageMultiPageInfo" selectedIndex="0" onSelectedIndexChange="JScript:document.GroupsForm.__AccInfo_PackageMultiPageInfo_State__.value=event.selectedIndex" style="border-width:3px;border-style:solid;width:930px;BORDER-RIGHT: #000000 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: medium none; PADDING-LEFT: 5px; PADDING-BOTTOM: 20px; BORDER-LEFT: #000000 1px solid; PADDING-TOP: 20px; BORDER-BOTTOM: #000000 1px solid">
<MPNS:PageView>
<DIV id="div1" name="div1">
Re: CLICK XML TAB Menu through VB
Which version of VB are you using?
Re: CLICK XML TAB Menu through VB
VB 6.0. I have added Windows Internet Control onform
Re: CLICK XML TAB Menu through VB
As your question is not about writing/fixing XML, the XML forum isn't the right place... thread moved to VB6 forum.
(thanks for letting us know Nightwalker83 :thumb: )