I managed to find the answer to my own question and figured I'd post it in case anyone else needs it. First you set a reference in the project to Microsoft HTML Object Library. Then use the following code where BrowCtl is the name of your WebBrowser control:
'Declare a variable for the...
How can I disable the context menu in the WebBrowser control? I'm using this control in a VB6 application to display an HTML file, but I don't want the user to get the context menu if they happen to right click on the control. Thanks.
I think this will help me. Thanks for the input. Is there any way to make a template html file for output so that not everything (headers, etc.) has to be written each time? Thanks.
I have a VB6 application that logs values to a text file. I want to log to an HTML file instead. This file can be opened and viewed by the user at any time during the running of the application. Additional items may need to be written to the file after it is viewed so these lines would need...
I'm running BCB6. After installing FarPoint Spread (spreadsheet component), I get the following error in my project:
"This application has failed to start because FarpointSpread.bpl was not found. Re-installing the application may fix this problem."
When I dismiss the error message...
Yes! By stripping the name of the empty directory off the path and using the resulting string as the target, I was able to set the current dirctory to the next level up. After that I could delete the empty directory. The 'ChDir..' syntax doesn't work though. (If I understand you correctly...
Ok, so now I have a path to this empty folder, and I want to delete the folder. Since it's the current directory, RmDir doesn't work. I've tried using ChDir to change the current directory, but it doesn't do anything. Any ideas how I can change the current directory so I can delete the empty...
If a user selects an empty folder in the File Open common dialog, is there any way to get the path of that folder? I can get it from the filename property of the common dialog if there is a file, but if the filename property is "", I can't seem to get the path of the folder. Thanks.
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.