Results 1 to 15 of 15

Thread: Shell ie in form?

  1. #1

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Shell ie in form?

    How can i open iexplorer inside the form?
    like, instead of it happening in its own window, i want it to happen inside my program. another question, will i be able to view pictures will this, and will iexplorer.exe be in my taskmanager?

    im doing this to help out a website by clicking its ads, then killing the site, unfortunately, it opens a new window which wont let me click on it...

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Shell ie in form?

    Can't you use a web browser control? There will be an intance of IE in the task manager if you call it. I'm not sure if you can run it inside of a window on your form.

  3. #3

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Shell ie in form?

    hmm, then i wonder how ill do this. it cant show up in taskbar, thats my trouble

  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Shell ie in form?

    you don't want your program to show up in the taskbar, or IE?

  5. #5

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Shell ie in form?

    correct, i dont want it to show up in taskbar within my program..
    i doubt this will work...

    but any ideas on how to click on the add with the mouseclick api, close the popup windows and click again?..upon thinking..couldnt i kill the window by its name?

  6. #6
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Shell ie in form?

    If you used Fx, then you coud let AdBlock tell you the name of all of the images and ads on a page.

  7. #7

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Shell ie in form?

    whats fx

  8. #8
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Shell ie in form?

    FireFox

  9. #9

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Shell ie in form?

    ooh, i have mozilla, is that enough?

  10. #10
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Shell ie in form?

    go to their download page and see if you can get AdBlock. I don't know, but I think it is compatible. I downloaded about 20 add-ins when I got it last week. It works well.

    https://addons.update.mozilla.org/ex...0+&os=nt&id=10

    According to this, you need Fx v1.0. I recommend it. It is pretty neat.

  11. #11

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Shell ie in form?

    thx, i got another question, (they told me to not do this project because it could potentially ruin the host), so i tried this code
    VB Code:
    1. Private sub form_load()
    2. x=0
    3. call zero
    4. end sub
    5.  
    6. private sub zero()
    7. while x=0
    8. text1.text = text1.text + 1
    9. wend
    10. end sub

    and i think it works, but it like does it constantly, so it doesnt load the form and eventually i have to kill vb6, any better ways without a timer?

  12. #12
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Shell ie in form?

    What are you trying to do? You shouldn't add to a text field. it will be slow. you would be better off using a variable that is numeric. If you want to end the code, just check to see if text1 = 4000 or something like that. if it is, then set x to 1, and the loop will stop.
    VB Code:
    1. option explicit
    2. dim x as integer
    3. dim z as long
    4.  
    5. Private sub form_load()
    6.   x=0
    7.   z=0
    8.   do while x=0
    9.     call zero
    10.   loop
    11. end sub
    12.  
    13. private sub zero()
    14.   z=z+1
    15.   if z=4000 then x=1
    16.   text1.text = z
    17. end sub

  13. #13

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Shell ie in form?

    well i want text1.text to add to itself every second (easy with a timer) but im just trying new things, ill try that code later, thx

  14. #14
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Shell ie in form?

    use a timer, and enable it and disable it programmatically
    set the interval to one second, and count the seconds.

  15. #15

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Shell ie in form?

    lol i know how to do it with a timer..im a master of textboxes

    just wondering new ways

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