I've experienced this strange behaviour with other languages and other IDE than C++ and BCB so I think it's an Os related "feature". Win 2000 and XP (perhaps also Win ME),in fact, have a different method of handling "initial directory" than Win 98. Those OSs remember the last...
1. Check if the IE location (c:\\progra..) is correct.
2. Try to call the function with "Handle" parameter (I assume you are using BCB!!!). Like this:
ShellExecute(Handle,"open","C:\\Program Files\\Internet Explorer\\iexplore.exe",NULL,NULL,SW_SHOWDEFAULT);
3...
At the beginning of the onClick event for the listbox (I assume it is called ListBox1) insert this code:
if (ListBox1->Items[ListBox1->ItemIndex] == "")
{
//Show a message (Optional)
ShowMessage("Error!");
//exit from the function
return;
}
// else...
My code was just a sample! Your code must be
TEditBox *Child;
Child = (TEditBox *)MDIChildren[0];
Child->RichEdit1->Lines->SaveToFile(SaveDialog1->FileName);
This should be done in Main Parent form otherwise MDIChilder property will not exists (but from the error I guess you are already in...
All you have to do is allocate a new pointer to child form and make it pointing to the currently active child form, for example:
TMDIChild *Child;
Child = (TMDIChild *)MDIChildren[0];
then you can use everythingh is on the child form as you normally would!!!
Child->RichEdit1->...
Bye...
I think so! As you go in "screensaver-mode" all key combination "Windows related" are disabled but by default a FORM in BCB can be closed by ALT+F4 (to disable read the borland community faq).
Try with the couple of program Inno Setup and Script Maker. The last is the "RAD" for the first, the real setup program.
Here the links:
1)http://www.jrsoftware.org/isdl.htm
2)http://www.tafweb.com/scriptmaker.html
There are a lot of people out there making a Web Browser ... me too. Anybody knows how to retrieve the URL of an address to be opened in another window (this happens if the user click "open in new window" in the right-button popup menu).
Thanks
If you are talking about CppWebBrowser component in C++ Builder 5 don't worry. I'm developing a web browser and the 404 error does not seem to create problems to the application.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.