Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
 
500MB 27GB Web Hosting - $9.95/Month
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
TitleMake copy, cut, and paste menus for a WebBrowser control
KeywordsWebBrowser, menu, copy, cut, paste
CategoriesUtilities, Controls, Internet
 
Place a WebBrowser cotrol on the form. Use the WebBrowser's ExecWB method to implement the copy, cut, and paste functions.
 
Private Sub mnuFileCopy_Click()
    WebBrowser1.ExecWB OLECMDID_COPY, _
        OLECMDEXECOPT_DODEFAULT
End Sub

Private Sub mnuFileCut_Click()
    WebBrowser1.ExecWB OLECMDID_CUT, OLECMDEXECOPT_DODEFAULT
End Sub

Private Sub mnuFilePaste_Click()
    WebBrowser1.ExecWB OLECMDID_PASTE, _
        OLECMDEXECOPT_DODEFAULT
End Sub
 
 
Copyright © 1997-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated