Results 1 to 4 of 4

Thread: CLICK XML TAB Menu through VB

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    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">
    Attached Images Attached Images  

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: CLICK XML TAB Menu through VB

    Which version of VB are you using?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    Re: CLICK XML TAB Menu through VB

    VB 6.0. I have added Windows Internet Control onform

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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 )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width