You might want to add a wait state to keep from getting errors. I create the
object as oie, then 

Do while oie.busy
Enddo
And you might even check the readystate of the object
Oie.readystate and oie.document.readystate. You can put those in do while
loops too, with a timeout that you create


John Harvey


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Jean Haidar
Sent: Tuesday, May 05, 2009 11:54 AM
To: [email protected]; [email protected]
Subject: Re: Calling ASP .net pages from VFP

I tried, it works. here is the code
 
lcurl=[http://Server/default.aspx]
objExplorer=CreateObject("InternetExplorer.Application")
objExplorer.Navigate(lcurl)
 
objExplorer.ToolBar = 1 
objExplorer.StatusBar = 1 
objExplorer.Left = 0 
objExplorer.Top = 0 
objExplorer.Visible = 1

Jean Haidar
System programmer Analyst 
501-221-6737


________________________________
From: Stephen Russell <[email protected]>
To: [email protected]
Sent: Friday, May 1, 2009 8:38:27 AM
Subject: Re: Calling ASP .net pages from VFP

On Fri, May 1, 2009 at 7:55 AM, Jean Haidar <[email protected]> wrote:
> Does anyone know how to call ASP.NET pages from VFP
>
> need to know how to call a simple asp.net page and show it
>
> how to pass url/ parameters to an asp.net page from VFP  and show the page
-----------------------

Never tried this but it is OTTOMH

Instantiate IE
In that object pass in the URL you want and then "Open In New Window"
or "New TAB."


-- 
Stephen Russell
Sr. Production Systems Programmer
Web and Windows Development
Independent Contractor
Memphis TN

901.246-0159

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/010b01c9cdae$26b2b7a0$741826...@[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to