Home » Developer & Programmer » Forms » how to handle ocx items (forms 6i)
how to handle ocx items [message #402920] Wed, 13 May 2009 02:56 Go to next message
banaiig
Messages: 4
Registered: April 2009
Junior Member
hello everyone!!!!
i have created a form and ocx item in it which displays web site.

the problem i have is that i should provide a user name and a password to login to this web site.

how can i handle the ocx item to get the username and a password automaticaly (from a table of course) without the need to retype it each time i enter the form?????


please help



Re: how to handle ocx items [message #403642 is a reply to message #402920] Sun, 17 May 2009 20:00 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Can you detect from within the form that the login has failed?

David
Re: how to handle ocx items [message #403696 is a reply to message #403642] Mon, 18 May 2009 02:35 Go to previous messageGo to next message
banaiig
Messages: 4
Registered: April 2009
Junior Member
hi

because i'm always redirected to the login page.

can i use win_api_shell.sendkeys function to send the username and the password?
and if so how can i use this function?
what is the format of the string that i should provide?

thanks in advance

Re: how to handle ocx items [message #404505 is a reply to message #403696] Fri, 22 May 2009 00:50 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
"because i'm always redirected to the login page." tells me NOTHING!!!

Please post your code that you are using to invoke the ocx.

David
Previous Topic: Sum of Summrized Item
Next Topic: In new instance ,value populating from old record
Goto Forum:
  


Current Time: Mon Feb 03 23:43:13 CST 2025