To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.mlcadOpen lugnet.cad.mlcad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / MLCad / 171
170  |  172
Subject: 
Re: MLCad Suggestions
Newsgroups: 
lugnet.cad.mlcad
Date: 
Tue, 22 Feb 2000 14:27:52 GMT
Viewed: 
2112 times
  
"Michael Lachmann" wrote...
- The "help" option results in "Online help is not available because MSIE4.0
or higher was not found".  Just tying it to the default browser would be
nice.

Bad thing, but it will not work, since I use a active-X control based on
MSIE4.0. However you should try to upgrade to a higher version of MSIE.

If it fails, you could try launching the user's preferred browser by calling:
   ShellExecute(0, "open", "MLCAD.htm", NULL, NULL, 0);
However, you will miss the Index and Contents buttons (which I cannot get to
work anyway (NT4/IE5))

You may need to provide the full path to MLCAD.htm.
The ShellExecute also works for URL's:

void LaunchInternetBrowser(char *Url)
{
   int Res;
   char Str[400];

   Res = (int) ShellExecute(0, "open", Url, NULL, NULL, 0);
   if (Res <= 32)
   {
      sprintf(Str, "Sorry, failed to launch Internet Browser with\n"
         "%s\nError=%d", Url, Res);
      AfxMessageBox(Str, MB_OK|MB_APPLMODAL|MB_ICONEXCLAMATION, 0);
   }
}
void CL3App::OnHelpInternetL3()
{
   LaunchInternetBrowser("http://www.netby.net/Nord/Mandelvej/Hassing/l3lab.html");
}

void CL3App::OnHelpInternetL3P()
{
   LaunchInternetBrowser("http://www.netby.net/Nord/Mandelvej/Hassing/l3p.html");
}

/Lars



Message has 1 Reply:
  Re: MLCad Suggestions
 
(...) Ok, thank you, I will implement this into the program. But wy does index and contents not work for you, or in which case? Michael (25 years ago, 22-Feb-00, to lugnet.cad.mlcad)

Message is in Reply To:
  Re: MLCad Suggestions
 
Please find below my comments .... (...) This should not be a problem, will try to make it ... (...) This is generally possible, but keep in mind that this might be a slower thing. (...) I will try something to make it better, and which works into (...) (25 years ago, 21-Feb-00, to lugnet.cad.mlcad)

18 Messages in This Thread:








Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR