Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a button to a menu that will go out to a web page

Status
Not open for further replies.

jeannie322

Programmer
May 18, 2001
25
0
0
US
Hey I am wanting to put a button on a menu form & get it to pull up a web site when you click on the button.

any ideas?

Thanks a bunch!
 
I have figured it out. If anyone needs the info, let me know.
 
Hi! jeannie322,

That's just what I want! What I try to do is call a web page(ASP) with some parameters. Could you me a favor show me how to do it? Thanks.

 
Sorry so long,

DECLARE
AppID PLS_INTEGER;
WebBrowser VARCHAR2(100) := 'C:\PROGRA~1\NETSCAPE\Communicator\PROGRAM\netscape.exe';
WebPage VARCHAR2(100) := 'BEGIN
AppID := DDE.App_Begin(WebBrowser || ' ' || WebPage, DDE.APP_MODE_NORMAL);
EXCEPTION
WHEN DDE.DDE_APP_FAILURE THEN
Message('Cannot start Netscape web browser');
END;

This works just great. if there are spaces in the web address (or file) it will not work. You can use a redirect page, and redirect the web page to your real web page. That is what I had to do in several cases.

Hope this helps!!
-Jeannie
 
Jeannie322

Thanks lot. I will try it soon. In fact, I already use ole2 to do the same function. However, I would like to know the difference between your code and ole2?

Thanks again.

hqlx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top