Results 1 to 2 of 2

Thread: browser probs...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2001
    Posts
    77

    browser probs...

    hey guys....two things:
    1)give me a source code for printing the page the user is surfing on ...please
    2)i have a list of sites i want to block and a combo for the adress.
    please give me a source code of how i can do combo.text=list.text because i don't know what to do...the list has alot of values and i need to check every line...kinda of seraching the list until it findes combo.text....
    help me please!
    thanks
    VBarak
    VBarak

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Issue 1 :

    VB Code:
    1. Sub PRINTROUTINE()
    2.    
    3.     On Error Resume Next
    4.    
    5.     Dim eQuery As OLECMDF
    6.    
    7.     eQuery = Me.brwWebBrowser.QueryStatusWB(OLECMDID_PRINT)
    8.    
    9.     If Err.Number = 0 Then
    10.        
    11.         If eQuery And OLECMDF_ENABLED Then
    12.            
    13.             Me.brwWebBrowser.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, "", ""
    14.        
    15.         Else
    16.            
    17.             MsgBox "Printer Not Found or No Contents in Webbrowser"
    18.        
    19.         End If
    20.    
    21.     End If
    22.  
    23. End Sub
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width