SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2004
    Location
    UK
    Posts
    201
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Childobjects method with .net Windows Forms

    Hi

    I want to avoid to use inbuilt Object Repository.so tried with the below approach.

    So I tried using ChildObjects method .here i copied my code.


    Dim objWnd
    Dim butObj
    Dim list

    set objWnd=Description.Create()

    objWnd("micclass").Value="SwfWindow"

    objWnd("regexpwndtitle").Value="Material Lists"


    set butObj=Description.Create()
    butObj("micclass").Value="SwfButton"

    'butObj("regexpwndtitle").Value="Cancel"


    set list=SwfWindow(objWnd).ChildObjects(butObj)

    msgbox list.count


    Here list.count is showing up as zero.


    Pls let me know where i am doing wrong


    Thanks,
    Malleswari.

    [ 10-18-2005, 09:28 PM: Message edited by: MalleswariQA ]
    Malleswari.

  2. #2
    Member
    Join Date
    Jul 2004
    Location
    UK
    Posts
    201
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Childobjects method with .net Windows Forms

    I have tried to access button 'cancel' using

    SwfWindow(objWnd).SwfButton(butObj).click

    giving error message with

    not found parentobject 'SwfWindow' to SwfButton object.

    I have enabled thirdparty controls at internet options.
    Malleswari.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:28 PM.

Copyright BetaSoft Inc.