Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Rhapsody Webify Tip
Topic Summary:
Created On: 27-Jul-2004 17:24
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 27-Jul-2004 17:24
User is offline View Users Profile Print this message


Justin DYER

Posts: 548
Joined: 30-Jun-2004

Hello All,
To have your web enabled application automatically pop up your default web browser with the correct URL, do the following:

1. Add the following include to you configuration main file:

#include "shellapi.h"


2. Add the following code to the configuration initialization field:

ShellExecute(NULL,"open", "http://localhost/", "", "c:\\", SW_SHOWNORMAL);


3. Make sure you link in the shell32.lib library.


Justin Dyer
Application Engineer
I-Logix, Inc.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.