Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wincombobox issue
#1
Not Solved
Hi,
Code:
Set a=CreateObject("scripting.filesystemobject")

Set b=a.opentextfile("C:\Documents and Settings\madhu\Desktop\te.txt",1)

  If  b.atendofstream <>  true Then
   c=b.readline
  

  
End If
  


d=Window("Flight Reservation").WinComboBox("Fly From:").GetItemsCount
temp=0

For i=0 to d-1

     g=Window("Flight Reservation").WinComboBox("Fly From:").GetItem(i)

   h=h+g+";"

  

Next
MsgBox h
If h = c  then  temp=1
    If temp=1 Then

        MsgBox "pass"

        else

        MsgBox  "Fail"
    End If
Window("Flight Reservation").Close

*** Above code is working fine when having the text file with values like this formatBig Grinenver;Frankfurt;London;Los Angeles;Paris;Portland;San Francisco;Seattle;Sydney;Zurich;

But same textfile format values like,its not working .pls suggest me .

Denver
Frankfurt
London
Los Angeles
Paris
Portland
Francisco
Seattle
Sydney
Zurich
Reply


Messages In This Thread
Wincombobox issue - by 1981.madhu@gmail.com - 10-26-2009, 01:11 PM
RE: Wincombobox issue - by Saket - 10-26-2009, 01:20 PM
RE: Wincombobox issue - by 1981.madhu@gmail.com - 10-26-2009, 04:38 PM
RE: Wincombobox issue - by basanth27 - 10-26-2009, 04:54 PM
RE: Wincombobox issue - by Saket - 10-27-2009, 10:08 AM
RE: Wincombobox issue - by 1981.madhu@gmail.com - 10-27-2009, 05:02 PM
RE: Wincombobox issue - by Saket - 10-27-2009, 05:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Has anyone seen wincombobox.select leave the window? RandomGrin 1 2,745 12-23-2014, 01:52 PM
Last Post: neha kandhari

Forum Jump:


Users browsing this thread: 1 Guest(s)